; LLVM IR from facebook/redex :: libredex/ProguardConfiguration.ll (ZN10keep_ruleslsERSoRKNS_8KeepSpecE)

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

%"struct.keep_rules::ClassSpecification" = type { i32, i32, %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl" }
%"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl" = type { %"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl_data" }
%"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl" }
%"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl" = type { %"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl_data" }
%"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.keep_rules::KeepSpec" = type <{ i8, i8, i8, i8, i8, i8, [2 x i8], %"struct.keep_rules::ClassSpecification", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"struct.keep_rules::ClassSpecification::ClassNameSpec" = type <{ %"class.std::__cxx11::basic_string", i8, [7 x i8] }>

@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1

; 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: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10keep_ruleslsERSoRKNS_8KeepSpecE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(220) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.keep_rules::ClassSpecification", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca i64, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 176, ptr %5) #5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"struct.keep_rules::KeepSpec", ptr %12, i32 0, i32 7
  call void @_ZN10keep_rules18ClassSpecificationC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(176) %5, ptr noundef nonnull align 8 dereferenceable(176) %13)
  %14 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 2
  %15 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br i1 %15, label %29, label %16

16:                                               ; preds = %2
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef @.str.3)
          to label %19 unwind label %25

19:                                               ; preds = %16
  %20 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 2
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %22 unwind label %25

22:                                               ; preds = %19
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef @.str.4)
          to label %24 unwind label %25

24:                                               ; preds = %22
  br label %29

25:                                               ; preds = %157, %144, %135, %131, %128, %125, %122, %116, %65, %52, %47, %42, %37, %22, %19, %16
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %6, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %7, align 4
  br label %181

29:                                               ; preds = %24, %2
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  %31 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !9
  %33 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 1
  %34 = load i32, ptr %33, align 4, !tbaa !23
  invoke void @_ZN10keep_rules12_GLOBAL__N_117show_access_flagsB5cxx11E14DexAccessFlagsS1_b(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, i32 noundef %32, i32 noundef %34, i1 noundef zeroext false)
          to label %35 unwind label %56

35:                                               ; preds = %29
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %37 unwind label %60

37:                                               ; preds = %35
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  %38 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 0
  %39 = load i32, ptr %38, align 8, !tbaa !9
  %40 = invoke noundef zeroext i1 @_Z13is_annotation14DexAccessFlags(i32 noundef %39)
          to label %41 unwind label %25

41:                                               ; preds = %37
  br i1 %40, label %42, label %71

42:                                               ; preds = %41
  %43 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !9
  %45 = invoke noundef zeroext i1 @_Z7is_enum14DexAccessFlags(i32 noundef %44)
          to label %46 unwind label %25

46:                                               ; preds = %42
  br i1 %45, label %47, label %70

47:                                               ; preds = %46
  %48 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 0
  %49 = load i32, ptr %48, align 8, !tbaa !9
  %50 = invoke noundef zeroext i1 @_Z12is_interface14DexAccessFlags(i32 noundef %49)
          to label %51 unwind label %25

51:                                               ; preds = %47
  br i1 %50, label %52, label %65

52:                                               ; preds = %51
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef @.str.5)
          to label %55 unwind label %25

55:                                               ; preds = %52
  br label %69

56:                                               ; preds = %29
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %6, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %7, align 4
  br label %64

60:                                               ; preds = %35
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %6, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %64

64:                                               ; preds = %60, %56
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  br label %181

65:                                               ; preds = %51
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef @.str.6)
          to label %68 unwind label %25

68:                                               ; preds = %65
  br label %69

69:                                               ; preds = %68, %55
  br label %70

70:                                               ; preds = %69, %46
  br label %71

71:                                               ; preds = %70, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !24
  br label %72

72:                                               ; preds = %106, %71
  %73 = load i64, ptr %9, align 8, !tbaa !24
  %74 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 3
  %75 = call noundef i64 @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #5
  %76 = icmp ult i64 %73, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %113

78:                                               ; preds = %72
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 3
  %81 = load i64, ptr %9, align 8, !tbaa !24
  %82 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %81) #5
  %83 = getelementptr inbounds %"struct.keep_rules::ClassSpecification::ClassNameSpec", ptr %82, i32 0, i32 1
  %84 = load i8, ptr %83, align 8, !tbaa !25, !range !28, !noundef !29
  %85 = trunc i8 %84 to i1
  %86 = zext i1 %85 to i64
  %87 = select i1 %85, ptr @.str.7, ptr @.str.8
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef %87)
          to label %89 unwind label %109

