; LLVM IR from facebook/redex :: libredex/IRAssembler.ll (ZN9assembler18method_from_s_exprERKN6sparta6s_exprE)

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

%"class.std::unique_ptr.147" = type { %"struct.std::__uniq_ptr_data.148" }
%"struct.std::__uniq_ptr_data.148" = type { %"class.std::__uniq_ptr_impl.149" }
%"class.std::__uniq_ptr_impl.149" = type { %"class.std::tuple.150" }
%"class.std::tuple.150" = type { %"struct.std::_Tuple_impl.151" }
%"struct.std::_Tuple_impl.151" = type { %"struct.std::_Head_base.154" }
%"struct.std::_Head_base.154" = type { ptr }
%"class.sparta::s_expr" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"class.sparta::s_patn" = type { %"class.boost::intrusive_ptr.155" }
%"class.boost::intrusive_ptr.155" = type { ptr }
%"class.std::initializer_list.156" = type { ptr, i64 }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.180 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.243 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.244 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.245 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN9assembler18method_from_s_exprERKN6sparta6s_exprE = external hidden unnamed_addr constant [57 x i8], align 1
@.str.247 = external hidden unnamed_addr constant [23 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9assembler18ircode_from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.147") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8), ptr, i64, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN9assembler18method_from_s_exprERKN6sparta6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %0) #4 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.sparta::s_expr", align 8
  %4 = alloca %"class.sparta::s_patn", align 8
  %5 = alloca %"class.std::initializer_list.156", align 8
  %6 = alloca [1 x %"class.sparta::s_patn"], align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"class.sparta::s_expr", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.sparta::s_patn", align 8
  %14 = alloca %"class.std::initializer_list.156", align 8
  %15 = alloca [2 x %"class.sparta::s_patn"], align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.std::basic_string_view", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::basic_string_view", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::basic_string_view", align 8
  %22 = alloca %"class.std::basic_string_view", align 8
  %23 = alloca %"class.std::basic_string_view", align 8
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca %"class.sparta::s_expr", align 8
  %26 = alloca %"class.sparta::s_patn", align 8
  %27 = alloca %"class.std::initializer_list.156", align 8
  %28 = alloca [1 x %"class.sparta::s_patn"], align 8
  %29 = alloca ptr, align 8
  %30 = alloca i8, align 1
  %31 = alloca %"class.std::unique_ptr.147", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  store ptr %6, ptr %7, align 8
  invoke void @_ZN6sparta6s_patnC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef @.str.241)
          to label %32 unwind label %129

32:                                               ; preds = %1
  %33 = getelementptr inbounds %"class.std::initializer_list.156", ptr %5, i32 0, i32 0
  store ptr %6, ptr %33, align 8, !tbaa !9
  %34 = getelementptr inbounds %"class.std::initializer_list.156", ptr %5, i32 0, i32 1
  store i64 1, ptr %34, align 8, !tbaa !12
  %35 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8
  %37 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  %38 = load i64, ptr %37, align 8
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr %36, i64 %38, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %39 unwind label %140

39:                                               ; preds = %32
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.242) #7
  %41 = getelementptr inbounds { i64, ptr }, ptr %10, i32 0, i32 0
  %42 = load i64, ptr %41, align 8
  %43 = getelementptr inbounds { i64, ptr }, ptr %10, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8
  invoke void @_ZN6sparta6s_patn10must_matchERKNS_6s_exprESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %40, i64 %42, ptr %44)
          to label %45 unwind label %144

45:                                               ; preds = %39
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %46 = getelementptr inbounds [1 x %"class.sparta::s_patn"], ptr %6, i32 0, i32 0
  %47 = getelementptr inbounds %"class.sparta::s_patn", ptr %46, i64 1
  br label %48

48:                                               ; preds = %48, %45
  %49 = phi ptr [ %47, %45 ], [ %50, %48 ]
  %50 = getelementptr inbounds %"class.sparta::s_patn", ptr %49, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  %51 = icmp eq ptr %50, %46
  br i1 %51, label %52, label %48

52:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %53 unwind label %157

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  store ptr %15, ptr %16, align 8
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %54 unwind label %161

