; LLVM IR from facebook/redex :: libresource/Serialize.ll (ZN4arsc19ResTableTypeDefiner9serializeEPN7android6VectorIcEE)

; 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::unordered_set.89" = type { %"class.std::_Hashtable.90" }
%"class.std::_Hashtable.90" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator.103" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.109" = type { ptr }
%"struct.std::pair.110" = type <{ %"struct.std::__detail::_Node_iterator.112", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator.112" = type { %"struct.std::__detail::_Node_iterator_base.113" }
%"struct.std::__detail::_Node_iterator_base.113" = type { ptr }
%"class.arsc::CanonicalEntries" = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.android::Vector" = type { %"class.android::VectorImpl" }
%"class.android::VectorImpl" = type { ptr, ptr, i64, i32, i64 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.android::key_value_pair_t" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }
%"class.arsc::ResTableTypeDefiner" = type { %"class.arsc::ResTableTypeBuilder.base", %"class.std::unordered_map.64", %"class.std::vector.84", %"class.std::vector.32" }
%"class.arsc::ResTableTypeBuilder.base" = type <{ ptr, i32, i8, i8, i8 }>
%"class.std::unordered_map.64" = type { %"class.std::_Hashtable.65" }
%"class.std::_Hashtable.65" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.84" = type { %"struct.std::_Vector_base.85" }
%"struct.std::_Vector_base.85" = type { %"struct.std::_Vector_base<android::ResTable_config *, std::allocator<android::ResTable_config *>>::_Vector_impl" }
%"struct.std::_Vector_base<android::ResTable_config *, std::allocator<android::ResTable_config *>>::_Vector_impl" = type { %"struct.std::_Vector_base<android::ResTable_config *, std::allocator<android::ResTable_config *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<android::ResTable_config *, std::allocator<android::ResTable_config *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.arsc::ResTableTypeBuilder" = type <{ ptr, i32, i8, i8, i8, i8 }>
%"struct.android::ResTable_config" = type { i32, %union.anon, %union.anon.0, %union.anon.2, %union.anon.4, %union.anon.6, %union.anon.8, %union.anon.10, %union.anon.12, [4 x i8], [8 x i8], %union.anon.14, i8, [8 x i8] }
%union.anon = type { i32 }
%union.anon.0 = type { i32 }
%union.anon.2 = type { i32 }
%union.anon.4 = type { i32 }
%union.anon.6 = type { i32 }
%union.anon.8 = type { i32 }
%union.anon.10 = type { i32 }
%union.anon.12 = type { i32 }
%union.anon.14 = type { i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [49 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: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: noreturn nounwind
declare void @abort() #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc16CanonicalEntries4findERKN7android16key_value_pair_tIPhmEEPmPj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc19ResTableTypeBuilder31should_encode_offsets_as_sparseERKSt6vectorIjSaIjEEm(ptr noundef nonnull align 8 dereferenceable(15), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef, i64 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_18push_vecERN7android6VectorIcEEPS3_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_118write_short_at_posEmtPN7android6VectorIcEE(i64 noundef, i16 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc19ResTableTypeDefiner9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::unordered_set.89", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"struct.std::pair.110", align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i64, align 8
  %26 = alloca i16, align 2
  %27 = alloca i16, align 2
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.arsc::CanonicalEntries", align 8
  %34 = alloca %"class.android::Vector", align 8
  %35 = alloca %"class.std::vector.32", align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca i64, align 8
  %43 = alloca i32, align 4
  %44 = alloca %"struct.android::key_value_pair_t", align 8
  %45 = alloca i8, align 1
  %46 = alloca i32, align 4
  %47 = alloca i64, align 8
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca i8, align 1
  %51 = alloca i8, align 1
  %52 = alloca i8, align 1
  %53 = alloca i8, align 1
  %54 = alloca ptr, align 8
  %55 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %57 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %58 = load ptr, ptr %3, align 8
  br label %59

59:                                               ; preds = %2
  %60 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 2
  %61 = call noundef i64 @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  %62 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 1
  %63 = call noundef i64 @_ZNKSt13unordered_mapIPN7android15ResTable_configESt6vectorINS0_16key_value_pair_tIPhmEESaIS6_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %62) #7
  %64 = icmp ne i64 %61, %63
  br i1 %64, label %65, label %82

65:                                               ; preds = %59
  br label %66

66:                                               ; preds = %65
  %67 = load ptr, ptr @stderr, align 8, !tbaa !5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str) #7
  %69 = load ptr, ptr @stderr, align 8, !tbaa !5
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.11) #7
  %71 = load ptr, ptr @stderr, align 8, !tbaa !5
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.5) #7
  br label %73

73:                                               ; preds = %66
  br label %74

74:                                               ; preds = %73
  %75 = load ptr, ptr @stderr, align 8, !tbaa !5
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str) #7
  %77 = load ptr, ptr @stderr, align 8, !tbaa !5
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.12) #7
  %79 = load ptr, ptr @stderr, align 8, !tbaa !5
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.5) #7
  br label %81

81:                                               ; preds = %74
  call void @abort() #8
  unreachable

82:                                               ; preds = %59
  br label %83

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %84 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 3
  %85 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #7
  store i64 %85, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 56, ptr %6) #7
  call void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %86 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 2
  store ptr %86, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #7
  %89 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.103", ptr %8, i32 0, i32 0
  store ptr %88, ptr %89, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  %92 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.103", ptr %9, i32 0, i32 0
  store ptr %91, ptr %92, align 8
  br label %93

93:                                               ; preds = %179, %83
  %94 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %94, label %96, label %95

95:                                               ; preds = %93
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %182

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  store ptr %97, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %98 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 1
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIPN7android15ResTable_configESt6vectorINS0_16key_value_pair_tIPhmEESaIS6_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEE2atERSE_(ptr noundef nonnull align 8 dereferenceable(56) %98, ptr noundef nonnull align 8 dereferenceable(8) %99)
          to label %101 unwind label %127

101:                                              ; preds = %96
  store ptr %100, ptr %12, align 8, !tbaa !5
  br label %102

102:                                              ; preds = %101
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = call noundef i64 @_ZNKSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #7
  %105 = load i64, ptr %5, align 8, !tbaa !9
  %106 = icmp ne i64 %104, %105
  br i1 %106, label %107, label %131

