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

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

%"struct.std::__detail::_Node_iterator.295" = type { %"struct.std::__detail::_Node_iterator_base.296" }
%"struct.std::__detail::_Node_iterator_base.296" = type { ptr }
%"struct.std::__detail::_Node_iterator.301" = type { %"struct.std::__detail::_Node_iterator_base.302" }
%"struct.std::__detail::_Node_iterator_base.302" = type { ptr }
%class.anon.305 = type { ptr }
%class.anon.306 = type { ptr, ptr }
%"class.arsc::ResFileManipulator" = type { %"class.std::unordered_map.188", %"class.std::unordered_map.208", ptr, i64 }
%"class.std::unordered_map.188" = type { %"class.std::_Hashtable.189" }
%"class.std::_Hashtable.189" = 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.std::unordered_map.208" = type { %"class.std::_Hashtable.209" }
%"class.std::_Hashtable.209" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.arsc::ResFileManipulator::Block" = type { %"class.std::unique_ptr", i64, i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.300" }
%"struct.std::_Head_base.300" = type { ptr }
%"struct.std::pair.297" = type { ptr, %"struct.arsc::ResFileManipulator::Block" }
%"struct.std::pair.303" = type { ptr, i64 }

@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.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [64 x i8], align 1

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

; Function Attrs: 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_117write_long_at_posEmjPN7android6VectorIcEE(i64 noundef, i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca %class.anon.305, align 8
  %22 = alloca %class.anon.306, align 8
  %23 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %24 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %25 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %26 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %27 = alloca i32, align 4
  %28 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %31 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %32 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = call noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
  store i64 %34, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %35 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 3
  %36 = load i64, ptr %35, align 8, !tbaa !11
  store i64 %36, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %37 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 1
  store ptr %37, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %38) #7
  %40 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.295", ptr %8, i32 0, i32 0
  %41 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.296", ptr %40, i32 0, i32 0
  store ptr %39, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %42) #7
  %44 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.295", ptr %9, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.296", ptr %44, i32 0, i32 0
  store ptr %43, ptr %45, align 8
  br label %46

46:                                               ; preds = %60, %2
  %47 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %47, label %49, label %48

48:                                               ; preds = %46
  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 %62

49:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %50 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  store ptr %50, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKPcN4arsc18ResFileManipulator5BlockEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %51) #7
  store ptr %52, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1EKPcN4arsc18ResFileManipulator5BlockEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  store ptr %54, ptr %12, align 8, !tbaa !5
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.arsc::ResFileManipulator::Block", ptr %55, i32 0, i32 1
  %57 = load i64, ptr %56, align 8, !tbaa !20
  %58 = load i64, ptr %6, align 8, !tbaa !9
  %59 = add i64 %58, %57
  store i64 %59, ptr %6, align 8, !tbaa !9
  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 %10) #7
  br label %60

60:                                               ; preds = %49
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br label %46

62:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %63 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 0
  store ptr %63, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %64) #7
  %66 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.301", ptr %14, i32 0, i32 0
  %67 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.302", ptr %66, i32 0, i32 0
  store ptr %65, ptr %67, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %68) #7
  %70 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.301", ptr %15, i32 0, i32 0
  %71 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.302", ptr %70, i32 0, i32 0
  store ptr %69, ptr %71, align 8
  br label %72

72:                                               ; preds = %85, %62
  %73 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcmELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %73, label %75, label %74

74:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %87

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  store ptr %76, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %77 = load ptr, ptr %16, align 8, !tbaa !5
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKPcmERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %77) #7
  store ptr %78, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EKPcmERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %79) #7
  store ptr %80, ptr %18, align 8, !tbaa !5
  %81 = load ptr, ptr %18, align 8, !tbaa !5
  %82 = load i64, ptr %81, align 8, !tbaa !9
  %83 = load i64, ptr %6, align 8, !tbaa !9
  %84 = sub i64 %83, %82
  store i64 %84, ptr %6, align 8, !tbaa !9
  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 %85

