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

; 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::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 }
%"class.android::Vector" = type { %"class.android::VectorImpl" }
%"class.android::VectorImpl" = type { ptr, ptr, i64, i32, i64 }
%"class.__gnu_cxx::__normal_iterator.141" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.142" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }
%"class.arsc::ResStringPoolBuilder" = type { i32, %"class.std::vector.122", %"class.std::vector.127" }
%"class.std::vector.122" = type { %"struct.std::_Vector_base.123" }
%"struct.std::_Vector_base.123" = type { %"struct.std::_Vector_base<arsc::StringHolder, std::allocator<arsc::StringHolder>>::_Vector_impl" }
%"struct.std::_Vector_base<arsc::StringHolder, std::allocator<arsc::StringHolder>>::_Vector_impl" = type { %"struct.std::_Vector_base<arsc::StringHolder, std::allocator<arsc::StringHolder>>::_Vector_impl_data" }
%"struct.std::_Vector_base<arsc::StringHolder, std::allocator<arsc::StringHolder>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.127" = type { %"struct.std::_Vector_base.128" }
%"struct.std::_Vector_base.128" = type { %"struct.std::_Vector_base<arsc::StyleInfo, std::allocator<arsc::StyleInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<arsc::StyleInfo, std::allocator<arsc::StyleInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<arsc::StyleInfo, std::allocator<arsc::StyleInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<arsc::StyleInfo, std::allocator<arsc::StyleInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.arsc::StyleInfo" = type { %"struct.arsc::StringHolder", %"class.std::vector.136" }
%"struct.arsc::StringHolder" = type { %"class.std::variant", i64 }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type <{ %"union.std::__detail::__variant::_Variadic_union", i8 }>
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.115" }
%"union.std::__detail::__variant::_Variadic_union.115" = type { %"struct.std::__detail::__variant::_Uninitialized.116", [24 x i8] }
%"struct.std::__detail::__variant::_Uninitialized.116" = type { ptr }
%"class.std::vector.136" = type { %"struct.std::_Vector_base.137" }
%"struct.std::_Vector_base.137" = type { %"struct.std::_Vector_base<android::ResStringPool_span *, std::allocator<android::ResStringPool_span *>>::_Vector_impl" }
%"struct.std::_Vector_base<android::ResStringPool_span *, std::allocator<android::ResStringPool_span *>>::_Vector_impl" = type { %"struct.std::_Vector_base<android::ResStringPool_span *, std::allocator<android::ResStringPool_span *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<android::ResStringPool_span *, std::allocator<android::ResStringPool_span *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4arsc9align_vecEmPN7android6VectorIcEE(i64 noundef, ptr noundef) #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 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)) #4

; 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)) #3 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)) #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc20ResStringPoolBuilder9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector.32", align 8
  %6 = alloca %"class.std::vector.32", align 8
  %7 = alloca %"class.android::Vector", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.142", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.142", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %42 = alloca i32, align 4
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i64, align 8
  %46 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %47 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #5
  invoke void @_ZN7android6VectorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %48 unwind label %64

48:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  %49 = invoke noundef zeroext i1 @_ZN4arsc20ResStringPoolBuilder7is_utf8Ev(ptr noundef nonnull align 8 dereferenceable(56) %47)
          to label %50 unwind label %68

50:                                               ; preds = %48
  %51 = zext i1 %49 to i8
  store i8 %51, ptr %10, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %52 = invoke noundef i64 @_ZN4arsc20ResStringPoolBuilder11style_countEv(ptr noundef nonnull align 8 dereferenceable(56) %47)
          to label %53 unwind label %72

53:                                               ; preds = %50
  store i64 %52, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %54 = getelementptr inbounds %"class.arsc::ResStringPoolBuilder", ptr %47, i32 0, i32 2
  store ptr %54, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  %57 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %14, i32 0, i32 0
  store ptr %56, ptr %57, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  %60 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %15, i32 0, i32 0
  store ptr %59, ptr %60, align 8
  br label %61

61:                                               ; preds = %98, %53
  %62 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %62, label %76, label %63

63:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %113

64:                                               ; preds = %2
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %8, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %9, align 4
  br label %351

68:                                               ; preds = %48
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %8, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %9, align 4
  br label %350

72:                                               ; preds = %50
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %8, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %9, align 4
  br label %349

76:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %77 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  store ptr %77, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %78 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %79 unwind label %100