54:                                               ; preds = %53
  %55 = getelementptr inbounds %"class.sparta::s_patn", ptr %15, i64 1
  store ptr %55, ptr %16, align 8
  invoke void @_ZN6sparta6s_patnC2EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef %12)
          to label %56 unwind label %161

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"class.std::initializer_list.156", ptr %14, i32 0, i32 0
  store ptr %15, ptr %57, align 8, !tbaa !9
  %58 = getelementptr inbounds %"class.std::initializer_list.156", ptr %14, i32 0, i32 1
  store i64 2, ptr %58, align 8, !tbaa !12
  %59 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8
  %61 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %62 = load i64, ptr %61, align 8
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr %60, i64 %62, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %63 unwind label %172

63:                                               ; preds = %56
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef @.str.243) #7
  %64 = getelementptr inbounds { i64, ptr }, ptr %17, i32 0, i32 0
  %65 = load i64, ptr %64, align 8
  %66 = getelementptr inbounds { i64, ptr }, ptr %17, i32 0, i32 1
  %67 = load ptr, ptr %66, align 8
  invoke void @_ZN6sparta6s_patn10must_matchERKNS_6s_exprESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %3, i64 %65, ptr %67)
          to label %68 unwind label %176

68:                                               ; preds = %63
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %69 = getelementptr inbounds [2 x %"class.sparta::s_patn"], ptr %15, i32 0, i32 0
  %70 = getelementptr inbounds %"class.sparta::s_patn", ptr %69, i64 2
  br label %71

71:                                               ; preds = %71, %68
  %72 = phi ptr [ %70, %68 ], [ %73, %71 ]
  %73 = getelementptr inbounds %"class.sparta::s_patn", ptr %72, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  %74 = icmp eq ptr %73, %69
  br i1 %74, label %75, label %71

75:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %76 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  %77 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 0
  %78 = extractvalue { i64, ptr } %76, 0
  store i64 %78, ptr %77, align 8
  %79 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 1
  %80 = extractvalue { i64, ptr } %76, 1
  store ptr %80, ptr %79, align 8
  %81 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 0
  %82 = load i64, ptr %81, align 8
  %83 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8
  %85 = invoke noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64 %82, ptr %84)
          to label %86 unwind label %189

86:                                               ; preds = %75
  store ptr %85, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %87 = invoke noundef i32 @_ZN9assembler12_GLOBAL__N_118parse_access_flagsERKN6sparta6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %88 unwind label %193

88:                                               ; preds = %86
  store i32 %87, ptr %20, align 4, !tbaa !13
  %89 = load ptr, ptr %18, align 8, !tbaa !5
  %90 = invoke noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %89)
          to label %91 unwind label %193

91:                                               ; preds = %88
  %92 = invoke { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16) %90)
          to label %93 unwind label %193

93:                                               ; preds = %91
  %94 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 0
  %95 = extractvalue { i64, ptr } %92, 0
  store i64 %95, ptr %94, align 8
  %96 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 1
  %97 = extractvalue { i64, ptr } %92, 1
  store ptr %97, ptr %96, align 8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef @.str.244) #7
  %98 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 0
  %99 = load i64, ptr %98, align 8
  %100 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8
  %102 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 0
  %103 = load i64, ptr %102, align 8
  %104 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8
  %106 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %99, ptr %101, i64 %103, ptr %105) #7
  br i1 %106, label %126, label %107

107:                                              ; preds = %93
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = invoke noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %108)
          to label %110 unwind label %193

110:                                              ; preds = %107
  %111 = invoke { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16) %109)
          to label %112 unwind label %193

112:                                              ; preds = %110
  %113 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 0
  %114 = extractvalue { i64, ptr } %111, 0
  store i64 %114, ptr %113, align 8
  %115 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 1
  %116 = extractvalue { i64, ptr } %111, 1
  store ptr %116, ptr %115, align 8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef @.str.245) #7
  %117 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 0
  %118 = load i64, ptr %117, align 8
  %119 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 1
  %120 = load ptr, ptr %119, align 8
  %121 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 0
  %122 = load i64, ptr %121, align 8
  %123 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 1
  %124 = load ptr, ptr %123, align 8
  %125 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %118, ptr %120, i64 %122, ptr %124) #7
  br i1 %125, label %126, label %197

126:                                              ; preds = %112, %93
  %127 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZoRR14DexAccessFlagsS_(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef 65536)
          to label %128 unwind label %193