107:                                              ; preds = %102
  br label %108

108:                                              ; preds = %107
  %109 = load ptr, ptr @stderr, align 8, !tbaa !5
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef @.str) #7
  %111 = load ptr, ptr @stderr, align 8, !tbaa !5
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.13) #7
  %113 = load ptr, ptr @stderr, align 8, !tbaa !5
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.5) #7
  br label %115

115:                                              ; preds = %108
  br label %116

116:                                              ; preds = %115
  br label %117

117:                                              ; preds = %116
  %118 = load ptr, ptr @stderr, align 8, !tbaa !5
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str) #7
  %120 = load ptr, ptr @stderr, align 8, !tbaa !5
  %121 = load i64, ptr %5, align 8, !tbaa !9
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.14, i64 noundef %121) #7
  %123 = load ptr, ptr @stderr, align 8, !tbaa !5
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef @.str.5) #7
  br label %125

125:                                              ; preds = %117
  br label %126

126:                                              ; preds = %125
  call void @abort() #8
  unreachable

127:                                              ; preds = %96
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %13, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %14, align 4
  br label %181

131:                                              ; preds = %102
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 1, ptr %15, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %134, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %135 = load ptr, ptr %16, align 8, !tbaa !5
  %136 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #7
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.109", ptr %17, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %138 = load ptr, ptr %16, align 8, !tbaa !5
  %139 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #7
  %140 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.109", ptr %18, i32 0, i32 0
  store ptr %139, ptr %140, align 8
  br label %141

141:                                              ; preds = %160, %133
  %142 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %142, label %144, label %143

143:                                              ; preds = %141
  store i32 16, ptr %10, align 4
  br label %162

144:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %145 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  store ptr %145, ptr %19, align 8, !tbaa !5
  %146 = load ptr, ptr %19, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %146, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8, !tbaa !13
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %156

150:                                              ; preds = %144
  %151 = load ptr, ptr %19, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %151, i32 0, i32 1
  %153 = load i64, ptr %152, align 8, !tbaa !15
  %154 = icmp ugt i64 %153, 0
  br i1 %154, label %155, label %156

155:                                              ; preds = %150
  store i8 0, ptr %15, align 1, !tbaa !11
  store i32 16, ptr %10, align 4
  br label %157

156:                                              ; preds = %150, %144
  store i32 0, ptr %10, align 4
  br label %157

157:                                              ; preds = %156, %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  %158 = load i32, ptr %10, align 4
  switch i32 %158, label %162 [
    i32 0, label %159
  ]

159:                                              ; preds = %157
  br label %160

160:                                              ; preds = %159
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br label %141

162:                                              ; preds = %157, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %163

163:                                              ; preds = %162
  %164 = load i8, ptr %15, align 1, !tbaa !11, !range !16, !noundef !17
  %165 = trunc i8 %164 to i1
  br i1 %165, label %166, label %178

166:                                              ; preds = %163
  %167 = load ptr, ptr %11, align 8, !tbaa !5
  %168 = invoke { ptr, i8 } @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE7emplaceIJRKS2_EEESt4pairINSt8__detail14_Node_iteratorIS2_Lb1ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(8) %167)
          to label %169 unwind label %174

169:                                              ; preds = %166
  %170 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 0
  %171 = extractvalue { ptr, i8 } %168, 0
  store ptr %171, ptr %170, align 8
  %172 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 1
  %173 = extractvalue { ptr, i8 } %168, 1
  store i8 %173, ptr %172, align 8
  br label %178

174:                                              ; preds = %166
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %13, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %181

178:                                              ; preds = %169, %163
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %179

179:                                              ; preds = %178
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br label %93

181:                                              ; preds = %174, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %535

182:                                              ; preds = %95
  %183 = call noundef i64 @_ZNKSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %6) #7
  %184 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 2
  %185 = call noundef i64 @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %184) #7
  %186 = icmp eq i64 %183, %185
  br i1 %186, label %187, label %188

187:                                              ; preds = %182
  store i32 1, ptr %10, align 4
  br label %524

188:                                              ; preds = %182
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 514, ptr noundef %189)
          to label %190 unwind label %224

190:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store i64 16, ptr %21, align 8, !tbaa !9
  %191 = load i64, ptr %21, align 8, !tbaa !9
  %192 = trunc i64 %191 to i16
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext %192, ptr noundef %193)
          to label %194 unwind label %228

194:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %195 = load i64, ptr %21, align 8, !tbaa !9
  %196 = load i64, ptr %5, align 8, !tbaa !9
  %197 = mul i64 4, %196
  %198 = add i64 %195, %197
  store i64 %198, ptr %22, align 8, !tbaa !9
  %199 = load i64, ptr %22, align 8, !tbaa !9
  %200 = trunc i64 %199 to i32
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %200, ptr noundef %201)
          to label %202 unwind label %232

202:                                              ; preds = %194
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  %204 = getelementptr inbounds %"class.arsc::ResTableTypeBuilder", ptr %58, i32 0, i32 2
  %205 = load i8, ptr %204, align 4, !tbaa !18
  store i8 %205, ptr %23, align 1, !tbaa !21
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %203, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %206 unwind label %236

206:                                              ; preds = %202
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  store i8 0, ptr %24, align 1, !tbaa !21
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %207, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %208 unwind label %240

208:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %209)
          to label %211 unwind label %244

211:                                              ; preds = %208
  store i64 %210, ptr %25, align 8, !tbaa !9
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext -4370, ptr noundef %212)
          to label %213 unwind label %244

213:                                              ; preds = %211
  %214 = load i64, ptr %5, align 8, !tbaa !9
  %215 = trunc i64 %214 to i32
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %215, ptr noundef %216)
          to label %217 unwind label %244

217:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 2, ptr %26) #7
  store i16 0, ptr %26, align 2, !tbaa !22
  br label %218

218:                                              ; preds = %257, %217
  %219 = load i16, ptr %26, align 2, !tbaa !22
  %220 = zext i16 %219 to i64
  %221 = load i64, ptr %5, align 8, !tbaa !9
  %222 = icmp ult i64 %220, %221
  br i1 %222, label %248, label %223

223:                                              ; preds = %218
  store i32 18, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %26) #7
  br label %264

224:                                              ; preds = %188
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %13, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %14, align 4
  br label %535