85:                                               ; preds = %75
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %72

87:                                               ; preds = %74
  br label %88

88:                                               ; preds = %87
  %89 = load i64, ptr %6, align 8, !tbaa !9
  %90 = icmp slt i64 %89, 0
  br i1 %90, label %91, label %110

91:                                               ; preds = %88
  br label %92

92:                                               ; preds = %91
  %93 = load ptr, ptr @stderr, align 8, !tbaa !5
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str) #7
  %95 = load ptr, ptr @stderr, align 8, !tbaa !5
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.32) #7
  %97 = load ptr, ptr @stderr, align 8, !tbaa !5
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.5) #7
  br label %99

99:                                               ; preds = %92
  br label %100

100:                                              ; preds = %99
  br label %101

101:                                              ; preds = %100
  %102 = load ptr, ptr @stderr, align 8, !tbaa !5
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str) #7
  %104 = load ptr, ptr @stderr, align 8, !tbaa !5
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.33) #7
  %106 = load ptr, ptr @stderr, align 8, !tbaa !5
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.5) #7
  br label %108

108:                                              ; preds = %101
  br label %109

109:                                              ; preds = %108
  call void @abort() #8
  unreachable

110:                                              ; preds = %88
  br label %111

111:                                              ; preds = %110
  br label %112

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %113 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 2
  %114 = load ptr, ptr %113, align 8, !tbaa !28
  store ptr %114, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store i64 0, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %115 = getelementptr inbounds %class.anon.305, ptr %21, i32 0, i32 0
  store ptr %4, ptr %115, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  %116 = getelementptr inbounds %class.anon.306, ptr %22, i32 0, i32 0
  store ptr %20, ptr %116, align 8, !tbaa !5
  %117 = getelementptr inbounds %class.anon.306, ptr %22, i32 0, i32 1
  store ptr %19, ptr %117, align 8, !tbaa !5
  br label %118

118:                                              ; preds = %155, %153, %112
  %119 = load i64, ptr %20, align 8, !tbaa !9
  %120 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 3
  %121 = load i64, ptr %120, align 8, !tbaa !11
  %122 = icmp ult i64 %119, %121
  br i1 %122, label %123, label %156

123:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %124 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 1
  %125 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %124, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %126 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.295", ptr %23, i32 0, i32 0
  %127 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.296", ptr %126, i32 0, i32 0
  store ptr %125, ptr %127, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %128 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 1
  %129 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %128) #7
  %130 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.295", ptr %24, i32 0, i32 0
  %131 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.296", ptr %130, i32 0, i32 0
  store ptr %129, ptr %131, align 8
  %132 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br i1 %132, label %133, label %136

133:                                              ; preds = %123
  %134 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %135 = getelementptr inbounds %"struct.std::pair.297", ptr %134, i32 0, i32 1
  call void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_0clERKNS0_5BlockE"(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(24) %135)
  br label %136

136:                                              ; preds = %133, %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %137 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 0
  %138 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56) %137, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %139 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.301", ptr %25, i32 0, i32 0
  %140 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.302", ptr %139, i32 0, i32 0
  store ptr %138, ptr %140, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %141 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 0
  %142 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %141) #7
  %143 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.301", ptr %26, i32 0, i32 0
  %144 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.302", ptr %143, i32 0, i32 0
  store ptr %142, ptr %144, align 8
  %145 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcmELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br i1 %145, label %146, label %150

146:                                              ; preds = %136
  %147 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %148 = getelementptr inbounds %"struct.std::pair.303", ptr %147, i32 0, i32 1
  %149 = load i64, ptr %148, align 8, !tbaa !29
  call void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_1clEm"(ptr noundef nonnull align 8 dereferenceable(16) %22, i64 noundef %149)
  store i32 12, ptr %27, align 4
  br label %153, !llvm.loop !31