128:                                              ; preds = %126
  br label %197

129:                                              ; preds = %1
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %8, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %9, align 4
  %133 = load ptr, ptr %7, align 8
  %134 = icmp eq ptr %6, %133
  br i1 %134, label %139, label %135

135:                                              ; preds = %135, %129
  %136 = phi ptr [ %133, %129 ], [ %137, %135 ]
  %137 = getelementptr inbounds %"class.sparta::s_patn", ptr %136, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %137) #7
  %138 = icmp eq ptr %137, %6
  br i1 %138, label %139, label %135

139:                                              ; preds = %135, %129
  br label %156

140:                                              ; preds = %32
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %8, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %9, align 4
  br label %148

144:                                              ; preds = %39
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %8, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %9, align 4
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br label %148

148:                                              ; preds = %144, %140
  %149 = getelementptr inbounds [1 x %"class.sparta::s_patn"], ptr %6, i32 0, i32 0
  %150 = getelementptr inbounds %"class.sparta::s_patn", ptr %149, i64 1
  br label %151

151:                                              ; preds = %151, %148
  %152 = phi ptr [ %150, %148 ], [ %153, %151 ]
  %153 = getelementptr inbounds %"class.sparta::s_patn", ptr %152, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %153) #7
  %154 = icmp eq ptr %153, %149
  br i1 %154, label %155, label %151

155:                                              ; preds = %151
  br label %156

156:                                              ; preds = %155, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %296

157:                                              ; preds = %52
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %8, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %9, align 4
  br label %295

161:                                              ; preds = %54, %53
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %8, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %9, align 4
  %165 = load ptr, ptr %16, align 8
  %166 = icmp eq ptr %15, %165
  br i1 %166, label %171, label %167

167:                                              ; preds = %167, %161
  %168 = phi ptr [ %165, %161 ], [ %169, %167 ]
  %169 = getelementptr inbounds %"class.sparta::s_patn", ptr %168, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %169) #7
  %170 = icmp eq ptr %169, %15
  br i1 %170, label %171, label %167

171:                                              ; preds = %167, %161
  br label %188

172:                                              ; preds = %56
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %8, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %9, align 4
  br label %180

176:                                              ; preds = %63
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %8, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %9, align 4
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br label %180

180:                                              ; preds = %176, %172
  %181 = getelementptr inbounds [2 x %"class.sparta::s_patn"], ptr %15, i32 0, i32 0
  %182 = getelementptr inbounds %"class.sparta::s_patn", ptr %181, i64 2
  br label %183

183:                                              ; preds = %183, %180
  %184 = phi ptr [ %182, %180 ], [ %185, %183 ]
  %185 = getelementptr inbounds %"class.sparta::s_patn", ptr %184, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %185) #7
  %186 = icmp eq ptr %185, %181
  br i1 %186, label %187, label %183

187:                                              ; preds = %183
  br label %188

188:                                              ; preds = %187, %171
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %294

189:                                              ; preds = %75
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %8, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %9, align 4
  br label %293

193:                                              ; preds = %126, %110, %107, %91, %88, %86
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %8, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %9, align 4
  br label %292

197:                                              ; preds = %128, %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %198 unwind label %221

198:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  store ptr %28, ptr %29, align 8
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %199 unwind label %225

199:                                              ; preds = %198
  %200 = getelementptr inbounds %"class.std::initializer_list.156", ptr %27, i32 0, i32 0
  store ptr %28, ptr %200, align 8, !tbaa !9
  %201 = getelementptr inbounds %"class.std::initializer_list.156", ptr %27, i32 0, i32 1
  store i64 1, ptr %201, align 8, !tbaa !12
  %202 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %203 = load ptr, ptr %202, align 8
  %204 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %205 = load i64, ptr %204, align 8
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr %203, i64 %205, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %206 unwind label %236

206:                                              ; preds = %199
  %207 = invoke noundef zeroext i1 @_ZN6sparta6s_patn10match_withERKNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %208 unwind label %240

208:                                              ; preds = %206
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  %209 = getelementptr inbounds [1 x %"class.sparta::s_patn"], ptr %28, i32 0, i32 0
  %210 = getelementptr inbounds %"class.sparta::s_patn", ptr %209, i64 1
  br label %211