79:                                               ; preds = %76
  %80 = trunc i64 %78 to i32
  store i32 %80, ptr %17, align 4, !tbaa !13
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %81 unwind label %100

81:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %82 = load i32, ptr %12, align 4, !tbaa !13
  store i32 %82, ptr %18, align 4, !tbaa !13
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %83 unwind label %104

83:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %84 = load i8, ptr %10, align 1, !tbaa !9, !range !15, !noundef !16
  %85 = trunc i8 %84 to i1
  %86 = load ptr, ptr %16, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.arsc::StyleInfo", ptr %86, i32 0, i32 0
  invoke void @_ZN4arsc12_GLOBAL__N_112write_stringEbRKNS_12StringHolderEPN7android6VectorIcEE(i1 noundef zeroext %85, ptr noundef nonnull align 8 dereferenceable(48) %87, ptr noundef %7)
          to label %88 unwind label %108

88:                                               ; preds = %83
  %89 = load ptr, ptr %16, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.arsc::StyleInfo", ptr %89, i32 0, i32 1
  %91 = call noundef i64 @_ZNKSt6vectorIPN7android18ResStringPool_spanESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #5
  %92 = mul i64 %91, 12
  %93 = add i64 %92, 4
  %94 = load i32, ptr %12, align 4, !tbaa !13
  %95 = sext i32 %94 to i64
  %96 = add i64 %95, %93
  %97 = trunc i64 %96 to i32
  store i32 %97, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %98

98:                                               ; preds = %88
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br label %61

100:                                              ; preds = %79, %76
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %8, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %112

104:                                              ; preds = %81
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %8, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %112

108:                                              ; preds = %83
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %8, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %9, align 4
  br label %112

112:                                              ; preds = %108, %104, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %348

113:                                              ; preds = %63
  %114 = load i32, ptr %12, align 4, !tbaa !13
  %115 = icmp sgt i32 %114, 0
  br i1 %115, label %116, label %121

116:                                              ; preds = %113
  %117 = load i32, ptr %12, align 4, !tbaa !13
  %118 = sext i32 %117 to i64
  %119 = add i64 %118, 8
  %120 = trunc i64 %119 to i32
  store i32 %120, ptr %12, align 4, !tbaa !13
  br label %121

121:                                              ; preds = %116, %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %122 = getelementptr inbounds %"class.arsc::ResStringPoolBuilder", ptr %47, i32 0, i32 1
  store ptr %122, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %123 = load ptr, ptr %19, align 8, !tbaa !5
  %124 = call ptr @_ZNSt6vectorIN4arsc12StringHolderESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #5
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.142", ptr %20, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %126 = load ptr, ptr %19, align 8, !tbaa !5
  %127 = call ptr @_ZNSt6vectorIN4arsc12StringHolderESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #5
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.142", ptr %21, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  br label %129

129:                                              ; preds = %142, %121
  %130 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc12StringHolderESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  br i1 %130, label %132, label %131

131:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %153

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %133 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN4arsc12StringHolderESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  store ptr %133, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %134 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %135 unwind label %144

135:                                              ; preds = %132
  %136 = trunc i64 %134 to i32
  store i32 %136, ptr %23, align 4, !tbaa !13
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %137 unwind label %144

137:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  %138 = load i8, ptr %10, align 1, !tbaa !9, !range !15, !noundef !16
  %139 = trunc i8 %138 to i1
  %140 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN4arsc12_GLOBAL__N_112write_stringEbRKNS_12StringHolderEPN7android6VectorIcEE(i1 noundef zeroext %139, ptr noundef nonnull align 8 dereferenceable(48) %140, ptr noundef %7)
          to label %141 unwind label %148

141:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %142

142:                                              ; preds = %141
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN4arsc12StringHolderESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %129

144:                                              ; preds = %135, %132
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %8, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %152

148:                                              ; preds = %137
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %8, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %9, align 4
  br label %152

152:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %348

153:                                              ; preds = %131
  invoke void @_ZN4arsc9align_vecEmPN7android6VectorIcEE(i64 noundef 4, ptr noundef %7)
          to label %154 unwind label %223

154:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %155 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %156 unwind label %227

156:                                              ; preds = %154
  %157 = mul i64 %155, 1
  store i64 %157, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  store i64 28, ptr %25, align 8, !tbaa !11
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 1, ptr noundef %158)
          to label %159 unwind label %231

