; LLVM IR from facebook/redex :: service/method-inliner (Inliner)

; 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.cfg::InstructionIterableImpl.1242" = type { ptr }
%"class.cfg::InstructionIteratorImpl.1243" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl.1244" }
%"class.ir_list::InstructionIteratorImpl.1244" = type { %"class.boost::intrusive::list_iterator.1245", %"class.boost::intrusive::list_iterator.1245" }
%"class.boost::intrusive::list_iterator.1245" = type { %"struct.boost::intrusive::iiterator_members" }
%"class.std::unique_ptr.744" = type { %"struct.std::__uniq_ptr_data.745" }
%"struct.std::__uniq_ptr_data.745" = type { %"class.std::__uniq_ptr_impl.746" }
%"class.std::__uniq_ptr_impl.746" = type { %"class.std::tuple.747" }
%"class.std::tuple.747" = type { %"struct.std::_Tuple_impl.748" }
%"struct.std::_Tuple_impl.748" = type { %"struct.std::_Head_base.751" }
%"struct.std::_Head_base.751" = type { ptr }
%"class.std::unique_ptr.799" = type { %"struct.std::__uniq_ptr_data.800" }
%"struct.std::__uniq_ptr_data.800" = type { %"class.std::__uniq_ptr_impl.801" }
%"class.std::__uniq_ptr_impl.801" = type { %"class.std::tuple.802" }
%"class.std::tuple.802" = type { %"struct.std::_Tuple_impl.803" }
%"struct.std::_Tuple_impl.803" = type { %"struct.std::_Head_base.806" }
%"struct.std::_Head_base.806" = type { ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.790 }
%"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.790 = type { ptr }

@.str.14 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b = external hidden unnamed_addr constant [153 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: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, i1 noundef zeroext %8) #4 personality ptr @__gxx_personality_v0 {
  %10 = alloca i1, align 1
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i8, align 1
  %28 = alloca ptr, align 8
  %29 = alloca %"class.cfg::InstructionIterableImpl.1242", align 8
  %30 = alloca %"class.cfg::InstructionIteratorImpl.1243", align 8
  %31 = alloca %"class.cfg::InstructionIteratorImpl.1243", align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.std::unique_ptr.744", align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.boost::intrusive::list_iterator", align 8
  %37 = alloca %"class.std::unique_ptr.799", align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store i64 %5, ptr %16, align 8, !tbaa !9
  store ptr %6, ptr %17, align 8, !tbaa !5
  store ptr %7, ptr %18, align 8, !tbaa !5
  %38 = zext i1 %8 to i8
  store i8 %38, ptr %19, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %39)
  store ptr %40, ptr %20, align 8, !tbaa !5
  %41 = load ptr, ptr %20, align 8, !tbaa !5
  %42 = call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %41)
  br i1 %42, label %43, label %44

43:                                               ; preds = %9
  br label %46

44:                                               ; preds = %9
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.65, ptr noundef @.str.14, i32 noundef 2626, ptr noundef @__PRETTY_FUNCTION__._ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b, i32 noundef 2, ptr noundef @.str.15) #8
  unreachable

45:                                               ; No predecessors!
  br label %46

46:                                               ; preds = %45, %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %47 = load ptr, ptr %20, align 8, !tbaa !5
  %48 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %47)
  store ptr %48, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #7
  %49 = load ptr, ptr %21, align 8, !tbaa !5
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %23, ptr noundef nonnull align 8 dereferenceable(160) %49, ptr noundef %50, ptr noundef null)
  store ptr %23, ptr %22, align 8, !tbaa !5
  %51 = load ptr, ptr %22, align 8, !tbaa !5
  %52 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %51)
  br i1 %52, label %53, label %54

53:                                               ; preds = %46
  store i1 false, ptr %10, align 1
  store i32 1, ptr %24, align 4
  br label %144

54:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %55)
  store ptr %56, ptr %25, align 8, !tbaa !5
  %57 = load ptr, ptr %25, align 8, !tbaa !5
  %58 = call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %57)
  br i1 %58, label %59, label %60