228:                                              ; preds = %190
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %13, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %14, align 4
  br label %534

232:                                              ; preds = %194
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %13, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %14, align 4
  br label %533

236:                                              ; preds = %202
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %13, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  br label %533

240:                                              ; preds = %206
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %13, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %533

244:                                              ; preds = %213, %211, %208
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %13, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %14, align 4
  br label %532

248:                                              ; preds = %218
  %249 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 3
  %250 = load i16, ptr %26, align 2, !tbaa !22
  %251 = zext i16 %250 to i64
  %252 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %249, i64 noundef %251)
          to label %253 unwind label %260

253:                                              ; preds = %248
  %254 = load i32, ptr %252, align 4, !tbaa !24
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %254, ptr noundef %255)
          to label %256 unwind label %260

256:                                              ; preds = %253
  br label %257

257:                                              ; preds = %256
  %258 = load i16, ptr %26, align 2, !tbaa !22
  %259 = add i16 %258, 1
  store i16 %259, ptr %26, align 2, !tbaa !22
  br label %218, !llvm.loop !25

260:                                              ; preds = %253, %248
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %13, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %26) #7
  br label %532

264:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 2, ptr %27) #7
  store i16 0, ptr %27, align 2, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %265 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 2
  store ptr %265, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %266 = load ptr, ptr %28, align 8, !tbaa !5
  %267 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %266) #7
  %268 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.103", ptr %29, i32 0, i32 0
  store ptr %267, ptr %268, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %269 = load ptr, ptr %28, align 8, !tbaa !5
  %270 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %269) #7
  %271 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.103", ptr %30, i32 0, i32 0
  store ptr %270, ptr %271, align 8
  br label %272

272:                                              ; preds = %509, %264
  %273 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  br i1 %273, label %275, label %274

274:                                              ; preds = %272
  store i32 21, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %519

275:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %276 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  store ptr %276, ptr %31, align 8, !tbaa !5
  %277 = load ptr, ptr %31, align 8, !tbaa !5
  %278 = invoke noundef i64 @_ZNKSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(8) %277)
          to label %279 unwind label %282

279:                                              ; preds = %275
  %280 = icmp ugt i64 %278, 0
  br i1 %280, label %281, label %286

281:                                              ; preds = %279
  store i32 22, ptr %10, align 4
  br label %506

282:                                              ; preds = %275
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %13, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %14, align 4
  br label %518

286:                                              ; preds = %279
  %287 = load i16, ptr %27, align 2, !tbaa !22
  %288 = add i16 %287, 1
  store i16 %288, ptr %27, align 2, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %289 = getelementptr inbounds %"class.arsc::ResTableTypeDefiner", ptr %58, i32 0, i32 1
  %290 = load ptr, ptr %31, align 8, !tbaa !5
  %291 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIPN7android15ResTable_configESt6vectorINS0_16key_value_pair_tIPhmEESaIS6_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEE2atERSE_(ptr noundef nonnull align 8 dereferenceable(56) %289, ptr noundef nonnull align 8 dereferenceable(8) %290)
          to label %292 unwind label %305

292:                                              ; preds = %286
  store ptr %291, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %33) #7
  invoke void @_ZN4arsc16CanonicalEntriesC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33)
          to label %293 unwind label %309

293:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 40, ptr %34) #7
  invoke void @_ZN7android6VectorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %294 unwind label %313

294:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #7
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  store i32 0, ptr %36, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %295 = load ptr, ptr %32, align 8, !tbaa !5
  store ptr %295, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %296 = load ptr, ptr %37, align 8, !tbaa !5
  %297 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %296) #7
  %298 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.109", ptr %38, i32 0, i32 0
  store ptr %297, ptr %298, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %299 = load ptr, ptr %37, align 8, !tbaa !5
  %300 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %299) #7
  %301 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.109", ptr %39, i32 0, i32 0
  store ptr %300, ptr %301, align 8
  br label %302

302:                                              ; preds = %390, %294
  %303 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  br i1 %303, label %317, label %304

304:                                              ; preds = %302
  store i32 23, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %393

305:                                              ; preds = %286
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %13, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %14, align 4
  br label %517

309:                                              ; preds = %292
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %13, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %14, align 4
  br label %516

313:                                              ; preds = %293
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %13, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %14, align 4
  br label %515

317:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %318 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  store ptr %318, ptr %40, align 8, !tbaa !5
  %319 = load ptr, ptr %40, align 8, !tbaa !5
  %320 = invoke noundef zeroext i1 @_ZN4arsc8is_emptyERKN7android16key_value_pair_tIPhmEE(ptr noundef nonnull align 8 dereferenceable(16) %319)
          to label %321 unwind label %325

321:                                              ; preds = %317
  br i1 %320, label %322, label %333

322:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  store i32 -1, ptr %41, align 4, !tbaa !27
  %323 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJN7android13ResTable_typeUt_EEEERjDpOT_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %324 unwind label %329

324:                                              ; preds = %322
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %389

325:                                              ; preds = %339, %337, %317
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %13, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %14, align 4
  br label %392

329:                                              ; preds = %322
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %13, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %392

333:                                              ; preds = %321
  %334 = getelementptr inbounds %"class.arsc::ResTableTypeBuilder", ptr %58, i32 0, i32 3
  %335 = load i8, ptr %334, align 1, !tbaa !29, !range !16, !noundef !17
  %336 = trunc i8 %335 to i1
  br i1 %336, label %354, label %337

337:                                              ; preds = %333
  %338 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJRjEEES3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %339 unwind label %325

339:                                              ; preds = %337
  %340 = load ptr, ptr %40, align 8, !tbaa !5
  %341 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %340, i32 0, i32 1
  %342 = load i64, ptr %341, align 8, !tbaa !15
  %343 = load i32, ptr %36, align 4, !tbaa !24
  %344 = zext i32 %343 to i64
  %345 = add i64 %344, %342
  %346 = trunc i64 %345 to i32
  store i32 %346, ptr %36, align 4, !tbaa !24
  %347 = load ptr, ptr %40, align 8, !tbaa !5
  %348 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %347, i32 0, i32 0
  %349 = load ptr, ptr %348, align 8, !tbaa !13
  %350 = load ptr, ptr %40, align 8, !tbaa !5
  %351 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %350, i32 0, i32 1
  %352 = load i64, ptr %351, align 8, !tbaa !15
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %349, i64 noundef %352, ptr noundef %34)
          to label %353 unwind label %325