159:                                              ; preds = %156
  %160 = load i64, ptr %25, align 8, !tbaa !11
  %161 = trunc i64 %160 to i16
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext %161, ptr noundef %162)
          to label %163 unwind label %231

163:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %164 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %165 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %166 = add i64 %164, %165
  %167 = mul i64 %166, 4
  store i64 %167, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %168 = load i64, ptr %25, align 8, !tbaa !11
  %169 = load i64, ptr %26, align 8, !tbaa !11
  %170 = add i64 %168, %169
  %171 = load i64, ptr %24, align 8, !tbaa !11
  %172 = add i64 %170, %171
  %173 = load i32, ptr %12, align 4, !tbaa !13
  %174 = sext i32 %173 to i64
  %175 = add i64 %172, %174
  store i64 %175, ptr %27, align 8, !tbaa !11
  %176 = load i64, ptr %27, align 8, !tbaa !11
  %177 = trunc i64 %176 to i32
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %177, ptr noundef %178)
          to label %179 unwind label %235

179:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %180 = invoke noundef i64 @_ZN4arsc20ResStringPoolBuilder12string_countEv(ptr noundef nonnull align 8 dereferenceable(56) %47)
          to label %181 unwind label %239

181:                                              ; preds = %179
  store i64 %180, ptr %28, align 8, !tbaa !11
  %182 = load i64, ptr %28, align 8, !tbaa !11
  %183 = trunc i64 %182 to i32
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %183, ptr noundef %184)
          to label %185 unwind label %239

185:                                              ; preds = %181
  %186 = load i64, ptr %11, align 8, !tbaa !11
  %187 = trunc i64 %186 to i32
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %187, ptr noundef %188)
          to label %189 unwind label %239

189:                                              ; preds = %185
  %190 = getelementptr inbounds %"class.arsc::ResStringPoolBuilder", ptr %47, i32 0, i32 0
  %191 = load i32, ptr %190, align 8, !tbaa !17
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %191, ptr noundef %192)
          to label %193 unwind label %239

193:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %194 = load i64, ptr %25, align 8, !tbaa !11
  %195 = load i64, ptr %26, align 8, !tbaa !11
  %196 = add i64 %194, %195
  store i64 %196, ptr %29, align 8, !tbaa !11
  %197 = load i64, ptr %29, align 8, !tbaa !11
  %198 = trunc i64 %197 to i32
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %198, ptr noundef %199)
          to label %200 unwind label %243

200:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %201 = load i64, ptr %11, align 8, !tbaa !11
  %202 = icmp ugt i64 %201, 0
  br i1 %202, label %203, label %207

203:                                              ; preds = %200
  %204 = load i64, ptr %29, align 8, !tbaa !11
  %205 = load i64, ptr %24, align 8, !tbaa !11
  %206 = add i64 %204, %205
  br label %208

207:                                              ; preds = %200
  br label %208

208:                                              ; preds = %207, %203
  %209 = phi i64 [ %206, %203 ], [ 0, %207 ]
  store i64 %209, ptr %30, align 8, !tbaa !11
  %210 = load i64, ptr %30, align 8, !tbaa !11
  %211 = trunc i64 %210 to i32
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %211, ptr noundef %212)
          to label %213 unwind label %247

213:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  store ptr %5, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %214 = load ptr, ptr %31, align 8, !tbaa !5
  %215 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %214) #5
  %216 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %32, i32 0, i32 0
  store ptr %215, ptr %216, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %217 = load ptr, ptr %31, align 8, !tbaa !5
  %218 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %217) #5
  %219 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %33, i32 0, i32 0
  store ptr %218, ptr %219, align 8
  br label %220

220:                                              ; preds = %257, %213
  %221 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  br i1 %221, label %251, label %222

222:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %263

223:                                              ; preds = %153
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %8, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %9, align 4
  br label %348

227:                                              ; preds = %154
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %8, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %9, align 4
  br label %347

231:                                              ; preds = %159, %156
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %8, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %9, align 4
  br label %346

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

239:                                              ; preds = %189, %185, %181, %179
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %8, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %9, align 4
  br label %344

243:                                              ; preds = %193
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %8, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %9, align 4
  br label %343

247:                                              ; preds = %338, %336, %285, %208
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %8, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %9, align 4
  br label %342

251:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  store ptr %252, ptr %34, align 8, !tbaa !5
  %253 = load ptr, ptr %34, align 8, !tbaa !5
  %254 = load i32, ptr %253, align 4, !tbaa !13
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %254, ptr noundef %255)
          to label %256 unwind label %259

256:                                              ; preds = %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %257

257:                                              ; preds = %256
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  br label %220

259:                                              ; preds = %251
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %8, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %342

263:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  store ptr %6, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %264 = load ptr, ptr %35, align 8, !tbaa !5
  %265 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %264) #5
  %266 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %36, i32 0, i32 0
  store ptr %265, ptr %266, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %267 = load ptr, ptr %35, align 8, !tbaa !5
  %268 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %267) #5
  %269 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %37, i32 0, i32 0
  store ptr %268, ptr %269, align 8
  br label %270

270:                                              ; preds = %279, %263
  %271 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #5
  br i1 %271, label %273, label %272

272:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %285

273:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %274 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #5
  store ptr %274, ptr %38, align 8, !tbaa !5
  %275 = load ptr, ptr %38, align 8, !tbaa !5
  %276 = load i32, ptr %275, align 4, !tbaa !13
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %276, ptr noundef %277)
          to label %278 unwind label %281

278:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %279

279:                                              ; preds = %278
  %280 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #5
  br label %270

281:                                              ; preds = %273
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %8, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %342

285:                                              ; preds = %272
  %286 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc12_GLOBAL__N_18push_vecERN7android6VectorIcEEPS3_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %286)
          to label %287 unwind label %247

287:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %288 = getelementptr inbounds %"class.arsc::ResStringPoolBuilder", ptr %47, i32 0, i32 2
  store ptr %288, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %289 = load ptr, ptr %39, align 8, !tbaa !5
  %290 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %289) #5
  %291 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %40, i32 0, i32 0
  store ptr %290, ptr %291, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  %292 = load ptr, ptr %39, align 8, !tbaa !5
  %293 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %292) #5
  %294 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %41, i32 0, i32 0
  store ptr %293, ptr %294, align 8
  br label %295

295:                                              ; preds = %326, %287
  %296 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #5
  br i1 %296, label %298, label %297

297:                                              ; preds = %295
  store i32 10, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %333

298:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %299 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  store ptr %299, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  %300 = load ptr, ptr %43, align 8, !tbaa !5
  %301 = getelementptr inbounds %"struct.arsc::StyleInfo", ptr %300, i32 0, i32 1
  store ptr %301, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  store i64 0, ptr %45, align 8, !tbaa !11
  br label %302

302:                                              ; preds = %316, %298
  %303 = load i64, ptr %45, align 8, !tbaa !11
  %304 = load ptr, ptr %44, align 8, !tbaa !5
  %305 = call noundef i64 @_ZNKSt6vectorIPN7android18ResStringPool_spanESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %304) #5
  %306 = icmp ult i64 %303, %305
  br i1 %306, label %308, label %307

307:                                              ; preds = %302
  store i32 12, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %323

308:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %309 = load ptr, ptr %44, align 8, !tbaa !5
  %310 = load i64, ptr %45, align 8, !tbaa !11
  %311 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7android18ResStringPool_spanESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %309, i64 noundef %310) #5
  store ptr %311, ptr %46, align 8, !tbaa !5
  %312 = load ptr, ptr %46, align 8, !tbaa !5
  %313 = load ptr, ptr %312, align 8, !tbaa !5
  %314 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %313, i64 noundef 12, ptr noundef %314)
          to label %315 unwind label %319

315:                                              ; preds = %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  br label %316

316:                                              ; preds = %315
  %317 = load i64, ptr %45, align 8, !tbaa !11
  %318 = add i64 %317, 1
  store i64 %318, ptr %45, align 8, !tbaa !11
  br label %302, !llvm.loop !27

319:                                              ; preds = %308
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %8, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %332

323:                                              ; preds = %307
  %324 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef -1, ptr noundef %324)
          to label %325 unwind label %328

325:                                              ; preds = %323
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  br label %326

326:                                              ; preds = %325
  %327 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  br label %295

328:                                              ; preds = %323
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %8, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %9, align 4
  br label %332

332:                                              ; preds = %328, %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %342

333:                                              ; preds = %297
  %334 = load i64, ptr %11, align 8, !tbaa !11
  %335 = icmp ugt i64 %334, 0
  br i1 %335, label %336, label %341