59:                                               ; preds = %54
  br label %62

60:                                               ; preds = %54
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.58, ptr noundef @.str.14, i32 noundef 2640, ptr noundef @__PRETTY_FUNCTION__._ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b, i32 noundef 2, ptr noundef @.str.15) #8
  unreachable

61:                                               ; No predecessors!
  br label %62

62:                                               ; preds = %61, %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %67

65:                                               ; preds = %62
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  br label %70

67:                                               ; preds = %62
  %68 = load ptr, ptr %25, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %68)
  br label %70

70:                                               ; preds = %67, %65
  %71 = phi ptr [ %66, %65 ], [ %69, %67 ]
  store ptr %71, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  store i8 1, ptr %27, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %72 = load ptr, ptr %26, align 8, !tbaa !5
  %73 = call ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %72)
  %74 = getelementptr inbounds %"class.cfg::InstructionIterableImpl.1242", ptr %29, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  store ptr %29, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #7
  %75 = load ptr, ptr %28, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl.1243") align 8 %30, ptr noundef nonnull align 8 dereferenceable(8) %75)
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #7
  %76 = load ptr, ptr %28, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl.1243") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %76)
  br label %77

77:                                               ; preds = %99, %70
  %78 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %31)
  br i1 %78, label %80, label %79

79:                                               ; preds = %77
  store i32 2, ptr %24, align 4
  br label %101

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %81 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
  store ptr %81, ptr %32, align 8, !tbaa !5
  %82 = load ptr, ptr %32, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.MethodItemEntry, ptr %82, i32 0, i32 2
  %84 = load ptr, ptr %83, align 8, !tbaa !13
  %85 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %84)
  %86 = zext i16 %85 to i32
  %87 = icmp ne i32 %86, 8
  br i1 %87, label %88, label %95

88:                                               ; preds = %80
  %89 = load ptr, ptr %32, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.MethodItemEntry, ptr %89, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  %92 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %91)
  %93 = call noundef zeroext i1 @_ZN6opcode13is_load_paramE8IROpcode(i16 noundef zeroext %92)
  br i1 %93, label %95, label %94

94:                                               ; preds = %88
  store i8 0, ptr %27, align 1, !tbaa !11
  store i32 2, ptr %24, align 4
  br label %96

95:                                               ; preds = %88, %80
  store i32 0, ptr %24, align 4
  br label %96

96:                                               ; preds = %95, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  %97 = load i32, ptr %24, align 4
  switch i32 %97, label %101 [
    i32 0, label %98
  ]

98:                                               ; preds = %96
  br label %99

99:                                               ; preds = %98
  %100 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
  br label %77

101:                                              ; preds = %96, %79
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %102

102:                                              ; preds = %101
  %103 = load i8, ptr %27, align 1, !tbaa !11, !range !14, !noundef !15
  %104 = trunc i8 %103 to i1
  br i1 %104, label %105, label %108

105:                                              ; preds = %102
  %106 = load ptr, ptr %21, align 8, !tbaa !5
  %107 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN3cfg16ControlFlowGraph11remove_insnERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(160) %106, ptr noundef nonnull align 8 dereferenceable(32) %107)
  store i1 true, ptr %10, align 1
  store i32 1, ptr %24, align 4
  br label %142

108:                                              ; preds = %102
  %109 = load ptr, ptr %20, align 8, !tbaa !5
  %110 = call noundef ptr @_ZN6IRCode14get_debug_itemEv(ptr noundef nonnull align 8 dereferenceable(32) %109)
  %111 = icmp eq ptr %110, null
  br i1 %111, label %112, label %130

112:                                              ; preds = %108
  %113 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZSt11make_uniqueI12DexDebugItemJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.744") align 8 %33)
  invoke void @_ZN6IRCode14set_debug_itemESt10unique_ptrI12DexDebugItemSt14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %113, ptr noundef %33)
          to label %114 unwind label %122