353:                                              ; preds = %339
  br label %388

354:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  %355 = load ptr, ptr %40, align 8, !tbaa !5
  %356 = invoke noundef zeroext i1 @_ZN4arsc16CanonicalEntries4findERKN7android16key_value_pair_tIPhmEEPmPj(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(16) %355, ptr noundef %42, ptr noundef %43)
          to label %357 unwind label %361

357:                                              ; preds = %354
  br i1 %356, label %358, label %365

358:                                              ; preds = %357
  %359 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJRjEEES3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %360 unwind label %361

360:                                              ; preds = %358
  br label %387

361:                                              ; preds = %372, %370, %367, %365, %358, %354
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %13, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br label %392

365:                                              ; preds = %357
  %366 = load ptr, ptr %40, align 8, !tbaa !5
  invoke void @_ZN7android16key_value_pair_tIPhmEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %366)
          to label %367 unwind label %361

367:                                              ; preds = %365
  %368 = load i64, ptr %42, align 8, !tbaa !9
  %369 = load i32, ptr %36, align 4, !tbaa !24
  invoke void @_ZN4arsc16CanonicalEntries6recordEN7android16key_value_pair_tIPhmEEmj(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef %44, i64 noundef %368, i32 noundef %369)
          to label %370 unwind label %361

370:                                              ; preds = %367
  %371 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJRjEEES3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %372 unwind label %361

372:                                              ; preds = %370
  %373 = load ptr, ptr %40, align 8, !tbaa !5
  %374 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %373, i32 0, i32 1
  %375 = load i64, ptr %374, align 8, !tbaa !15
  %376 = load i32, ptr %36, align 4, !tbaa !24
  %377 = zext i32 %376 to i64
  %378 = add i64 %377, %375
  %379 = trunc i64 %378 to i32
  store i32 %379, ptr %36, align 4, !tbaa !24
  %380 = load ptr, ptr %40, align 8, !tbaa !5
  %381 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %380, i32 0, i32 0
  %382 = load ptr, ptr %381, align 8, !tbaa !13
  %383 = load ptr, ptr %40, align 8, !tbaa !5
  %384 = getelementptr inbounds %"struct.android::key_value_pair_t", ptr %383, i32 0, i32 1
  %385 = load i64, ptr %384, align 8, !tbaa !15
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %382, i64 noundef %385, ptr noundef %34)
          to label %386 unwind label %361

386:                                              ; preds = %372
  br label %387

387:                                              ; preds = %386, %360
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br label %388

388:                                              ; preds = %387, %353
  br label %389

389:                                              ; preds = %388, %324
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %390

390:                                              ; preds = %389
  %391 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  br label %302

392:                                              ; preds = %361, %329, %325
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %514

393:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #7
  store i8 0, ptr %45, align 1, !tbaa !21
  %394 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %395 unwind label %403

395:                                              ; preds = %393
  %396 = call noundef zeroext i1 @_ZN4arsc19ResTableTypeBuilder31should_encode_offsets_as_sparseERKSt6vectorIjSaIjEEm(ptr noundef nonnull align 8 dereferenceable(15) %58, ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %394)
  br i1 %396, label %397, label %407

397:                                              ; preds = %395
  invoke void @_ZN4arsc19ResTableTypeBuilder24encode_offsets_as_sparseEPSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(15) %58, ptr noundef %35)
          to label %398 unwind label %403

398:                                              ; preds = %397
  %399 = load i8, ptr %45, align 1, !tbaa !21
  %400 = zext i8 %399 to i32
  %401 = or i32 %400, 1
  %402 = trunc i32 %401 to i8
  store i8 %402, ptr %45, align 1, !tbaa !21
  br label %407

403:                                              ; preds = %407, %397, %393
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %13, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %14, align 4
  br label %513

407:                                              ; preds = %398, %395
  %408 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 513, ptr noundef %408)
          to label %409 unwind label %403

409:                                              ; preds = %407
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %410 = load ptr, ptr %31, align 8, !tbaa !5
  %411 = load ptr, ptr %410, align 8, !tbaa !5
  %412 = getelementptr inbounds %"struct.android::ResTable_config", ptr %411, i32 0, i32 0
  %413 = load i32, ptr %412, align 4, !tbaa !30
  store i32 %413, ptr %46, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %414 = load i32, ptr %46, align 4, !tbaa !24
  %415 = zext i32 %414 to i64
  %416 = add i64 20, %415
  store i64 %416, ptr %47, align 8, !tbaa !9
  %417 = load i64, ptr %47, align 8, !tbaa !9
  %418 = trunc i64 %417 to i16
  %419 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext %418, ptr noundef %419)
          to label %420 unwind label %467

420:                                              ; preds = %409
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  %421 = load i64, ptr %47, align 8, !tbaa !9
  %422 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  %423 = mul i64 %422, 4
  %424 = add i64 %421, %423
  store i64 %424, ptr %48, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %425 = load i64, ptr %48, align 8, !tbaa !9
  %426 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %427 unwind label %471

427:                                              ; preds = %420
  %428 = add i64 %425, %426
  store i64 %428, ptr %49, align 8, !tbaa !9
  %429 = load i64, ptr %49, align 8, !tbaa !9
  %430 = trunc i64 %429 to i32
  %431 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %430, ptr noundef %431)
          to label %432 unwind label %471

432:                                              ; preds = %427
  %433 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #7
  %434 = getelementptr inbounds %"class.arsc::ResTableTypeBuilder", ptr %58, i32 0, i32 2
  %435 = load i8, ptr %434, align 4, !tbaa !18
  store i8 %435, ptr %50, align 1, !tbaa !21
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %433, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %436 unwind label %475

436:                                              ; preds = %432
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #7
  %437 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #7
  %438 = load i8, ptr %45, align 1, !tbaa !21
  store i8 %438, ptr %51, align 1, !tbaa !21
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %437, ptr noundef nonnull align 1 dereferenceable(1) %51)
          to label %439 unwind label %479

439:                                              ; preds = %436
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #7
  %440 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #7
  store i8 0, ptr %52, align 1, !tbaa !21
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %440, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %441 unwind label %483