211:                                              ; preds = %211, %208
  %212 = phi ptr [ %210, %208 ], [ %213, %211 ]
  %213 = getelementptr inbounds %"class.sparta::s_patn", ptr %212, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %213) #7
  %214 = icmp eq ptr %213, %209
  br i1 %214, label %215, label %211

215:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  %216 = invoke noundef zeroext i1 @_ZNK6sparta6s_expr7is_listEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %217 unwind label %253

217:                                              ; preds = %215
  br i1 %216, label %218, label %219

218:                                              ; preds = %217
  br label %258

219:                                              ; preds = %217
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.246, ptr noundef @.str.180, i32 noundef 1106, ptr noundef @__PRETTY_FUNCTION__._ZN9assembler18method_from_s_exprERKN6sparta6s_exprE, i32 noundef 2, ptr noundef @.str.247) #8
          to label %220 unwind label %253

220:                                              ; preds = %219
  unreachable

221:                                              ; preds = %197
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %8, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %9, align 4
  br label %291

225:                                              ; preds = %198
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %8, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %9, align 4
  %229 = load ptr, ptr %29, align 8
  %230 = icmp eq ptr %28, %229
  br i1 %230, label %235, label %231

231:                                              ; preds = %231, %225
  %232 = phi ptr [ %229, %225 ], [ %233, %231 ]
  %233 = getelementptr inbounds %"class.sparta::s_patn", ptr %232, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %233) #7
  %234 = icmp eq ptr %233, %28
  br i1 %234, label %235, label %231

235:                                              ; preds = %231, %225
  br label %252

236:                                              ; preds = %199
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %8, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %9, align 4
  br label %244

240:                                              ; preds = %206
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %8, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %9, align 4
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br label %244

244:                                              ; preds = %240, %236
  %245 = getelementptr inbounds [1 x %"class.sparta::s_patn"], ptr %28, i32 0, i32 0
  %246 = getelementptr inbounds %"class.sparta::s_patn", ptr %245, i64 1
  br label %247

247:                                              ; preds = %247, %244
  %248 = phi ptr [ %246, %244 ], [ %249, %247 ]
  %249 = getelementptr inbounds %"class.sparta::s_patn", ptr %248, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %249) #7
  %250 = icmp eq ptr %249, %245
  br i1 %250, label %251, label %247

251:                                              ; preds = %247
  br label %252

252:                                              ; preds = %251, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %290

253:                                              ; preds = %219, %215
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %8, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %9, align 4
  br label %290

257:                                              ; No predecessors!
  br label %258

258:                                              ; preds = %257, %218
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #7
  %259 = load i32, ptr %20, align 4, !tbaa !13
  %260 = invoke noundef zeroext i1 @_Z9is_static14DexAccessFlags(i32 noundef %259)
          to label %261 unwind label %281

261:                                              ; preds = %258
  br i1 %260, label %271, label %262

262:                                              ; preds = %261
  %263 = load i32, ptr %20, align 4, !tbaa !13
  %264 = invoke noundef zeroext i1 @_Z10is_private14DexAccessFlags(i32 noundef %263)
          to label %265 unwind label %281

265:                                              ; preds = %262
  br i1 %264, label %271, label %266

266:                                              ; preds = %265
  %267 = load i32, ptr %20, align 4, !tbaa !13
  %268 = invoke noundef zeroext i1 @_Z14is_constructor14DexAccessFlags(i32 noundef %267)
          to label %269 unwind label %281

269:                                              ; preds = %266
  %270 = xor i1 %268, true
  br label %271

271:                                              ; preds = %269, %265, %261
  %272 = phi i1 [ false, %265 ], [ false, %261 ], [ %270, %269 ]
  %273 = zext i1 %272 to i8
  store i8 %273, ptr %30, align 1, !tbaa !15
  %274 = load ptr, ptr %18, align 8, !tbaa !5
  %275 = load i32, ptr %20, align 4, !tbaa !13
  invoke void @_ZN9assembler18ircode_from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.147") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %276 unwind label %281