114:                                              ; preds = %112
  call void @_ZNSt10unique_ptrI12DexDebugItemSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = load ptr, ptr %21, align 8, !tbaa !5
  %117 = call noundef ptr @_ZNK3cfg16ControlFlowGraph11entry_blockEv(ptr noundef nonnull align 8 dereferenceable(160) %116)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %118 = load ptr, ptr %21, align 8, !tbaa !5
  %119 = call noundef ptr @_ZNK3cfg16ControlFlowGraph11entry_blockEv(ptr noundef nonnull align 8 dereferenceable(160) %118)
  call void @_ZN3cfg5Block32get_first_non_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %36, ptr noundef nonnull align 8 dereferenceable(104) %119)
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11DexPosition29make_synthetic_entry_positionEPK9DexMethod(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.799") align 8 %37, ptr noundef %120)
  invoke void @_ZN3cfg16ControlFlowGraph13insert_beforeEPNS_5BlockERKN5boost9intrusive13list_iteratorINS4_8mhtraitsI15MethodItemEntryNS4_16list_member_hookIJEEEXadL_ZNS7_10list_hook_EEEEELb0EEESt10unique_ptrI11DexPositionSt14default_deleteISF_EE(ptr noundef nonnull align 8 dereferenceable(160) %115, ptr noundef %117, ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %37)
          to label %121 unwind label %126

121:                                              ; preds = %114
  call void @_ZNSt10unique_ptrI11DexPositionSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %130

122:                                              ; preds = %112
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %34, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %35, align 4
  call void @_ZNSt10unique_ptrI12DexDebugItemSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br label %143

126:                                              ; preds = %114
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %34, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %35, align 4
  call void @_ZNSt10unique_ptrI11DexPositionSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %143

130:                                              ; preds = %121, %108
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN12opt_metadata7log_optE9OptReasonPK9DexMethodPK13IRInstruction(i32 noundef 0, ptr noundef %131, ptr noundef %132)
  %133 = load ptr, ptr %21, align 8, !tbaa !5
  %134 = load ptr, ptr %22, align 8, !tbaa !5
  %135 = load ptr, ptr %14, align 8, !tbaa !5
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = load ptr, ptr %26, align 8, !tbaa !5
  %138 = load i64, ptr %16, align 8, !tbaa !9
  %139 = load ptr, ptr %18, align 8, !tbaa !5
  %140 = load i8, ptr %19, align 1, !tbaa !11, !range !14, !noundef !15
  %141 = trunc i8 %140 to i1
  call void @_ZN3cfg10CFGInliner10inline_cfgEPNS_16ControlFlowGraphERKNS_23InstructionIteratorImplILb0EEEP7DexTypeS8_RKS1_mP9DexMethodb(ptr noundef %133, ptr noundef nonnull align 8 dereferenceable(32) %134, ptr noundef %135, ptr noundef %136, ptr noundef nonnull align 8 dereferenceable(160) %137, i64 noundef %138, ptr noundef %139, i1 noundef zeroext %141)
  store i1 true, ptr %10, align 1
  store i32 1, ptr %24, align 4
  br label %142

142:                                              ; preds = %130, %105
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %144

143:                                              ; preds = %126, %122
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %146

144:                                              ; preds = %142, %53
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  %145 = load i1, ptr %10, align 1
  ret i1 %145

146:                                              ; preds = %143
  %147 = load ptr, ptr %34, align 8
  %148 = load i32, ptr %35, align 4
  %149 = insertvalue { ptr, i32 } poison, ptr %147, 0
  %150 = insertvalue { ptr, i32 } %149, i32 %148, 1
  resume { ptr, i32 } %150
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) #5

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

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

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

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

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

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

declare void @_ZN3cfg16ControlFlowGraph11remove_insnERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueI12DexDebugItemJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.744") align 8) #5

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

declare void @_ZN3cfg16ControlFlowGraph13insert_beforeEPNS_5BlockERKN5boost9intrusive13list_iteratorINS4_8mhtraitsI15MethodItemEntryNS4_16list_member_hookIJEEEXadL_ZNS7_10list_hook_EEEEELb0EEESt10unique_ptrI11DexPositionSt14default_deleteISF_EE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

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

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