89:                                               ; preds = %78
  %90 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 3
  %91 = load i64, ptr %9, align 8, !tbaa !24
  %92 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %91) #5
  %93 = getelementptr inbounds %"struct.keep_rules::ClassSpecification::ClassNameSpec", ptr %92, i32 0, i32 0
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(32) %93)
          to label %95 unwind label %109

95:                                               ; preds = %89
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = load i64, ptr %9, align 8, !tbaa !24
  %98 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 3
  %99 = call noundef i64 @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #5
  %100 = sub i64 %99, 1
  %101 = icmp eq i64 %97, %100
  %102 = zext i1 %101 to i64
  %103 = select i1 %101, ptr @.str.4, ptr @.str.9
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef %103)
          to label %105 unwind label %109

105:                                              ; preds = %95
  br label %106

106:                                              ; preds = %105
  %107 = load i64, ptr %9, align 8, !tbaa !24
  %108 = add i64 %107, 1
  store i64 %108, ptr %9, align 8, !tbaa !24
  br label %72, !llvm.loop !30

109:                                              ; preds = %95, %89, %78
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %6, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %181

113:                                              ; preds = %77
  %114 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 5
  %115 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %114) #5
  br i1 %115, label %138, label %116

116:                                              ; preds = %113
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef @.str.10)
          to label %119 unwind label %25

119:                                              ; preds = %116
  %120 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 4
  %121 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %120) #5
  br i1 %121, label %131, label %122

122:                                              ; preds = %119
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef @.str.3)
          to label %125 unwind label %25

125:                                              ; preds = %122
  %126 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 4
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull align 8 dereferenceable(32) %126)
          to label %128 unwind label %25

128:                                              ; preds = %125
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef @.str.4)
          to label %130 unwind label %25

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130, %119
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 5
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull align 8 dereferenceable(32) %133)
          to label %135 unwind label %25

135:                                              ; preds = %131
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef @.str.4)
          to label %137 unwind label %25

137:                                              ; preds = %135
  br label %138

138:                                              ; preds = %137, %113
  %139 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 6
  %140 = call noundef zeroext i1 @_ZNKSt6vectorIN10keep_rules19MemberSpecificationESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #5
  br i1 %140, label %141, label %144

141:                                              ; preds = %138
  %142 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 7
  %143 = call noundef zeroext i1 @_ZNKSt6vectorIN10keep_rules19MemberSpecificationESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %142) #5
  br i1 %143, label %179, label %144

144:                                              ; preds = %141, %138
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef @.str.11)
          to label %147 unwind label %25

147:                                              ; preds = %144
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  %149 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 6
  invoke void @_ZN10keep_rules12_GLOBAL__N_111show_fieldsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %149)
          to label %150 unwind label %161

150:                                              ; preds = %147
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %152 unwind label %165

152:                                              ; preds = %150
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  %153 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  %154 = getelementptr inbounds %"struct.keep_rules::ClassSpecification", ptr %5, i32 0, i32 7
  invoke void @_ZN10keep_rules12_GLOBAL__N_112show_methodsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %154)
          to label %155 unwind label %170

155:                                              ; preds = %152
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %157 unwind label %174

157:                                              ; preds = %155
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef @.str.12)
          to label %160 unwind label %25

160:                                              ; preds = %157
  br label %179

161:                                              ; preds = %147
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %6, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %7, align 4
  br label %169

165:                                              ; preds = %150
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %6, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %169

169:                                              ; preds = %165, %161
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  br label %181

170:                                              ; preds = %152
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %6, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %7, align 4
  br label %178

174:                                              ; preds = %155
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %6, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %178

178:                                              ; preds = %174, %170
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  br label %181

179:                                              ; preds = %160, %141
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN10keep_rules18ClassSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %5) #5
  call void @llvm.lifetime.end.p0(i64 176, ptr %5) #5
  ret ptr %180

181:                                              ; preds = %178, %169, %109, %64, %25
  call void @_ZN10keep_rules18ClassSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %5) #5
  call void @llvm.lifetime.end.p0(i64 176, ptr %5) #5
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %6, align 8
  %184 = load i32, ptr %7, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10keep_rules12_GLOBAL__N_117show_access_flagsB5cxx11E14DexAccessFlagsS1_b(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef, i32 noundef, i1 noundef zeroext) #2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10keep_rules12_GLOBAL__N_111show_fieldsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10keep_rules12_GLOBAL__N_112show_methodsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN10keep_rules18ClassSpecificationE", !11, i64 0, !11, i64 4, !12, i64 8, !15, i64 40, !12, i64 64, !12, i64 96, !19, i64 128, !19, i64 152}