441:                                              ; preds = %439
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #7
  %442 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #7
  store i8 0, ptr %53, align 1, !tbaa !21
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %442, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %443 unwind label %487

443:                                              ; preds = %441
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #7
  %444 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  %445 = trunc i64 %444 to i32
  %446 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %445, ptr noundef %446)
          to label %447 unwind label %471

447:                                              ; preds = %443
  %448 = load i64, ptr %48, align 8, !tbaa !9
  %449 = trunc i64 %448 to i32
  %450 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %449, ptr noundef %450)
          to label %451 unwind label %471

451:                                              ; preds = %447
  %452 = load ptr, ptr %31, align 8, !tbaa !5
  %453 = load ptr, ptr %452, align 8, !tbaa !5
  %454 = load i32, ptr %46, align 4, !tbaa !24
  %455 = zext i32 %454 to i64
  %456 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %453, i64 noundef %455, ptr noundef %456)
          to label %457 unwind label %471

457:                                              ; preds = %451
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #7
  store ptr %35, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  %458 = load ptr, ptr %54, align 8, !tbaa !5
  %459 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %458) #7
  %460 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %55, i32 0, i32 0
  store ptr %459, ptr %460, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  %461 = load ptr, ptr %54, align 8, !tbaa !5
  %462 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %461) #7
  %463 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %56, i32 0, i32 0
  store ptr %462, ptr %463, align 8
  br label %464

464:                                              ; preds = %497, %457
  %465 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %56) #7
  br i1 %465, label %491, label %466

466:                                              ; preds = %464
  store i32 25, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  br label %503

467:                                              ; preds = %409
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %13, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %14, align 4
  br label %512

471:                                              ; preds = %503, %451, %447, %443, %427, %420
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %13, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %14, align 4
  br label %511

475:                                              ; preds = %432
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %13, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #7
  br label %511

479:                                              ; preds = %436
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %13, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #7
  br label %511

483:                                              ; preds = %439
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %13, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #7
  br label %511

487:                                              ; preds = %441
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %13, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #7
  br label %511

491:                                              ; preds = %464
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  %492 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #7
  store ptr %492, ptr %57, align 8, !tbaa !5
  %493 = load ptr, ptr %57, align 8, !tbaa !5
  %494 = load i32, ptr %493, align 4, !tbaa !24
  %495 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %494, ptr noundef %495)
          to label %496 unwind label %499

496:                                              ; preds = %491
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  br label %497

497:                                              ; preds = %496
  %498 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #7
  br label %464

499:                                              ; preds = %491
  %500 = landingpad { ptr, i32 }
          cleanup
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %13, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  br label %511

503:                                              ; preds = %466
  %504 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc12_GLOBAL__N_18push_vecERN7android6VectorIcEEPS3_(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef %504)
          to label %505 unwind label %471

505:                                              ; preds = %503
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #7
  call void @_ZN4arsc16CanonicalEntriesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  store i32 0, ptr %10, align 4
  br label %506

506:                                              ; preds = %505, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  %507 = load i32, ptr %10, align 4
  switch i32 %507, label %541 [
    i32 0, label %508
    i32 22, label %509
  ]

508:                                              ; preds = %506
  br label %509

509:                                              ; preds = %508, %506
  %510 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  br label %272

511:                                              ; preds = %499, %487, %483, %479, %475, %471
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %512

512:                                              ; preds = %511, %467
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  br label %513

513:                                              ; preds = %512, %403
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #7
  br label %514

514:                                              ; preds = %513, %392
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #7
  br label %515

515:                                              ; preds = %514, %313
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #7
  call void @_ZN4arsc16CanonicalEntriesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #7
  br label %516

516:                                              ; preds = %515, %309
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #7
  br label %517

517:                                              ; preds = %516, %305
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %518

518:                                              ; preds = %517, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %531

519:                                              ; preds = %274
  %520 = load i64, ptr %25, align 8, !tbaa !9
  %521 = load i16, ptr %27, align 2, !tbaa !22
  %522 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc12_GLOBAL__N_118write_short_at_posEmtPN7android6VectorIcEE(i64 noundef %520, i16 noundef zeroext %521, ptr noundef %522)
          to label %523 unwind label %527

523:                                              ; preds = %519
  call void @llvm.lifetime.end.p0(i64 2, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  store i32 0, ptr %10, align 4
  br label %524

524:                                              ; preds = %523, %187
  call void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  %525 = load i32, ptr %10, align 4
  switch i32 %525, label %541 [
    i32 0, label %526
    i32 1, label %526
  ]

526:                                              ; preds = %524, %524
  ret void

527:                                              ; preds = %519
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %13, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %14, align 4
  br label %531

531:                                              ; preds = %527, %518
  call void @llvm.lifetime.end.p0(i64 2, ptr %27) #7
  br label %532

532:                                              ; preds = %531, %260, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %533

533:                                              ; preds = %532, %240, %236, %232
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %534

534:                                              ; preds = %533, %228
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %535

535:                                              ; preds = %534, %224, %181
  call void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %536

536:                                              ; preds = %535
  %537 = load ptr, ptr %13, align 8
  %538 = load i32, ptr %14, align 4
  %539 = insertvalue { ptr, i32 } poison, ptr %537, 0
  %540 = insertvalue { ptr, i32 } %539, i32 %538, 1
  resume { ptr, i32 } %540

541:                                              ; preds = %524, %506
  unreachable
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSN7android16key_value_pair_tIPhmEE", !6, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !7, i64 12}
!19 = !{!"_ZTSN4arsc19ResTableTypeBuilderE", !20, i64 8, !7, i64 12, !12, i64 13, !12, i64 14}
!20 = !{!"int", !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"short", !7, i64 0}
!24 = !{!20, !20, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!28, !28, i64 0}
!28 = !{!"_ZTSN7android13ResTable_typeUt_E", !7, i64 0}
!29 = !{!19, !12, i64 13}
!30 = !{!31, !20, i64 0}
!31 = !{!"_ZTSN7android15ResTable_configE", !20, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 48, !12, i64 52, !7, i64 53}


; 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::unordered_set.89" = type { %"class.std::_Hashtable.90" }
%"class.std::_Hashtable.90" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator.103" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.109" = type { ptr }
%"class.arsc::CanonicalEntries" = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.android::Vector" = type { %"class.android::VectorImpl" }
%"class.android::VectorImpl" = type { ptr, ptr, i64, i32, i64 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.android::key_value_pair_t" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [49 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: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc16CanonicalEntries4findERKN7android16key_value_pair_tIPhmEEPmPj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc19ResTableTypeBuilder31should_encode_offsets_as_sparseERKSt6vectorIjSaIjEEm(ptr noundef nonnull align 8 dereferenceable(15), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_18push_vecERN7android6VectorIcEEPS3_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_118write_short_at_posEmtPN7android6VectorIcEE(i64 noundef, i16 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc19ResTableTypeDefiner9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::unordered_set.89", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.103", align 8
  %12 = alloca %"class.arsc::CanonicalEntries", align 8
  %13 = alloca %"class.android::Vector", align 8
  %14 = alloca %"class.std::vector.32", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.109", align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"struct.android::key_value_pair_t", align 8
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %28 = getelementptr inbounds i8, ptr %0, i64 72
  %29 = tail call noundef i64 @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = tail call noundef i64 @_ZNKSt13unordered_mapIPN7android15ResTable_configESt6vectorINS0_16key_value_pair_tIPhmEESaIS6_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %30) #7
  %.not = icmp eq i64 %29, %31
  br i1 %.not, label %45, label %32

32:                                               ; preds = %2
  %33 = load ptr, ptr @stderr, align 8, !tbaa !5
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str) #8
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.11) #8
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.5) #8
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str) #8
  %41 = load ptr, ptr @stderr, align 8, !tbaa !5
  %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.12) #8
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.5) #8
  tail call void @abort() #9
  unreachable