150:                                              ; preds = %136
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %151, ptr noundef nonnull align 1 dereferenceable(1) %152)
  call void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_1clEm"(ptr noundef nonnull align 8 dereferenceable(16) %22, i64 noundef 1)
  store i32 0, ptr %27, align 4
  br label %153

153:                                              ; preds = %150, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  %154 = load i32, ptr %27, align 4
  switch i32 %154, label %216 [
    i32 0, label %155
    i32 12, label %118
  ]

155:                                              ; preds = %153
  br label %118, !llvm.loop !31

156:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %157 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %158 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 2
  %159 = load ptr, ptr %158, align 8, !tbaa !28
  %160 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 3
  %161 = load i64, ptr %160, align 8, !tbaa !11
  %162 = getelementptr inbounds i8, ptr %159, i64 %161
  store ptr %162, ptr %29, align 8, !tbaa !5
  %163 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %157, ptr noundef nonnull align 8 dereferenceable(8) %29)
  %164 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.295", ptr %28, i32 0, i32 0
  %165 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.296", ptr %164, i32 0, i32 0
  store ptr %163, ptr %165, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %166 = getelementptr inbounds %"class.arsc::ResFileManipulator", ptr %32, i32 0, i32 1
  %167 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %166) #7
  %168 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.295", ptr %30, i32 0, i32 0
  %169 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.296", ptr %168, i32 0, i32 0
  store ptr %167, ptr %169, align 8
  %170 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br i1 %170, label %171, label %174

171:                                              ; preds = %156
  %172 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %173 = getelementptr inbounds %"struct.std::pair.297", ptr %172, i32 0, i32 1
  call void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_0clERKNS0_5BlockE"(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(24) %173)
  br label %174

174:                                              ; preds = %171, %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = call noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %175)
  %177 = load i64, ptr %5, align 8, !tbaa !9
  %178 = sub i64 %176, %177
  store i64 %178, ptr %31, align 8, !tbaa !9
  br label %179

179:                                              ; preds = %174
  %180 = load i64, ptr %31, align 8, !tbaa !9
  %181 = load i64, ptr %6, align 8, !tbaa !9
  %182 = icmp ne i64 %180, %181
  br i1 %182, label %183, label %204

183:                                              ; preds = %179
  br label %184

184:                                              ; preds = %183
  %185 = load ptr, ptr @stderr, align 8, !tbaa !5
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %185, ptr noundef @.str) #7
  %187 = load ptr, ptr @stderr, align 8, !tbaa !5
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.34) #7
  %189 = load ptr, ptr @stderr, align 8, !tbaa !5
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str.5) #7
  br label %191

191:                                              ; preds = %184
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192
  %194 = load ptr, ptr @stderr, align 8, !tbaa !5
  %195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str) #7
  %196 = load ptr, ptr @stderr, align 8, !tbaa !5
  %197 = load i64, ptr %31, align 8, !tbaa !9
  %198 = load i64, ptr %6, align 8, !tbaa !9
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.35, i64 noundef %197, i64 noundef %198) #7
  %200 = load ptr, ptr @stderr, align 8, !tbaa !5
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef @.str.5) #7
  br label %202

202:                                              ; preds = %193
  br label %203

203:                                              ; preds = %202
  call void @abort() #8
  unreachable

204:                                              ; preds = %179
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  %207 = load i64, ptr %31, align 8, !tbaa !9
  %208 = icmp uge i64 %207, 8
  br i1 %208, label %209, label %215

209:                                              ; preds = %206
  %210 = load i64, ptr %5, align 8, !tbaa !9
  %211 = add i64 %210, 4
  %212 = load i64, ptr %6, align 8, !tbaa !9
  %213 = trunc i64 %212 to i32
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc12_GLOBAL__N_117write_long_at_posEmjPN7android6VectorIcEE(i64 noundef %211, i32 noundef %213, ptr noundef %214)
  br label %215

215:                                              ; preds = %209, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void