336:                                              ; preds = %333
  %337 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef -1, ptr noundef %337)
          to label %338 unwind label %247

338:                                              ; preds = %336
  %339 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef -1, ptr noundef %339)
          to label %340 unwind label %247

340:                                              ; preds = %338
  br label %341

341:                                              ; preds = %340, %333
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  ret void

342:                                              ; preds = %332, %281, %259, %247
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %343

343:                                              ; preds = %342, %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %344

344:                                              ; preds = %343, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %345

345:                                              ; preds = %344, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %346

346:                                              ; preds = %345, %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %347

347:                                              ; preds = %346, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %348

348:                                              ; preds = %347, %223, %152, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %349

349:                                              ; preds = %348, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %350

350:                                              ; preds = %349, %68
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  br label %351

351:                                              ; preds = %350, %64
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  br label %352

352:                                              ; preds = %351
  %353 = load ptr, ptr %8, align 8
  %354 = load i32, ptr %9, align 4
  %355 = insertvalue { ptr, i32 } poison, ptr %353, 0
  %356 = insertvalue { ptr, i32 } %355, i32 %354, 1
  resume { ptr, i32 } %356
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_112write_stringEbRKNS_12StringHolderEPN7android6VectorIcEE(i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) #0

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !14, i64 0}
!18 = !{!"_ZTSN4arsc20ResStringPoolBuilderE", !14, i64 0, !19, i64 8, !23, i64 32}
!19 = !{!"_ZTSSt6vectorIN4arsc12StringHolderESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN4arsc12StringHolderESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN4arsc12StringHolderESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN4arsc12StringHolderESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIN4arsc9StyleInfoESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN4arsc9StyleInfoESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN4arsc9StyleInfoESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN4arsc9StyleInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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

%"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 }
%"class.android::Vector" = type { %"class.android::VectorImpl" }
%"class.android::VectorImpl" = type { ptr, ptr, i64, i32, i64 }
%"class.__gnu_cxx::__normal_iterator.141" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.142" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4arsc9align_vecEmPN7android6VectorIcEE(i64 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 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 #4

; 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 #3 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 #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 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 #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc20ResStringPoolBuilder9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.32", align 8
  %4 = alloca %"class.std::vector.32", align 8
  %5 = alloca %"class.android::Vector", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.142", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.142", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #5
  invoke void @_ZN7android6VectorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %19 unwind label %33

19:                                               ; preds = %2
  %20 = call noundef zeroext i1 @_ZN4arsc20ResStringPoolBuilder7is_utf8Ev(ptr noundef nonnull align 8 dereferenceable(56) %0)
  %21 = call noundef i64 @_ZN4arsc20ResStringPoolBuilder11style_countEv(ptr noundef nonnull align 8 dereferenceable(56) %0)
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %23 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %23, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %24 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %24, ptr %7, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %25, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %27

._crit_edge:                                      ; preds = %41
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %26 = icmp sgt i32 %47, 0
  %narrow = add nuw i32 %47, 8
  %spec.select = select i1 %26, i32 %narrow, i32 %47
  br label %27

27:                                               ; preds = %._crit_edge, %._crit_edge.thread
  %28 = phi i32 [ 0, %._crit_edge.thread ], [ %spec.select, %._crit_edge ]
  %29 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %30 = call ptr @_ZNSt6vectorIN4arsc12StringHolderESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  store ptr %30, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %31 = call ptr @_ZNSt6vectorIN4arsc12StringHolderESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  store ptr %31, ptr %11, align 8
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc12StringHolderESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %32, label %.lr.ph94, label %._crit_edge95

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

.lr.ph:                                           ; preds = %19, %41
  %.07392 = phi i32 [ %47, %41 ], [ 0, %19 ]
  %35 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %36 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %37 unwind label %50

37:                                               ; preds = %.lr.ph
  %38 = trunc i64 %36 to i32
  store i32 %38, ptr %8, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %39 unwind label %50

39:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 %.07392, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %40 unwind label %52

40:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  invoke void @_ZN4arsc12_GLOBAL__N_112write_stringEbRKNS_12StringHolderEPN7android6VectorIcEE(i1 noundef zeroext %20, ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull %5)
          to label %41 unwind label %54

41:                                               ; preds = %40
  %42 = getelementptr inbounds i8, ptr %35, i64 48
  %43 = call noundef i64 @_ZNKSt6vectorIPN7android18ResStringPool_spanESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %44 = trunc i64 %43 to i32
  %45 = mul i32 %44, 12
  %46 = add i32 %.07392, 4
  %47 = add i32 %46, %45
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %49 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %49, label %.lr.ph, label %._crit_edge

50:                                               ; preds = %37, %.lr.ph
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %56

52:                                               ; preds = %39
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %56

54:                                               ; preds = %40
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %56

56:                                               ; preds = %54, %52, %50
  %.pn85 = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %154

._crit_edge95:                                    ; preds = %62, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  invoke void @_ZN4arsc9align_vecEmPN7android6VectorIcEE(i64 noundef 4, ptr noundef nonnull %5)
          to label %70 unwind label %102

.lr.ph94:                                         ; preds = %27, %62
  %57 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN4arsc12StringHolderESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %58 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %59 unwind label %65

59:                                               ; preds = %.lr.ph94
  %60 = trunc i64 %58 to i32
  store i32 %60, ptr %12, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %61 unwind label %65

61:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  invoke void @_ZN4arsc12_GLOBAL__N_112write_stringEbRKNS_12StringHolderEPN7android6VectorIcEE(i1 noundef zeroext %20, ptr noundef nonnull align 8 dereferenceable(48) %57, ptr noundef nonnull %5)
          to label %62 unwind label %67

62:                                               ; preds = %61
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN4arsc12StringHolderESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc12StringHolderESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %64, label %.lr.ph94, label %._crit_edge95

65:                                               ; preds = %59, %.lr.ph94
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br label %69

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

69:                                               ; preds = %67, %65
  %.pn83 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %154

70:                                               ; preds = %._crit_edge95
  %71 = invoke noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %72 unwind label %104

72:                                               ; preds = %70
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 1, ptr noundef %1)
          to label %73 unwind label %106