276:                                              ; preds = %271
  %277 = load i8, ptr %30, align 1, !tbaa !15, !range !17, !noundef !18
  %278 = trunc i8 %277 to i1
  %279 = invoke noundef ptr @_ZN12DexMethodRef13make_concreteE14DexAccessFlagsSt10unique_ptrI6IRCodeSt14default_deleteIS2_EEb(ptr noundef nonnull align 8 dereferenceable(26) %274, i32 noundef %275, ptr noundef %31, i1 noundef zeroext %278)
          to label %280 unwind label %285

280:                                              ; preds = %276
  call void @_ZNSt10unique_ptrI6IRCodeSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret ptr %279

281:                                              ; preds = %271, %266, %262, %258
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %8, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %9, align 4
  br label %289

285:                                              ; preds = %276
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %8, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %9, align 4
  call void @_ZNSt10unique_ptrI6IRCodeSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br label %289

289:                                              ; preds = %285, %281
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  br label %290

290:                                              ; preds = %289, %253, %252
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br label %291

291:                                              ; preds = %290, %221
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %292

292:                                              ; preds = %291, %193
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %293

293:                                              ; preds = %292, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %294

294:                                              ; preds = %293, %188
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %295

295:                                              ; preds = %294, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %296

296:                                              ; preds = %295, %156
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %297

297:                                              ; preds = %296
  %298 = load ptr, ptr %8, align 8
  %299 = load i32, ptr %9, align 4
  %300 = insertvalue { ptr, i32 } poison, ptr %298, 0
  %301 = insertvalue { ptr, i32 } %300, i32 %299, 1
  resume { ptr, i32 } %301
}

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

declare noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) #6

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN9assembler12_GLOBAL__N_118parse_access_flagsERKN6sparta6s_exprE(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64, ptr, i64, ptr) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZoRR14DexAccessFlagsS_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_static14DexAccessFlags(i32 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z10is_private14DexAccessFlags(i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z14is_constructor14DexAccessFlags(i32 noundef) #3

declare noundef ptr @_ZN12DexMethodRef13make_concreteE14DexAccessFlagsSt10unique_ptrI6IRCodeSt14default_deleteIS2_EEb(ptr noundef nonnull align 8 dereferenceable(26), i32 noundef, ptr noundef, i1 noundef zeroext) #6

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

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

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


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

%"class.std::unique_ptr.147" = type { %"struct.std::__uniq_ptr_data.148" }
%"struct.std::__uniq_ptr_data.148" = type { %"class.std::__uniq_ptr_impl.149" }
%"class.std::__uniq_ptr_impl.149" = type { %"class.std::tuple.150" }
%"class.std::tuple.150" = type { %"struct.std::_Tuple_impl.151" }
%"struct.std::_Tuple_impl.151" = type { %"struct.std::_Head_base.154" }
%"struct.std::_Head_base.154" = type { ptr }
%"class.sparta::s_expr" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"class.sparta::s_patn" = type { %"class.boost::intrusive_ptr.155" }
%"class.boost::intrusive_ptr.155" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.180 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.243 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.244 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.245 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN9assembler18method_from_s_exprERKN6sparta6s_exprE = external hidden unnamed_addr constant [57 x i8], align 1
@.str.247 = external hidden unnamed_addr constant [23 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9assembler18ircode_from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.147") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8), ptr, i64, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN9assembler18method_from_s_exprERKN6sparta6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %0) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.sparta::s_expr", align 8
  %3 = alloca %"class.sparta::s_patn", align 8
  %4 = alloca [1 x %"class.sparta::s_patn"], align 8
  %5 = alloca %"class.std::basic_string_view", align 8
  %6 = alloca %"class.sparta::s_expr", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.sparta::s_patn", align 8
  %9 = alloca [2 x %"class.sparta::s_patn"], align 8
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca %"class.std::basic_string_view", align 8
  %14 = alloca %"class.sparta::s_expr", align 8
  %15 = alloca %"class.sparta::s_patn", align 8
  %16 = alloca [1 x %"class.sparta::s_patn"], align 8
  %17 = alloca %"class.std::unique_ptr.147", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  invoke void @_ZN6sparta6s_patnC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull @.str.241)
          to label %18 unwind label %61

18:                                               ; preds = %1
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr nonnull %4, i64 1, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %19 unwind label %63

19:                                               ; preds = %18
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @.str.242) #7
  %20 = load i64, ptr %5, align 8
  %21 = getelementptr inbounds i8, ptr %5, i64 8
  %22 = load ptr, ptr %21, align 8
  invoke void @_ZN6sparta6s_patn10must_matchERKNS_6s_exprESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %0, i64 %20, ptr %22)
          to label %23 unwind label %65