!11 = !{!"_ZTS14DexAccessFlags", !7, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !14, i64 8, !7, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN10keep_rules19MemberSpecificationESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN10keep_rules19MemberSpecificationESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules19MemberSpecificationESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules19MemberSpecificationESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!10, !11, i64 4}
!24 = !{!14, !14, i64 0}
!25 = !{!26, !27, i64 32}
!26 = !{!"_ZTSN10keep_rules18ClassSpecification13ClassNameSpecE", !12, i64 0, !27, i64 32}
!27 = !{!"bool", !7, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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

%"struct.keep_rules::ClassSpecification" = type { i32, i32, %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl" }
%"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl" = type { %"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl_data" }
%"struct.std::_Vector_base<keep_rules::ClassSpecification::ClassNameSpec, std::allocator<keep_rules::ClassSpecification::ClassNameSpec>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl" }
%"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl" = type { %"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl_data" }
%"struct.std::_Vector_base<keep_rules::MemberSpecification, std::allocator<keep_rules::MemberSpecification>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1

; 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: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10keep_ruleslsERSoRKNS_8KeepSpecE(ptr noundef nonnull returned align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(220) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.keep_rules::ClassSpecification", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %3) #5
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  call void @_ZN10keep_rules18ClassSpecificationC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(176) %3, ptr noundef nonnull align 8 dereferenceable(176) %7)
  %8 = getelementptr inbounds i8, ptr %3, i64 8
  %9 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br i1 %9, label %18, label %10

10:                                               ; preds = %2
  %11 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.3)
          to label %12 unwind label %16

12:                                               ; preds = %10
  %13 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %14 unwind label %16

14:                                               ; preds = %12
  %15 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull @.str.4)
          to label %18 unwind label %16

16:                                               ; preds = %.invoke, %94, %85, %77, %75, %73, %71, %69, %64, %14, %12, %10
  %17 = landingpad { ptr, i32 }
          cleanup
  br label %107

18:                                               ; preds = %14, %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  %19 = load i32, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %3, i64 4
  %21 = load i32, ptr %20, align 4, !tbaa !22
  invoke void @_ZN10keep_rules12_GLOBAL__N_117show_access_flagsB5cxx11E14DexAccessFlagsS1_b(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, i32 noundef %19, i32 noundef %21, i1 noundef zeroext false)
          to label %22 unwind label %33

22:                                               ; preds = %18
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %24 unwind label %35

24:                                               ; preds = %22
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  %25 = load i32, ptr %3, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_Z13is_annotation14DexAccessFlags(i32 noundef %25)
  br i1 %26, label %27, label %38

27:                                               ; preds = %24
  %28 = load i32, ptr %3, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_Z7is_enum14DexAccessFlags(i32 noundef %28)
  br i1 %29, label %.invoke, label %38

.invoke:                                          ; preds = %27
  %30 = load i32, ptr %3, align 8, !tbaa !5
  %31 = call noundef zeroext i1 @_Z12is_interface14DexAccessFlags(i32 noundef %30)
  %.str.5..str.6 = select i1 %31, ptr @.str.5, ptr @.str.6
  %32 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %.str.5..str.6)
          to label %38 unwind label %16

33:                                               ; preds = %18
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %22
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %37

37:                                               ; preds = %35, %33
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %107

38:                                               ; preds = %.invoke, %27, %24
  %39 = getelementptr inbounds i8, ptr %3, i64 40
  %40 = call noundef i64 @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  %.not = icmp eq i64 %40, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %58, %38
  %41 = getelementptr inbounds i8, ptr %3, i64 96
  %42 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #5
  br i1 %42, label %79, label %64

.lr.ph:                                           ; preds = %38, %58
  %.033 = phi i64 [ %59, %58 ], [ 0, %38 ]
  %43 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.033) #5
  %44 = getelementptr inbounds i8, ptr %43, i64 32
  %45 = load i8, ptr %44, align 8, !tbaa !23, !range !26, !noundef !27
  %46 = trunc nuw i8 %45 to i1
  %47 = select i1 %46, ptr @.str.7, ptr @.str.8
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %47)
          to label %49 unwind label %62