73:                                               ; preds = %72
  invoke void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 28, ptr noundef %1)
          to label %74 unwind label %106

74:                                               ; preds = %73
  %75 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %76 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %77 = add i64 %76, %75
  %78 = shl i64 %77, 2
  %79 = add i64 %78, 28
  %80 = add i64 %79, %71
  %81 = trunc i64 %80 to i32
  %82 = add i32 %28, %81
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %82, ptr noundef %1)
          to label %83 unwind label %108

83:                                               ; preds = %74
  %84 = invoke noundef i64 @_ZN4arsc20ResStringPoolBuilder12string_countEv(ptr noundef nonnull align 8 dereferenceable(56) %0)
          to label %85 unwind label %110

85:                                               ; preds = %83
  %86 = trunc i64 %84 to i32
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %86, ptr noundef %1)
          to label %87 unwind label %110

87:                                               ; preds = %85
  %88 = trunc i64 %21 to i32
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %88, ptr noundef %1)
          to label %89 unwind label %110

89:                                               ; preds = %87
  %90 = load i32, ptr %0, align 8, !tbaa !9
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %90, ptr noundef %1)
          to label %91 unwind label %110

91:                                               ; preds = %89
  %92 = trunc i64 %79 to i32
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %92, ptr noundef %1)
          to label %93 unwind label %112

93:                                               ; preds = %91
  %.not = icmp eq i64 %21, 0
  %94 = select i1 %.not, i32 0, i32 %81
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %94, ptr noundef %1)
          to label %95 unwind label %114

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %96 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  store ptr %96, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %97 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  store ptr %97, ptr %14, align 8
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %98, label %.lr.ph97, label %._crit_edge98

._crit_edge98:                                    ; preds = %118, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %99 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  store ptr %99, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %100 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  store ptr %100, ptr %16, align 8
  %101 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br i1 %101, label %.lr.ph100, label %._crit_edge101

102:                                              ; preds = %._crit_edge95
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %154

104:                                              ; preds = %70
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %154

106:                                              ; preds = %73, %72
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %154

108:                                              ; preds = %74
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %154

110:                                              ; preds = %89, %87, %85, %83
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %154

112:                                              ; preds = %91
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %154

114:                                              ; preds = %152, %151, %._crit_edge101, %93
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %154

.lr.ph97:                                         ; preds = %95, %118
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %117 = load i32, ptr %116, align 4, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %117, ptr noundef %1)
          to label %118 unwind label %121

118:                                              ; preds = %.lr.ph97
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %120 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %120, label %.lr.ph97, label %._crit_edge98

121:                                              ; preds = %.lr.ph97
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %154