216:                                              ; preds = %153
  unreachable
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEdeEv(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 @_ZSt3getILm0EKPcN4arsc18ResFileManipulator5BlockEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(32)) #5

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEdeEv(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 @_ZSt3getILm0EKPcmERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS6_(ptr noundef nonnull align 8 dereferenceable(16)) #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_0clERKNS0_5BlockE"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_1clEm"(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 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 = { 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 #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !10, i64 120}
!12 = !{!"_ZTSN4arsc18ResFileManipulatorE", !13, i64 0, !18, i64 56, !6, i64 112, !10, i64 120}
!13 = !{!"_ZTSSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE", !14, i64 0}
!14 = !{!"_ZTSSt10_HashtableIPcSt4pairIKS0_mESaIS3_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !10, i64 8, !15, i64 16, !10, i64 24, !16, i64 32, !6, i64 48}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !10, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTSSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE", !19, i64 0}
!19 = !{!"_ZTSSt10_HashtableIPcSt4pairIKS0_N4arsc18ResFileManipulator5BlockEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !10, i64 8, !15, i64 16, !10, i64 24, !16, i64 32, !6, i64 48}
!20 = !{!21, !10, i64 8}
!21 = !{!"_ZTSN4arsc18ResFileManipulator5BlockE", !22, i64 0, !10, i64 8, !10, i64 16}
!22 = !{!"_ZTSSt10unique_ptrIA_cSt14default_deleteIS0_EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_dataIcSt14default_deleteIA_cELb1ELb1EE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_implIcSt14default_deleteIA_cEE", !25, i64 0}
!25 = !{!"_ZTSSt5tupleIJPcSt14default_deleteIA_cEEE", !26, i64 0}
!26 = !{!"_ZTSSt11_Tuple_implILm0EJPcSt14default_deleteIA_cEEE", !27, i64 0}
!27 = !{!"_ZTSSt10_Head_baseILm0EPcLb0EE", !6, i64 0}
!28 = !{!12, !6, i64 112}
!29 = !{!30, !10, i64 8}
!30 = !{!"_ZTSSt4pairIKPcmE", !6, i64 0, !10, i64 8}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


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

%"struct.std::__detail::_Node_iterator.295" = type { %"struct.std::__detail::_Node_iterator_base.296" }
%"struct.std::__detail::_Node_iterator_base.296" = type { ptr }
%"struct.std::__detail::_Node_iterator.301" = type { %"struct.std::__detail::_Node_iterator_base.302" }
%"struct.std::__detail::_Node_iterator_base.302" = type { ptr }
%class.anon.305 = type { ptr }
%class.anon.306 = type { ptr, 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.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [64 x i8], align 1

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

; Function Attrs: 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4arsc12_GLOBAL__N_117write_long_at_posEmjPN7android6VectorIcEE(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %1) local_unnamed_addr #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca %class.anon.305, align 8
  %11 = alloca %class.anon.306, align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %13 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %14 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %16 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::__detail::_Node_iterator.295", align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  %19 = tail call noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %20 = getelementptr inbounds i8, ptr %0, i64 120
  %21 = load i64, ptr %20, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %23 = tail call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %22) #7
  store ptr %23, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %24 = tail call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %22) #7
  store ptr %24, ptr %5, align 8
  %25 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %25, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %2
  %.0.lcssa = phi i64 [ %21, %2 ], [ %34, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %26 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #7
  store ptr %26, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %27 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #7
  store ptr %27, ptr %7, align 8
  %28 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcmELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %28, label %.lr.ph26, label %._crit_edge27

.lr.ph:                                           ; preds = %2, %.lr.ph
  %.023 = phi i64 [ %34, %.lr.ph ], [ %21, %2 ]
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKPcN4arsc18ResFileManipulator5BlockEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1EKPcN4arsc18ResFileManipulator5BlockEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load i64, ptr %32, align 8, !tbaa !19
  %34 = add i64 %33, %.023
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %36 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %36, label %.lr.ph, label %._crit_edge

._crit_edge27:                                    ; preds = %.lr.ph26, %._crit_edge
  %.1.lcssa = phi i64 [ %.0.lcssa, %._crit_edge ], [ %42, %.lr.ph26 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %37 = icmp slt i64 %.1.lcssa, 0
  br i1 %37, label %45, label %58

.lr.ph26:                                         ; preds = %._crit_edge, %.lr.ph26
  %.124 = phi i64 [ %42, %.lr.ph26 ], [ %.0.lcssa, %._crit_edge ]
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKPcmERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EKPcmERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  %41 = load i64, ptr %40, align 8, !tbaa !27
  %42 = sub i64 %.124, %41
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %44 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcmELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %44, label %.lr.ph26, label %._crit_edge27

45:                                               ; preds = %._crit_edge27
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str) #8
  %48 = load ptr, ptr @stderr, align 8, !tbaa !5
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str.32) #8
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.5) #8
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str) #8
  %54 = load ptr, ptr @stderr, align 8, !tbaa !5
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef nonnull @.str.33) #8
  %56 = load ptr, ptr @stderr, align 8, !tbaa !5
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str.5) #8
  call void @abort() #9
  unreachable