23:                                               ; preds = %19
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %24 unwind label %67

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %26 unwind label %.thread

.thread:                                          ; preds = %24
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit55

26:                                               ; preds = %24
  %27 = getelementptr inbounds i8, ptr %9, i64 8
  invoke void @_ZN6sparta6s_patnC2EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull %7)
          to label %28 unwind label %.loopexit55.loopexit58

28:                                               ; preds = %26
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr nonnull %9, i64 2, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %29 unwind label %70

29:                                               ; preds = %28
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.243) #7
  %30 = load i64, ptr %10, align 8
  %31 = getelementptr inbounds i8, ptr %10, i64 8
  %32 = load ptr, ptr %31, align 8
  invoke void @_ZN6sparta6s_patn10must_matchERKNS_6s_exprESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %2, i64 %30, ptr %32)
          to label %33 unwind label %72

33:                                               ; preds = %29
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %34 = getelementptr inbounds i8, ptr %9, i64 8
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  %35 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  %36 = extractvalue { i64, ptr } %35, 0
  %37 = extractvalue { i64, ptr } %35, 1
  %38 = invoke noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64 %36, ptr %37)
          to label %39 unwind label %75

39:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %40 = invoke noundef i32 @_ZN9assembler12_GLOBAL__N_118parse_access_flagsERKN6sparta6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %41 unwind label %77

41:                                               ; preds = %39
  store i32 %40, ptr %11, align 4, !tbaa !5
  %42 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %38)
  %43 = call { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
  %44 = extractvalue { i64, ptr } %43, 0
  %45 = extractvalue { i64, ptr } %43, 1
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @.str.244) #7
  %46 = load i64, ptr %12, align 8
  %47 = getelementptr inbounds i8, ptr %12, i64 8
  %48 = load ptr, ptr %47, align 8
  %49 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %44, ptr %45, i64 %46, ptr %48) #7
  br i1 %49, label %59, label %50

50:                                               ; preds = %41
  %51 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %38)
  %52 = call { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16) %51)
  %53 = extractvalue { i64, ptr } %52, 0
  %54 = extractvalue { i64, ptr } %52, 1
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.245) #7
  %55 = load i64, ptr %13, align 8
  %56 = getelementptr inbounds i8, ptr %13, i64 8
  %57 = load ptr, ptr %56, align 8
  %58 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %53, ptr %54, i64 %55, ptr %57) #7
  br i1 %58, label %59, label %79

59:                                               ; preds = %50, %41
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZoRR14DexAccessFlagsS_(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef 65536)
  br label %79

61:                                               ; preds = %1
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit57

63:                                               ; preds = %18
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit57.loopexit

65:                                               ; preds = %19
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  br label %.loopexit57.loopexit

.loopexit57.loopexit:                             ; preds = %65, %63
  %.pn = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br label %.loopexit57

.loopexit57:                                      ; preds = %.loopexit57.loopexit, %61
  %.pn.pn = phi { ptr, i32 } [ %62, %61 ], [ %.pn, %.loopexit57.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %124

67:                                               ; preds = %23
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %123

.loopexit55.loopexit58:                           ; preds = %26
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %.loopexit55

70:                                               ; preds = %28
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit55.loopexit

72:                                               ; preds = %29
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br label %.loopexit55.loopexit

.loopexit55.loopexit:                             ; preds = %72, %70
  %.pn39 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  %74 = getelementptr inbounds i8, ptr %9, i64 8
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %74) #7
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %.loopexit55

.loopexit55:                                      ; preds = %.loopexit55.loopexit58, %.loopexit55.loopexit, %.thread
  %.pn39.pn = phi { ptr, i32 } [ %25, %.thread ], [ %.pn39, %.loopexit55.loopexit ], [ %69, %.loopexit55.loopexit58 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %122

75:                                               ; preds = %33
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %122

77:                                               ; preds = %39
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %121

79:                                               ; preds = %59, %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %80 unwind label %88

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %81 unwind label %90

81:                                               ; preds = %80
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr nonnull %16, i64 1, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %82 unwind label %92

82:                                               ; preds = %81
  %83 = invoke noundef zeroext i1 @_ZN6sparta6s_patn10match_withERKNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %84 unwind label %94

84:                                               ; preds = %82
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  %85 = call noundef zeroext i1 @_ZNK6sparta6s_expr7is_listEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
  br i1 %85, label %98, label %86

86:                                               ; preds = %84
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.246, ptr noundef nonnull @.str.180, i32 noundef 1106, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9assembler18method_from_s_exprERKN6sparta6s_exprE, i32 noundef 2, ptr noundef nonnull @.str.247) #8
          to label %87 unwind label %96