declare void @_ZN11DexPosition29make_synthetic_entry_positionEPK9DexMethod(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.799") align 8, ptr noundef) #3

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

declare void @_ZN12opt_metadata7log_optE9OptReasonPK9DexMethodPK13IRInstruction(i32 noundef, ptr noundef, ptr noundef) #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}


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

%"class.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.cfg::InstructionIterableImpl.1242" = type { ptr }
%"class.cfg::InstructionIteratorImpl.1243" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl.1244" }
%"class.ir_list::InstructionIteratorImpl.1244" = type { %"class.boost::intrusive::list_iterator.1245", %"class.boost::intrusive::list_iterator.1245" }
%"class.boost::intrusive::list_iterator.1245" = type { %"struct.boost::intrusive::iiterator_members" }
%"class.std::unique_ptr.744" = type { %"struct.std::__uniq_ptr_data.745" }
%"struct.std::__uniq_ptr_data.745" = type { %"class.std::__uniq_ptr_impl.746" }
%"class.std::__uniq_ptr_impl.746" = type { %"class.std::tuple.747" }
%"class.std::tuple.747" = type { %"struct.std::_Tuple_impl.748" }
%"struct.std::_Tuple_impl.748" = type { %"struct.std::_Head_base.751" }
%"struct.std::_Head_base.751" = type { ptr }
%"class.std::unique_ptr.799" = type { %"struct.std::__uniq_ptr_data.800" }
%"struct.std::__uniq_ptr_data.800" = type { %"class.std::__uniq_ptr_impl.801" }
%"class.std::__uniq_ptr_impl.801" = type { %"class.std::tuple.802" }
%"class.std::tuple.802" = type { %"struct.std::_Tuple_impl.803" }
%"struct.std::_Tuple_impl.803" = type { %"struct.std::_Head_base.806" }
%"struct.std::_Head_base.806" = type { ptr }

@.str.14 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b = external hidden unnamed_addr constant [153 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: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, i1 noundef zeroext %8) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %11 = alloca %"class.cfg::InstructionIterableImpl.1242", align 8
  %12 = alloca %"class.cfg::InstructionIteratorImpl.1243", align 8
  %13 = alloca %"class.cfg::InstructionIteratorImpl.1243", align 8
  %14 = alloca %"class.std::unique_ptr.744", align 8
  %15 = alloca %"class.boost::intrusive::list_iterator", align 8
  %16 = alloca %"class.std::unique_ptr.799", align 8
  %17 = tail call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %0)
  %18 = tail call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
  br i1 %18, label %20, label %19

19:                                               ; preds = %9
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.65, ptr noundef nonnull @.str.14, i32 noundef 2626, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b, i32 noundef 2, ptr noundef nonnull @.str.15) #7
  unreachable

20:                                               ; preds = %9
  %21 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  call void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %10, ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef %2, ptr noundef null)
  %22 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br i1 %22, label %54, label %23

23:                                               ; preds = %20
  %24 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %25 = call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %24)
  br i1 %25, label %27, label %26

26:                                               ; preds = %23
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.14, i32 noundef 2640, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7inliner15inline_with_cfgEP9DexMethodS1_P13IRInstructionP7DexTypeS5_mPKN3cfg16ControlFlowGraphES1_b, i32 noundef 2, ptr noundef nonnull @.str.15) #7
  unreachable

27:                                               ; preds = %23
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %28, label %30

28:                                               ; preds = %27
  %29 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %24)
  br label %30

30:                                               ; preds = %27, %28
  %31 = phi ptr [ %29, %28 ], [ %6, %27 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %32 = call ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %31)
  store ptr %32, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #8
  call void @_ZN3cfg23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl.1243") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  call void @_ZN3cfg23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl.1243") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %33 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %13)
  br i1 %33, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %30, %44
  %34 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %35 = getelementptr inbounds i8, ptr %34, i64 24
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
  %.not41 = icmp eq i16 %37, 8
  br i1 %.not41, label %44, label %38