58:                                               ; preds = %._crit_edge27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %59 = getelementptr inbounds i8, ptr %0, i64 112
  %60 = load ptr, ptr %59, align 8, !tbaa !28
  store ptr %60, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store i64 0, ptr %9, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store ptr %3, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  store ptr %9, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %8, ptr %61, align 8, !tbaa !5
  %62 = load i64, ptr %20, align 8, !tbaa !9
  %.not36 = icmp eq i64 %62, 0
  br i1 %.not36, label %._crit_edge31, label %.lr.ph30

.lr.ph30:                                         ; preds = %58, %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %63 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %22, ptr noundef nonnull align 8 dereferenceable(8) %8)
  store ptr %63, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %64 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %22) #7
  store ptr %64, ptr %13, align 8
  %65 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br i1 %65, label %66, label %69

66:                                               ; preds = %.lr.ph30
  %67 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  call void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_0clERKNS0_5BlockE"(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(24) %68)
  br label %69

69:                                               ; preds = %66, %.lr.ph30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %70 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %8)
  store ptr %70, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %71 = call ptr @_ZNSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #7
  store ptr %71, ptr %15, align 8
  %72 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcmELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br i1 %72, label %73, label %77

73:                                               ; preds = %69
  %74 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  %76 = load i64, ptr %75, align 8, !tbaa !29
  br label %80, !llvm.loop !31

77:                                               ; preds = %69
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %78, ptr noundef nonnull align 1 dereferenceable(1) %79)
  br label %80

80:                                               ; preds = %77, %73
  %.sink = phi i64 [ 1, %77 ], [ %76, %73 ]
  call void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_1clEm"(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %.sink)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %81 = load i64, ptr %9, align 8, !tbaa !27
  %82 = load i64, ptr %20, align 8, !tbaa !9
  %83 = icmp ult i64 %81, %82
  br i1 %83, label %.lr.ph30, label %._crit_edge31.loopexit

._crit_edge31.loopexit:                           ; preds = %80
  %.pre = load ptr, ptr %59, align 8, !tbaa !28
  br label %._crit_edge31

._crit_edge31:                                    ; preds = %._crit_edge31.loopexit, %58
  %84 = phi ptr [ %60, %58 ], [ %.pre, %._crit_edge31.loopexit ]
  %.lcssa = phi i64 [ 0, %58 ], [ %82, %._crit_edge31.loopexit ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %85 = getelementptr inbounds i8, ptr %84, i64 %.lcssa
  store ptr %85, ptr %17, align 8, !tbaa !5
  %86 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %22, ptr noundef nonnull align 8 dereferenceable(8) %17)
  store ptr %86, ptr %16, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %87 = call ptr @_ZNSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %22) #7
  store ptr %87, ptr %18, align 8
  %88 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br i1 %88, label %89, label %92