45:                                               ; preds = %2
  %46 = getelementptr inbounds i8, ptr %0, i64 96
  %47 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #7
  call void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %48 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  store ptr %48, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %49 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  store ptr %49, ptr %5, align 8
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %50, label %.lr.ph141, label %._crit_edge

._crit_edge:                                      ; preds = %88, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %51 = call noundef i64 @_ZNKSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #7
  %52 = call noundef i64 @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %53 = icmp eq i64 %51, %52
  br i1 %53, label %258, label %92

.lr.ph141:                                        ; preds = %45, %88
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %55 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIPN7android15ResTable_configESt6vectorINS0_16key_value_pair_tIPhmEESaIS6_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEE2atERSE_(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %56 unwind label %71

56:                                               ; preds = %.lr.ph141
  %57 = call noundef i64 @_ZNKSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  %.not119 = icmp eq i64 %57, %47
  br i1 %.not119, label %73, label %58

58:                                               ; preds = %56
  %59 = load ptr, ptr @stderr, align 8, !tbaa !5
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str) #8
  %61 = load ptr, ptr @stderr, align 8, !tbaa !5
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef nonnull @.str.13) #8
  %63 = load ptr, ptr @stderr, align 8, !tbaa !5
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.5) #8
  %65 = load ptr, ptr @stderr, align 8, !tbaa !5
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef nonnull @.str) #8
  %67 = load ptr, ptr @stderr, align 8, !tbaa !5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef nonnull @.str.14, i64 noundef %47) #8
  %69 = load ptr, ptr @stderr, align 8, !tbaa !5
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef nonnull @.str.5) #8
  call void @abort() #9
  unreachable

71:                                               ; preds = %.lr.ph141
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %91

73:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %74 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  store ptr %74, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %75 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  store ptr %75, ptr %7, align 8
  %76 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %76, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %73, %81
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %.not120 = icmp eq ptr %78, null
  %79 = getelementptr inbounds i8, ptr %77, i64 8
  %80 = load i64, ptr %79, align 8
  %.not121 = icmp eq i64 %80, 0
  %or.cond = select i1 %.not120, i1 true, i1 %.not121
  br i1 %or.cond, label %81, label %84

81:                                               ; preds = %.lr.ph
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %83 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %83, label %.lr.ph, label %.loopexit

84:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %88

.loopexit:                                        ; preds = %81, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %85 = invoke { ptr, i8 } @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE7emplaceIJRKS2_EEESt4pairINSt8__detail14_Node_iteratorIS2_Lb1ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %88 unwind label %86

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

88:                                               ; preds = %84, %.loopexit
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %90 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %90, label %.lr.ph141, label %._crit_edge

91:                                               ; preds = %86, %71
  %.pn122 = phi { ptr, i32 } [ %87, %86 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %261

92:                                               ; preds = %._crit_edge
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 514, ptr noundef %1)
          to label %93 unwind label %109

93:                                               ; preds = %92
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 16, ptr noundef %1)
          to label %94 unwind label %111

94:                                               ; preds = %93
  %.tr = trunc i64 %47 to i32
  %95 = shl i32 %.tr, 2
  %96 = add i32 %95, 16
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %96, ptr noundef %1)
          to label %97 unwind label %113

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  %98 = getelementptr inbounds i8, ptr %0, i64 12
  %99 = load i8, ptr %98, align 4, !tbaa !12
  store i8 %99, ptr %8, align 1, !tbaa !16
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %100 unwind label %115

100:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  store i8 0, ptr %9, align 1, !tbaa !16
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %101 unwind label %117

101:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  %102 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %103 unwind label %119

103:                                              ; preds = %101
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext -4370, ptr noundef nonnull %1)
          to label %104 unwind label %119

104:                                              ; preds = %103
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %.tr, ptr noundef nonnull %1)
          to label %.preheader unwind label %119

.preheader:                                       ; preds = %104
  %.not155 = icmp eq i64 %47, 0
  br i1 %.not155, label %._crit_edge144, label %.lr.ph143

._crit_edge144:                                   ; preds = %125, %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %105 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  store ptr %105, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %106 = call ptr @_ZNKSt6vectorIPN7android15ResTable_configESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  store ptr %106, ptr %11, align 8
  %107 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br i1 %107, label %.lr.ph153, label %._crit_edge154

.lr.ph153:                                        ; preds = %._crit_edge144
  %108 = getelementptr inbounds i8, ptr %0, i64 13
  br label %131

109:                                              ; preds = %92
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %261

111:                                              ; preds = %93
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %261

113:                                              ; preds = %94
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %261

115:                                              ; preds = %97
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  br label %261

117:                                              ; preds = %100
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  br label %261