38:                                               ; preds = %.lr.ph
  %39 = load ptr, ptr %35, align 8, !tbaa !5
  %40 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %39)
  %41 = call noundef zeroext i1 @_ZN6opcode13is_load_paramE8IROpcode(i16 noundef zeroext %40)
  br i1 %41, label %44, label %.thread45

.thread45:                                        ; preds = %38
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %42 = call noundef ptr @_ZN6IRCode14get_debug_itemEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
  %43 = icmp eq ptr %42, null
  br i1 %43, label %47, label %53

44:                                               ; preds = %.lr.ph, %38
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %46 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %13)
  br i1 %46, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %44, %30
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @_ZN3cfg16ControlFlowGraph11remove_insnERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %54

47:                                               ; preds = %.thread45
  call void @_ZSt11make_uniqueI12DexDebugItemJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.744") align 8 %14)
  call void @_ZN6IRCode14set_debug_itemESt10unique_ptrI12DexDebugItemSt14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull %14)
  call void @_ZNSt10unique_ptrI12DexDebugItemSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %48 = call noundef ptr @_ZNK3cfg16ControlFlowGraph11entry_blockEv(ptr noundef nonnull align 8 dereferenceable(160) %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %49 = call noundef ptr @_ZNK3cfg16ControlFlowGraph11entry_blockEv(ptr noundef nonnull align 8 dereferenceable(160) %21)
  call void @_ZN3cfg5Block32get_first_non_param_loading_insnEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %15, ptr noundef nonnull align 8 dereferenceable(104) %49)
  call void @_ZN11DexPosition29make_synthetic_entry_positionEPK9DexMethod(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.799") align 8 %16, ptr noundef nonnull %0)
  invoke void @_ZN3cfg16ControlFlowGraph13insert_beforeEPNS_5BlockERKN5boost9intrusive13list_iteratorINS4_8mhtraitsI15MethodItemEntryNS4_16list_member_hookIJEEEXadL_ZNS7_10list_hook_EEEEELb0EEESt10unique_ptrI11DexPositionSt14default_deleteISF_EE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef %48, ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull %16)
          to label %50 unwind label %51

50:                                               ; preds = %47
  call void @_ZNSt10unique_ptrI11DexPositionSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %53

51:                                               ; preds = %47
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrI11DexPositionSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  resume { ptr, i32 } %52

53:                                               ; preds = %50, %.thread45
  call void @_ZN12opt_metadata7log_optE9OptReasonPK9DexMethodPK13IRInstruction(i32 noundef 0, ptr noundef nonnull %0, ptr noundef %2)
  call void @_ZN3cfg10CFGInliner10inline_cfgEPNS_16ControlFlowGraphERKNS_23InstructionIteratorImplILb0EEEP7DexTypeS8_RKS1_mP9DexMethodb(ptr noundef nonnull %21, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef %3, ptr noundef %4, ptr noundef nonnull align 8 dereferenceable(160) %31, i64 noundef %5, ptr noundef %7, i1 noundef zeroext %8)
  br label %54

54:                                               ; preds = %._crit_edge, %53, %20
  %.1 = xor i1 %22, true
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  ret i1 %.1
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #5

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

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

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

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

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

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

declare void @_ZN3cfg16ControlFlowGraph11remove_insnERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueI12DexDebugItemJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.744") align 8) local_unnamed_addr #5

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

declare void @_ZN3cfg16ControlFlowGraph13insert_beforeEPNS_5BlockERKN5boost9intrusive13list_iteratorINS4_8mhtraitsI15MethodItemEntryNS4_16list_member_hookIJEEEXadL_ZNS7_10list_hook_EEEEELb0EEESt10unique_ptrI11DexPositionSt14default_deleteISF_EE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

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

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

declare void @_ZN11DexPosition29make_synthetic_entry_positionEPK9DexMethod(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.799") align 8, ptr noundef) local_unnamed_addr #3

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

declare void @_ZN12opt_metadata7log_optE9OptReasonPK9DexMethodPK13IRInstruction(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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


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