49:                                               ; preds = %.lr.ph
  %50 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.033) #5
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(32) %50)
          to label %52 unwind label %62

52:                                               ; preds = %49
  %53 = call noundef i64 @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  %54 = add i64 %53, -1
  %55 = icmp eq i64 %.033, %54
  %56 = select i1 %55, ptr @.str.4, ptr @.str.9
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %56)
          to label %58 unwind label %62

58:                                               ; preds = %52
  %59 = add nuw i64 %.033, 1
  %60 = call noundef i64 @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %.lr.ph, label %._crit_edge, !llvm.loop !28

62:                                               ; preds = %52, %49, %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %107

64:                                               ; preds = %._crit_edge
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.10)
          to label %66 unwind label %16

66:                                               ; preds = %64
  %67 = getelementptr inbounds i8, ptr %3, i64 64
  %68 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %67) #5
  br i1 %68, label %75, label %69

69:                                               ; preds = %66
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.3)
          to label %71 unwind label %16

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

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull @.str.4)
          to label %75 unwind label %16

75:                                               ; preds = %73, %66
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %77 unwind label %16

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @.str.4)
          to label %79 unwind label %16

79:                                               ; preds = %77, %._crit_edge
  %80 = getelementptr inbounds i8, ptr %3, i64 128
  %81 = call noundef zeroext i1 @_ZNKSt6vectorIN10keep_rules19MemberSpecificationESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #5
  br i1 %81, label %82, label %85

82:                                               ; preds = %79
  %83 = getelementptr inbounds i8, ptr %3, i64 152
  %84 = call noundef zeroext i1 @_ZNKSt6vectorIN10keep_rules19MemberSpecificationESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #5
  br i1 %84, label %106, label %85

85:                                               ; preds = %82, %79
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.11)
          to label %87 unwind label %16

87:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  invoke void @_ZN10keep_rules12_GLOBAL__N_111show_fieldsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %80)
          to label %88 unwind label %96

88:                                               ; preds = %87
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %90 unwind label %98

90:                                               ; preds = %88
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  %91 = getelementptr inbounds i8, ptr %3, i64 152
  invoke void @_ZN10keep_rules12_GLOBAL__N_112show_methodsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %91)
          to label %92 unwind label %101

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %94 unwind label %103

94:                                               ; preds = %92
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.12)
          to label %106 unwind label %16

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

98:                                               ; preds = %88
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %100

100:                                              ; preds = %98, %96
  %.pn27 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %107

101:                                              ; preds = %90
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %105

103:                                              ; preds = %92
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %105

105:                                              ; preds = %103, %101
  %.pn29 = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  br label %107

106:                                              ; preds = %94, %82
  call void @_ZN10keep_rules18ClassSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %3) #5
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %3) #5
  ret ptr %0

107:                                              ; preds = %105, %100, %62, %37, %16
  %.pn31 = phi { ptr, i32 } [ %63, %62 ], [ %17, %16 ], [ %.pn29, %105 ], [ %.pn27, %100 ], [ %.pn, %37 ]
  call void @_ZN10keep_rules18ClassSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %3) #5
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn31
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10keep_rules12_GLOBAL__N_117show_access_flagsB5cxx11E14DexAccessFlagsS1_b(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNKSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10keep_rules12_GLOBAL__N_111show_fieldsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN10keep_rules12_GLOBAL__N_112show_methodsB5cxx11ERKSt6vectorINS_19MemberSpecificationESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #5 = { 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, !7, i64 0}
!6 = !{!"_ZTSN10keep_rules18ClassSpecificationE", !7, i64 0, !7, i64 4, !10, i64 8, !14, i64 40, !10, i64 64, !10, i64 96, !18, i64 128, !18, i64 152}
!7 = !{!"_ZTS14DexAccessFlags", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !13, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSSt6vectorIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules18ClassSpecification13ClassNameSpecESaIS2_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!18 = !{!"_ZTSSt6vectorIN10keep_rules19MemberSpecificationESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN10keep_rules19MemberSpecificationESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules19MemberSpecificationESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN10keep_rules19MemberSpecificationESaIS1_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!22 = !{!6, !7, i64 4}
!23 = !{!24, !25, i64 32}
!24 = !{!"_ZTSN10keep_rules18ClassSpecification13ClassNameSpecE", !10, i64 0, !25, i64 32}
!25 = !{!"bool", !8, i64 0}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


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