119:                                              ; preds = %104, %103, %101
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %261

.lr.ph143:                                        ; preds = %.preheader, %125
  %121 = phi i64 [ %127, %125 ], [ 0, %.preheader ]
  %.098142 = phi i16 [ %126, %125 ], [ 0, %.preheader ]
  %122 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %121)
          to label %123 unwind label %129

123:                                              ; preds = %.lr.ph143
  %124 = load i32, ptr %122, align 4, !tbaa !17
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %124, ptr noundef nonnull %1)
          to label %125 unwind label %129

125:                                              ; preds = %123
  %126 = add i16 %.098142, 1
  %127 = zext i16 %126 to i64
  %128 = icmp ugt i64 %47, %127
  br i1 %128, label %.lr.ph143, label %._crit_edge144, !llvm.loop !18

129:                                              ; preds = %123, %.lr.ph143
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %261

._crit_edge154:                                   ; preds = %252, %._crit_edge144
  %.099.lcssa = phi i16 [ 0, %._crit_edge144 ], [ %.1100, %252 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  invoke void @_ZN4arsc12_GLOBAL__N_118write_short_at_posEmtPN7android6VectorIcEE(i64 noundef %102, i16 noundef zeroext %.099.lcssa, ptr noundef nonnull %1)
          to label %258 unwind label %259

131:                                              ; preds = %.lr.ph153, %252
  %.099151 = phi i16 [ 0, %.lr.ph153 ], [ %.1100, %252 ]
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  %133 = invoke noundef i64 @_ZNKSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %132)
          to label %134 unwind label %135

134:                                              ; preds = %131
  %.not104 = icmp eq i64 %133, 0
  br i1 %.not104, label %137, label %252

135:                                              ; preds = %131
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %257

137:                                              ; preds = %134
  %138 = add i16 %.099151, 1
  %139 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIPN7android15ResTable_configESt6vectorINS0_16key_value_pair_tIPhmEESaIS6_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEE2atERSE_(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(8) %132)
          to label %140 unwind label %146

140:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %12) #7
  call void @_ZN4arsc16CanonicalEntriesC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #7
  invoke void @_ZN7android6VectorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %141 unwind label %148

141:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store i32 0, ptr %15, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %142 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #7
  store ptr %142, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %143 = call ptr @_ZNSt6vectorIN7android16key_value_pair_tIPhmEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #7
  store ptr %143, ptr %17, align 8
  %144 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br i1 %144, label %.lr.ph146, label %._crit_edge147

._crit_edge147:                                   ; preds = %192, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  %145 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %196 unwind label %199

146:                                              ; preds = %137
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %257

148:                                              ; preds = %140
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %256

.lr.ph146:                                        ; preds = %141, %192
  %150 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  %151 = invoke noundef zeroext i1 @_ZN4arsc8is_emptyERKN7android16key_value_pair_tIPhmEE(ptr noundef nonnull align 8 dereferenceable(16) %150)
          to label %152 unwind label %156

152:                                              ; preds = %.lr.ph146
  br i1 %151, label %153, label %160

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  store i32 -1, ptr %18, align 4, !tbaa !20
  %154 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJN7android13ResTable_typeUt_EEEERjDpOT_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %155 unwind label %158

155:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  br label %192

156:                                              ; preds = %165, %163, %.lr.ph146
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %195

158:                                              ; preds = %153
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  br label %195

160:                                              ; preds = %152
  %161 = load i8, ptr %108, align 1, !tbaa !22, !range !23, !noundef !24
  %162 = trunc nuw i8 %161 to i1
  br i1 %162, label %172, label %163

163:                                              ; preds = %160
  %164 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJRjEEES3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %165 unwind label %156

165:                                              ; preds = %163
  %166 = getelementptr inbounds i8, ptr %150, i64 8
  %167 = load i64, ptr %166, align 8, !tbaa !25
  %168 = load i32, ptr %15, align 4, !tbaa !17
  %169 = trunc i64 %167 to i32
  %170 = add i32 %168, %169
  store i32 %170, ptr %15, align 4, !tbaa !17
  %171 = load ptr, ptr %150, align 8, !tbaa !9
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %171, i64 noundef %167, ptr noundef nonnull %13)
          to label %192 unwind label %156

172:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #7
  %173 = invoke noundef zeroext i1 @_ZN4arsc16CanonicalEntries4findERKN7android16key_value_pair_tIPhmEEPmPj(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(16) %150, ptr noundef nonnull %19, ptr noundef nonnull %20)
          to label %174 unwind label %177

174:                                              ; preds = %172
  br i1 %173, label %175, label %179

175:                                              ; preds = %174
  %176 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJRjEEES3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %191 unwind label %177

177:                                              ; preds = %184, %182, %179, %175, %172
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %195

179:                                              ; preds = %174
  call void @_ZN7android16key_value_pair_tIPhmEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %150)
  %180 = load i64, ptr %19, align 8, !tbaa !26
  %181 = load i32, ptr %15, align 4, !tbaa !17
  invoke void @_ZN4arsc16CanonicalEntries6recordEN7android16key_value_pair_tIPhmEEmj(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull %21, i64 noundef %180, i32 noundef %181)
          to label %182 unwind label %177

182:                                              ; preds = %179
  %183 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE12emplace_backIJRjEEES3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %184 unwind label %177

184:                                              ; preds = %182
  %185 = getelementptr inbounds i8, ptr %150, i64 8
  %186 = load i64, ptr %185, align 8, !tbaa !25
  %187 = load i32, ptr %15, align 4, !tbaa !17
  %188 = trunc i64 %186 to i32
  %189 = add i32 %187, %188
  store i32 %189, ptr %15, align 4, !tbaa !17
  %190 = load ptr, ptr %150, align 8, !tbaa !9
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %190, i64 noundef %186, ptr noundef nonnull %13)
          to label %191 unwind label %177

191:                                              ; preds = %184, %175
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %192

192:                                              ; preds = %191, %165, %155
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  %194 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br i1 %194, label %.lr.ph146, label %._crit_edge147