89:                                               ; preds = %._crit_edge31
  %90 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  call void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_0clERKNS0_5BlockE"(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(24) %91)
  br label %92

92:                                               ; preds = %89, %._crit_edge31
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = call noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %93)
  %95 = sub i64 %94, %19
  %.not = icmp eq i64 %95, %.1.lcssa
  br i1 %.not, label %109, label %96

96:                                               ; preds = %92
  %97 = load ptr, ptr @stderr, align 8, !tbaa !5
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef nonnull @.str) #8
  %99 = load ptr, ptr @stderr, align 8, !tbaa !5
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.34) #8
  %101 = load ptr, ptr @stderr, align 8, !tbaa !5
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef nonnull @.str.5) #8
  %103 = load ptr, ptr @stderr, align 8, !tbaa !5
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef nonnull @.str) #8
  %105 = load ptr, ptr @stderr, align 8, !tbaa !5
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef nonnull @.str.35, i64 noundef %95, i64 noundef %.1.lcssa) #8
  %107 = load ptr, ptr @stderr, align 8, !tbaa !5
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.5) #8
  call void @abort() #9
  unreachable

109:                                              ; preds = %92
  %110 = icmp ugt i64 %.1.lcssa, 7
  br i1 %110, label %111, label %115

111:                                              ; preds = %109
  %112 = add i64 %19, 4
  %113 = trunc i64 %.1.lcssa to i32
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4arsc12_GLOBAL__N_117write_long_at_posEmjPN7android6VectorIcEE(i64 noundef %112, i32 noundef %113, ptr noundef %114)
  br label %115

115:                                              ; preds = %111, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  ret void
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcN4arsc18ResFileManipulator5BlockEELb0ELb0EEdeEv(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 @_ZSt3getILm0EKPcN4arsc18ResFileManipulator5BlockEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEdeEv(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 @_ZSt3getILm0EKPcmERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS6_(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_0clERKNS0_5BlockE"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN4arsc18ResFileManipulator9serializeEPN7android6VectorIcEEENK3$_1clEm"(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPcmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 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 = { 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 #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !13, i64 120}
!10 = !{!"_ZTSN4arsc18ResFileManipulatorE", !11, i64 0, !17, i64 56, !6, i64 112, !13, i64 120}
!11 = !{!"_ZTSSt13unordered_mapIPcmSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_mEEE", !12, i64 0}
!12 = !{!"_ZTSSt10_HashtableIPcSt4pairIKS0_mESaIS3_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !6, i64 48}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!15 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !13, i64 8}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTSSt13unordered_mapIPcN4arsc18ResFileManipulator5BlockESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE", !18, i64 0}
!18 = !{!"_ZTSSt10_HashtableIPcSt4pairIKS0_N4arsc18ResFileManipulator5BlockEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !6, i64 48}
!19 = !{!20, !13, i64 8}
!20 = !{!"_ZTSN4arsc18ResFileManipulator5BlockE", !21, i64 0, !13, i64 8, !13, i64 16}
!21 = !{!"_ZTSSt10unique_ptrIA_cSt14default_deleteIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_dataIcSt14default_deleteIA_cELb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_implIcSt14default_deleteIA_cEE", !24, i64 0}
!24 = !{!"_ZTSSt5tupleIJPcSt14default_deleteIA_cEEE", !25, i64 0}
!25 = !{!"_ZTSSt11_Tuple_implILm0EJPcSt14default_deleteIA_cEEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm0EPcLb0EE", !6, i64 0}
!27 = !{!13, !13, i64 0}
!28 = !{!10, !6, i64 112}
!29 = !{!30, !13, i64 8}
!30 = !{!"_ZTSSt4pairIKPcmE", !6, i64 0, !13, i64 8}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


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