._crit_edge101:                                   ; preds = %125, %._crit_edge98
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  invoke void @_ZN4arsc12_GLOBAL__N_18push_vecERN7android6VectorIcEEPS3_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %1)
          to label %130 unwind label %114

.lr.ph100:                                        ; preds = %._crit_edge98, %125
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %124 = load i32, ptr %123, align 4, !tbaa !5
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %124, ptr noundef %1)
          to label %125 unwind label %128

125:                                              ; preds = %.lr.ph100
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %127 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br i1 %127, label %.lr.ph100, label %._crit_edge101

128:                                              ; preds = %.lr.ph100
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %154

130:                                              ; preds = %._crit_edge101
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %131 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %131, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %132 = call ptr @_ZNSt6vectorIN4arsc9StyleInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %132, ptr %18, align 8
  %133 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br i1 %133, label %.lr.ph107, label %._crit_edge108

._crit_edge108:                                   ; preds = %145, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br i1 %.not, label %153, label %151

.lr.ph107:                                        ; preds = %130, %145
  %134 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  %135 = getelementptr inbounds i8, ptr %134, i64 48
  %136 = call noundef i64 @_ZNKSt6vectorIPN7android18ResStringPool_spanESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #5
  %.not109 = icmp eq i64 %136, 0
  br i1 %.not109, label %._crit_edge105, label %.lr.ph104

._crit_edge105:                                   ; preds = %139, %.lr.ph107
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef -1, ptr noundef %1)
          to label %145 unwind label %148

.lr.ph104:                                        ; preds = %.lr.ph107, %139
  %.061102 = phi i64 [ %140, %139 ], [ 0, %.lr.ph107 ]
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7android18ResStringPool_spanESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %.061102) #5
  %138 = load ptr, ptr %137, align 8, !tbaa !20
  invoke void @_ZN4arsc12_GLOBAL__N_117push_data_no_swapEPvmPN7android6VectorIcEE(ptr noundef %138, i64 noundef 12, ptr noundef %1)
          to label %139 unwind label %143

139:                                              ; preds = %.lr.ph104
  %140 = add nuw i64 %.061102, 1
  %141 = call noundef i64 @_ZNKSt6vectorIPN7android18ResStringPool_spanESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #5
  %142 = icmp ult i64 %140, %141
  br i1 %142, label %.lr.ph104, label %._crit_edge105, !llvm.loop !21

143:                                              ; preds = %.lr.ph104
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %150

145:                                              ; preds = %._crit_edge105
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  %147 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN4arsc9StyleInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br i1 %147, label %.lr.ph107, label %._crit_edge108

148:                                              ; preds = %._crit_edge105
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %150

150:                                              ; preds = %148, %143
  %.pn = phi { ptr, i32 } [ %144, %143 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br label %154

151:                                              ; preds = %._crit_edge108
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef -1, ptr noundef %1)
          to label %152 unwind label %114

152:                                              ; preds = %151
  invoke void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef -1, ptr noundef %1)
          to label %153 unwind label %114

153:                                              ; preds = %152, %._crit_edge108
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  ret void

154:                                              ; preds = %104, %108, %112, %150, %128, %121, %114, %110, %106, %102, %69, %56
  %.pn85.pn = phi { ptr, i32 } [ %.pn85, %56 ], [ %.pn83, %69 ], [ %103, %102 ], [ %105, %104 ], [ %107, %106 ], [ %109, %108 ], [ %111, %110 ], [ %113, %112 ], [ %122, %121 ], [ %129, %128 ], [ %.pn, %150 ], [ %115, %114 ]
  call void @_ZN7android6VectorIcED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #5
  br label %155

155:                                              ; preds = %154, %33
  %.pn85.pn.pn = phi { ptr, i32 } [ %.pn85.pn, %154 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn85.pn.pn
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_112write_stringEbRKNS_12StringHolderEPN7android6VectorIcEE(i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN4arsc20ResStringPoolBuilderE", !6, i64 0, !11, i64 8, !16, i64 32}
!11 = !{!"_ZTSSt6vectorIN4arsc12StringHolderESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN4arsc12StringHolderESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN4arsc12StringHolderESaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN4arsc12StringHolderESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIN4arsc9StyleInfoESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN4arsc9StyleInfoESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4arsc9StyleInfoESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4arsc9StyleInfoESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!20 = !{!15, !15, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


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