195:                                              ; preds = %177, %158, %156
  %.pn108 = phi { ptr, i32 } [ %159, %158 ], [ %178, %177 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %255

196:                                              ; preds = %._crit_edge147
  %197 = call noundef zeroext i1 @_ZN4arsc19ResTableTypeBuilder31should_encode_offsets_as_sparseERKSt6vectorIjSaIjEEm(ptr noundef nonnull align 8 dereferenceable(15) %0, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %145)
  br i1 %197, label %198, label %201

198:                                              ; preds = %196
  invoke void @_ZN4arsc19ResTableTypeBuilder24encode_offsets_as_sparseEPSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(15) %0, ptr noundef nonnull %14)
          to label %201 unwind label %199

199:                                              ; preds = %201, %198, %._crit_edge147
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %255

201:                                              ; preds = %198, %196
  %.0101 = phi i8 [ 0, %196 ], [ 1, %198 ]
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 513, ptr noundef nonnull %1)
          to label %202 unwind label %199

202:                                              ; preds = %201
  %203 = load ptr, ptr %132, align 8, !tbaa !5
  %204 = load i32, ptr %203, align 4, !tbaa !27
  %205 = zext i32 %204 to i64
  %206 = add nuw nsw i64 %205, 20
  %207 = trunc i64 %206 to i16
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext %207, ptr noundef nonnull %1)
          to label %208 unwind label %232

208:                                              ; preds = %202
  %209 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %210 = shl i64 %209, 2
  %211 = add i64 %210, %206
  %212 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %213 unwind label %234

213:                                              ; preds = %208
  %214 = add i64 %211, %212
  %215 = trunc i64 %214 to i32
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %215, ptr noundef nonnull %1)
          to label %216 unwind label %234

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #7
  %217 = load i8, ptr %98, align 4, !tbaa !12
  store i8 %217, ptr %22, align 1, !tbaa !16
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %218 unwind label %236

218:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #7
  store i8 %.0101, ptr %23, align 1, !tbaa !16
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %219 unwind label %238

219:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #7
  store i8 0, ptr %24, align 1, !tbaa !16
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %220 unwind label %240

220:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #7
  store i8 0, ptr %25, align 1, !tbaa !16
  invoke void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %221 unwind label %242

221:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  %222 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %223 = trunc i64 %222 to i32
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %223, ptr noundef nonnull %1)
          to label %224 unwind label %234

224:                                              ; preds = %221
  %225 = trunc i64 %211 to i32
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %225, ptr noundef nonnull %1)
          to label %226 unwind label %234

226:                                              ; preds = %224
  %227 = load ptr, ptr %132, align 8, !tbaa !5
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %227, i64 noundef %205, ptr noundef nonnull %1)
          to label %228 unwind label %234

228:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %229 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %229, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %230 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %230, ptr %27, align 8
  %231 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br i1 %231, label %.lr.ph149, label %._crit_edge150

._crit_edge150:                                   ; preds = %246, %228
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  invoke void @_ZN4arsc12_GLOBAL__N_18push_vecERN7android6VectorIcEEPS3_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull %1)
          to label %251 unwind label %234

232:                                              ; preds = %202
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %255

234:                                              ; preds = %._crit_edge150, %226, %224, %221, %213, %208
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %255

236:                                              ; preds = %216
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  br label %255

238:                                              ; preds = %218
  %239 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  br label %255

240:                                              ; preds = %219
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  br label %255

242:                                              ; preds = %220
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  br label %255

.lr.ph149:                                        ; preds = %228, %246
  %244 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  %245 = load i32, ptr %244, align 4, !tbaa !17
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %245, ptr noundef nonnull %1)
          to label %246 unwind label %249

246:                                              ; preds = %.lr.ph149
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  %248 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br i1 %248, label %.lr.ph149, label %._crit_edge150

249:                                              ; preds = %.lr.ph149
  %250 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  br label %255

251:                                              ; preds = %._crit_edge150
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #7
  call void @_ZN4arsc16CanonicalEntriesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #7
  br label %252

252:                                              ; preds = %134, %251
  %.1100 = phi i16 [ %138, %251 ], [ %.099151, %134 ]
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  %254 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br i1 %254, label %131, label %._crit_edge154

255:                                              ; preds = %199, %234, %236, %238, %240, %242, %249, %232, %195
  %.pn108.pn = phi { ptr, i32 } [ %.pn108, %195 ], [ %200, %199 ], [ %233, %232 ], [ %250, %249 ], [ %235, %234 ], [ %243, %242 ], [ %241, %240 ], [ %239, %238 ], [ %237, %236 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #7
  br label %256

256:                                              ; preds = %255, %148
  %.pn108.pn.pn = phi { ptr, i32 } [ %.pn108.pn, %255 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #7
  call void @_ZN4arsc16CanonicalEntriesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #7
  br label %257

257:                                              ; preds = %146, %256, %135
  %.pn108.pn.pn.pn.pn = phi { ptr, i32 } [ %136, %135 ], [ %.pn108.pn.pn, %256 ], [ %147, %146 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %261

258:                                              ; preds = %._crit_edge154, %._crit_edge
  call void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #7
  ret void

259:                                              ; preds = %._crit_edge154
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %261

261:                                              ; preds = %111, %119, %129, %259, %257, %117, %115, %113, %109, %91
  %.pn122.pn = phi { ptr, i32 } [ %.pn122, %91 ], [ %110, %109 ], [ %112, %111 ], [ %118, %117 ], [ %116, %115 ], [ %114, %113 ], [ %130, %129 ], [ %120, %119 ], [ %.pn108.pn.pn.pn.pn, %257 ], [ %260, %259 ]
  call void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn122.pn
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN7android15ResTable_configESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7android16key_value_pair_tIPhmEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIPN7android15ResTable_configESt4hashIS2_ESt8equal_toIS2_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { cold nounwind }
attributes #9 = { noreturn 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, !6, i64 0}
!10 = !{!"_ZTSN7android16key_value_pair_tIPhmEE", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !7, i64 12}
!13 = !{!"_ZTSN4arsc19ResTableTypeBuilderE", !14, i64 8, !7, i64 12, !15, i64 13, !15, i64 14}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!14, !14, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTSN7android13ResTable_typeUt_E", !7, i64 0}
!22 = !{!13, !15, i64 13}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!10, !11, i64 8}
!26 = !{!11, !11, i64 0}
!27 = !{!28, !14, i64 0}
!28 = !{!"_ZTSN7android15ResTable_configE", !14, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 48, !15, i64 52, !7, i64 53}


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