87:                                               ; preds = %86
  unreachable

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %120

90:                                               ; preds = %80
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

92:                                               ; preds = %81
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.loopexit

94:                                               ; preds = %82
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %94, %92
  %.pn42 = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %90
  %.pn42.pn = phi { ptr, i32 } [ %91, %90 ], [ %.pn42, %.loopexit.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %119

96:                                               ; preds = %86
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %119

98:                                               ; preds = %84
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = invoke noundef zeroext i1 @_Z9is_static14DexAccessFlags(i32 noundef %99)
          to label %101 unwind label %115

101:                                              ; preds = %98
  br i1 %100, label %109, label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %11, align 4, !tbaa !5
  %104 = call noundef zeroext i1 @_Z10is_private14DexAccessFlags(i32 noundef %103)
  br i1 %104, label %109, label %105

105:                                              ; preds = %102
  %106 = load i32, ptr %11, align 4, !tbaa !5
  %107 = call noundef zeroext i1 @_Z14is_constructor14DexAccessFlags(i32 noundef %106)
  %108 = xor i1 %107, true
  br label %109

109:                                              ; preds = %105, %102, %101
  %110 = phi i1 [ false, %102 ], [ false, %101 ], [ %108, %105 ]
  %111 = load i32, ptr %11, align 4, !tbaa !5
  invoke void @_ZN9assembler18ircode_from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.147") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %112 unwind label %115

112:                                              ; preds = %109
  %113 = invoke noundef ptr @_ZN12DexMethodRef13make_concreteE14DexAccessFlagsSt10unique_ptrI6IRCodeSt14default_deleteIS2_EEb(ptr noundef nonnull align 8 dereferenceable(26) %38, i32 noundef %111, ptr noundef nonnull %17, i1 noundef zeroext %110)
          to label %114 unwind label %117

114:                                              ; preds = %112
  call void @_ZNSt10unique_ptrI6IRCodeSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  ret ptr %113

115:                                              ; preds = %109, %98
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %112
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrI6IRCodeSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br label %119

119:                                              ; preds = %115, %117, %96, %.loopexit
  %.pn45.pn = phi { ptr, i32 } [ %97, %96 ], [ %.pn42.pn, %.loopexit ], [ %118, %117 ], [ %116, %115 ]
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %120

120:                                              ; preds = %119, %88
  %.pn45.pn.pn = phi { ptr, i32 } [ %.pn45.pn, %119 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %121

121:                                              ; preds = %120, %77
  %.pn45.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn, %120 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %122

122:                                              ; preds = %75, %121, %.loopexit55
  %.pn45.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %.loopexit55 ], [ %.pn45.pn.pn.pn, %121 ], [ %76, %75 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br label %123

123:                                              ; preds = %122, %67
  %.pn45.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn.pn, %122 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %124

124:                                              ; preds = %123, %.loopexit57
  %.pn45.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn.pn.pn, %123 ], [ %.pn.pn, %.loopexit57 ]
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn45.pn.pn.pn.pn.pn.pn.pn
}

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

declare noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN9assembler12_GLOBAL__N_118parse_access_flagsERKN6sparta6s_exprE(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64, ptr, i64, ptr) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZoRR14DexAccessFlagsS_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_static14DexAccessFlags(i32 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z10is_private14DexAccessFlags(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z14is_constructor14DexAccessFlags(i32 noundef) local_unnamed_addr #3

declare noundef ptr @_ZN12DexMethodRef13make_concreteE14DexAccessFlagsSt10unique_ptrI6IRCodeSt14default_deleteIS2_EEb(ptr noundef nonnull align 8 dereferenceable(26), i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #6

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,SROAPass,SimplifyCFGPass