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

; 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.arsc::ResTableTypeProjector" = type <{ %"class.arsc::ResTableTypeBuilder.base", i8, ptr, %"class.std::vector.40", %"class.std::unordered_set", i8, [7 x i8] }>
%"class.arsc::ResTableTypeBuilder.base" = type <{ ptr, i32, i8, i8, i8 }>
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<android::ResTable_type *, std::allocator<android::ResTable_type *>>::_Vector_impl" }
%"struct.std::_Vector_base<android::ResTable_type *, std::allocator<android::ResTable_type *>>::_Vector_impl" = type { %"struct.std::_Vector_base<android::ResTable_type *, std::allocator<android::ResTable_type *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<android::ResTable_type *, std::allocator<android::ResTable_type *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.45" }
%"class.std::_Hashtable.45" = 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.arsc::ResTableTypeBuilder" = type <{ ptr, i32, i8, i8, i8, i8 }>
%"struct.android::ResTable_typeSpec" = type { %"struct.android::ResChunk_header", i8, i8, i16, i32 }
%"struct.android::ResChunk_header" = type { i16, i16, i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 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: mustprogress uwtable
declare dso_local void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext, ptr noundef) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4arsc14get_spec_flagsEPN7android17ResTable_typeSpecEt(ptr noundef, i16 noundef zeroext) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc21ResTableTypeProjector14serialize_typeEPN7android13ResTable_typeEmPNS1_6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, i64 noundef, ptr noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc21ResTableTypeProjector9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(105) %0, ptr noundef %1) unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i64, align 8
  %17 = alloca i16, align 2
  %18 = alloca i32, align 4
  %19 = alloca i16, align 2
  %20 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8
  br label %22

22:                                               ; preds = %2
  %23 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 3
  %24 = call noundef zeroext i1 @_ZNKSt6vectorIPN7android13ResTable_typeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  br i1 %24, label %25, label %45

25:                                               ; preds = %22
  br label %26

26:                                               ; preds = %25
  %27 = load ptr, ptr @stderr, align 8, !tbaa !5
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str) #6
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.9) #6
  %31 = load ptr, ptr @stderr, align 8, !tbaa !5
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.5) #6
  br label %33

33:                                               ; preds = %26
  br label %34

34:                                               ; preds = %33
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str) #6
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.arsc::ResTableTypeBuilder", ptr %21, i32 0, i32 2
  %39 = load i8, ptr %38, align 4, !tbaa !9
  %40 = zext i8 %39 to i32
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.10, i32 noundef %40) #6
  %42 = load ptr, ptr @stderr, align 8, !tbaa !5
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.5) #6
  br label %44

44:                                               ; preds = %34
  call void @abort() #7
  unreachable

45:                                               ; preds = %22
  br label %46

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %47 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 2
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = getelementptr inbounds %"struct.android::ResTable_typeSpec", ptr %48, i32 0, i32 4
  %50 = load i32, ptr %49, align 4, !tbaa !25
  store i32 %50, ptr %5, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 0, ptr %6, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !30
  br label %51

51:                                               ; preds = %69, %46
  %52 = load i64, ptr %8, align 8, !tbaa !30
  %53 = load i32, ptr %5, align 4, !tbaa !29
  %54 = zext i32 %53 to i64
  %55 = icmp ult i64 %52, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %72

57:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %58 = load i64, ptr %8, align 8, !tbaa !30
  %59 = call noundef i32 @_ZN4arsc19ResTableTypeBuilder7make_idEm(ptr noundef nonnull align 8 dereferenceable(15) %21, i64 noundef %58)
  store i32 %59, ptr %9, align 4, !tbaa !29
  %60 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 4
  %61 = call noundef i64 @_ZNKSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5countERKj(ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %62 = icmp ne i64 %61, 0
  br i1 %62, label %63, label %66

63:                                               ; preds = %57
  %64 = load i64, ptr %6, align 8, !tbaa !30
  %65 = add i64 %64, 1
  store i64 %65, ptr %6, align 8, !tbaa !30
  br label %68

66:                                               ; preds = %57
  %67 = load i64, ptr %8, align 8, !tbaa !30
  store i64 %67, ptr %7, align 8, !tbaa !30
  br label %68

68:                                               ; preds = %66, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %69

69:                                               ; preds = %68
  %70 = load i64, ptr %8, align 8, !tbaa !30
  %71 = add i64 %70, 1
  store i64 %71, ptr %8, align 8, !tbaa !30
  br label %51, !llvm.loop !31

72:                                               ; preds = %56
  %73 = load i64, ptr %6, align 8, !tbaa !30
  %74 = load i32, ptr %5, align 4, !tbaa !29
  %75 = zext i32 %74 to i64
  %76 = icmp eq i64 %73, %75
  br i1 %76, label %77, label %78

77:                                               ; preds = %72
  store i32 1, ptr %10, align 4
  br label %174

78:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %79 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 5
  %80 = load i8, ptr %79, align 8, !tbaa !33, !range !34, !noundef !35
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %85

82:                                               ; preds = %78
  %83 = load i64, ptr %7, align 8, !tbaa !30
  %84 = add i64 %83, 1
  br label %90

85:                                               ; preds = %78
  %86 = load i32, ptr %5, align 4, !tbaa !29
  %87 = zext i32 %86 to i64
  %88 = load i64, ptr %6, align 8, !tbaa !30
  %89 = sub i64 %87, %88
  br label %90

90:                                               ; preds = %85, %82
  %91 = phi i64 [ %84, %82 ], [ %89, %85 ]
  store i64 %91, ptr %11, align 8, !tbaa !30
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 514, ptr noundef %92)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 16, ptr %12, align 8, !tbaa !30
  %93 = load i64, ptr %12, align 8, !tbaa !30
  %94 = trunc i64 %93 to i16
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext %94, ptr noundef %95)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %96 = load i64, ptr %12, align 8, !tbaa !30
  %97 = load i64, ptr %11, align 8, !tbaa !30
  %98 = mul i64 4, %97
  %99 = add i64 %96, %98
  store i64 %99, ptr %13, align 8, !tbaa !30
  %100 = load i64, ptr %13, align 8, !tbaa !30
  %101 = trunc i64 %100 to i32
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %101, ptr noundef %102)
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  %104 = getelementptr inbounds %"class.arsc::ResTableTypeBuilder", ptr %21, i32 0, i32 2
  %105 = load i8, ptr %104, align 4, !tbaa !9
  store i8 %105, ptr %14, align 1, !tbaa !36
  call void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %103, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  store i8 0, ptr %15, align 1, !tbaa !36
  call void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %106, ptr noundef nonnull align 1 dereferenceable(1) %15)
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = call noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %107)
  store i64 %108, ptr %16, align 8, !tbaa !30
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext -4370, ptr noundef %109)
  %110 = load i64, ptr %11, align 8, !tbaa !30
  %111 = trunc i64 %110 to i32
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %111, ptr noundef %112)
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #6
  store i16 0, ptr %17, align 2, !tbaa !37
  br label %113

113:                                              ; preds = %145, %90
  %114 = load i16, ptr %17, align 2, !tbaa !37
  %115 = zext i16 %114 to i32
  %116 = load i32, ptr %5, align 4, !tbaa !29
  %117 = icmp ult i32 %115, %116
  br i1 %117, label %119, label %118

118:                                              ; preds = %113
  store i32 11, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #6
  br label %148

119:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %120 = load i16, ptr %17, align 2, !tbaa !37
  %121 = zext i16 %120 to i64
  %122 = call noundef i32 @_ZN4arsc19ResTableTypeBuilder7make_idEm(ptr noundef nonnull align 8 dereferenceable(15) %21, i64 noundef %121)
  store i32 %122, ptr %18, align 4, !tbaa !29
  %123 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 4
  %124 = call noundef i64 @_ZNKSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5countERKj(ptr noundef nonnull align 8 dereferenceable(56) %123, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %125 = icmp eq i64 %124, 0
  br i1 %125, label %126, label %132

126:                                              ; preds = %119
  %127 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 2
  %128 = load ptr, ptr %127, align 8, !tbaa !13
  %129 = load i16, ptr %17, align 2, !tbaa !37
  %130 = call noundef i32 @_ZN4arsc14get_spec_flagsEPN7android17ResTable_typeSpecEt(ptr noundef %128, i16 noundef zeroext %129)
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %130, ptr noundef %131)
  br label %144

132:                                              ; preds = %119
  %133 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 5
  %134 = load i8, ptr %133, align 8, !tbaa !33, !range !34, !noundef !35
  %135 = trunc i8 %134 to i1
  br i1 %135, label %136, label %143

136:                                              ; preds = %132
  %137 = load i16, ptr %17, align 2, !tbaa !37
  %138 = zext i16 %137 to i64
  %139 = load i64, ptr %7, align 8, !tbaa !30
  %140 = icmp ule i64 %138, %139
  br i1 %140, label %141, label %143

141:                                              ; preds = %136
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef 0, ptr noundef %142)
  br label %143

143:                                              ; preds = %141, %136, %132
  br label %144

144:                                              ; preds = %143, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %145

145:                                              ; preds = %144
  %146 = load i16, ptr %17, align 2, !tbaa !37
  %147 = add i16 %146, 1
  store i16 %147, ptr %17, align 2, !tbaa !37
  br label %113, !llvm.loop !38

148:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 2, ptr %19) #6
  store i16 0, ptr %19, align 2, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store i64 0, ptr %20, align 8, !tbaa !30
  br label %149

149:                                              ; preds = %167, %148
  %150 = load i64, ptr %20, align 8, !tbaa !30
  %151 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 3
  %152 = call noundef i64 @_ZNKSt6vectorIPN7android13ResTable_typeESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %151) #6
  %153 = icmp ult i64 %150, %152
  br i1 %153, label %155, label %154

154:                                              ; preds = %149
  store i32 14, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %170

155:                                              ; preds = %149
  %156 = getelementptr inbounds %"class.arsc::ResTableTypeProjector", ptr %21, i32 0, i32 3
  %157 = load i64, ptr %20, align 8, !tbaa !30
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7android13ResTable_typeESaIS2_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %156, i64 noundef %157)
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = load i64, ptr %7, align 8, !tbaa !30
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = call noundef zeroext i1 @_ZN4arsc21ResTableTypeProjector14serialize_typeEPN7android13ResTable_typeEmPNS1_6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(105) %21, ptr noundef %159, i64 noundef %160, ptr noundef %161)
  br i1 %162, label %163, label %166

163:                                              ; preds = %155
  %164 = load i16, ptr %19, align 2, !tbaa !37
  %165 = add i16 %164, 1
  store i16 %165, ptr %19, align 2, !tbaa !37
  br label %166

166:                                              ; preds = %163, %155
  br label %167

167:                                              ; preds = %166
  %168 = load i64, ptr %20, align 8, !tbaa !30
  %169 = add i64 %168, 1
  store i64 %169, ptr %20, align 8, !tbaa !30
  br label %149, !llvm.loop !39

170:                                              ; preds = %154
  %171 = load i64, ptr %16, align 8, !tbaa !30
  %172 = load i16, ptr %19, align 2, !tbaa !37
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4arsc12_GLOBAL__N_118write_short_at_posEmtPN7android6VectorIcEE(i64 noundef %171, i16 noundef zeroext %172, ptr noundef %173)
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  store i32 0, ptr %10, align 4
  br label %174

174:                                              ; preds = %170, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  %175 = load i32, ptr %10, align 4
  switch i32 %175, label %177 [
    i32 0, label %176
    i32 1, label %176
  ]

176:                                              ; preds = %174, %174
  ret void

177:                                              ; preds = %174
  unreachable
}

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !7, i64 12}
!10 = !{!"_ZTSN4arsc19ResTableTypeBuilderE", !11, i64 8, !7, i64 12, !12, i64 13, !12, i64 14}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"_ZTSN4arsc21ResTableTypeProjectorE", !10, i64 0, !6, i64 16, !15, i64 24, !19, i64 48, !12, i64 104}
!15 = !{!"_ZTSSt6vectorIPN7android13ResTable_typeESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN7android13ResTable_typeESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7android13ResTable_typeESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7android13ResTable_typeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !6, i64 48}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !21, i64 8}
!24 = !{!"float", !7, i64 0}
!25 = !{!26, !11, i64 12}
!26 = !{!"_ZTSN7android17ResTable_typeSpecE", !27, i64 0, !7, i64 8, !7, i64 9, !28, i64 10, !11, i64 12}
!27 = !{!"_ZTSN7android15ResChunk_headerE", !28, i64 0, !28, i64 2, !11, i64 4}
!28 = !{!"short", !7, i64 0}
!29 = !{!11, !11, i64 0}
!30 = !{!21, !21, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!14, !12, i64 104}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!7, !7, i64 0}
!37 = !{!28, !28, i64 0}
!38 = distinct !{!38, !32}
!39 = distinct !{!39, !32}


; 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"

@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.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 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: mustprogress uwtable
declare dso_local void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext, ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4arsc14get_spec_flagsEPN7android17ResTable_typeSpecEt(ptr noundef, i16 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc21ResTableTypeProjector14serialize_typeEPN7android13ResTable_typeEmPNS1_6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4arsc21ResTableTypeProjector9serializeEPN7android6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(105) %0, ptr noundef %1) unnamed_addr #2 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = tail call noundef zeroext i1 @_ZNKSt6vectorIPN7android13ResTable_typeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br i1 %8, label %9, label %25

9:                                                ; preds = %2
  %10 = load ptr, ptr @stderr, align 8, !tbaa !5
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str) #7
  %12 = load ptr, ptr @stderr, align 8, !tbaa !5
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.9) #7
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str.5) #7
  %16 = load ptr, ptr @stderr, align 8, !tbaa !5
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str) #7
  %18 = load ptr, ptr @stderr, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %0, i64 12
  %20 = load i8, ptr %19, align 4, !tbaa !9
  %21 = zext i8 %20 to i32
  %22 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str.10, i32 noundef %21) #7
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.5) #7
  tail call void @abort() #8
  unreachable

25:                                               ; preds = %2
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %27, i64 12
  %29 = load i32, ptr %28, align 4, !tbaa !25
  %30 = zext i32 %29 to i64
  %.not65 = icmp eq i32 %29, 0
  br i1 %.not65, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %25
  %31 = getelementptr inbounds i8, ptr %0, i64 48
  br label %33

._crit_edge:                                      ; preds = %33, %25
  %.046.lcssa = phi i64 [ 0, %25 ], [ %.147, %33 ]
  %.044.lcssa = phi i64 [ 0, %25 ], [ %.145, %33 ]
  %32 = icmp eq i64 %.044.lcssa, %30
  br i1 %32, label %74, label %38

33:                                               ; preds = %.lr.ph, %33
  %.04454 = phi i64 [ 0, %.lr.ph ], [ %.145, %33 ]
  %.04653 = phi i64 [ 0, %.lr.ph ], [ %.147, %33 ]
  %.04852 = phi i64 [ 0, %.lr.ph ], [ %37, %33 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %34 = call noundef i32 @_ZN4arsc19ResTableTypeBuilder7make_idEm(ptr noundef nonnull align 8 dereferenceable(15) %0, i64 noundef %.04852)
  store i32 %34, ptr %3, align 4, !tbaa !29
  %35 = call noundef i64 @_ZNKSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5countERKj(ptr noundef nonnull align 8 dereferenceable(56) %31, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %.not50 = icmp ne i64 %35, 0
  %.147 = select i1 %.not50, i64 %.04653, i64 %.04852
  %36 = zext i1 %.not50 to i64
  %.145 = add i64 %.04454, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  %37 = add nuw nsw i64 %.04852, 1
  %exitcond.not = icmp eq i64 %37, %30
  br i1 %exitcond.not, label %._crit_edge, label %33, !llvm.loop !30

38:                                               ; preds = %._crit_edge
  %39 = getelementptr inbounds i8, ptr %0, i64 104
  %40 = load i8, ptr %39, align 8, !tbaa !32, !range !33, !noundef !34
  %41 = trunc nuw i8 %40 to i1
  %42 = add i64 %.046.lcssa, 1
  %43 = sub i64 %30, %.044.lcssa
  %44 = select i1 %41, i64 %42, i64 %43
  call void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 514, ptr noundef %1)
  call void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext 16, ptr noundef %1)
  %.tr = trunc i64 %44 to i32
  %45 = shl i32 %.tr, 2
  %46 = add i32 %45, 16
  call void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %46, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  %47 = getelementptr inbounds i8, ptr %0, i64 12
  %48 = load i8, ptr %47, align 4, !tbaa !9
  store i8 %48, ptr %4, align 1, !tbaa !35
  call void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  store i8 0, ptr %5, align 1, !tbaa !35
  call void @_ZN7android6VectorIcE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %49 = call noundef i64 @_ZNK7android6VectorIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  call void @_ZN4arsc10push_shortEtPN7android6VectorIcEE(i16 noundef zeroext -4370, ptr noundef nonnull %1)
  call void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %.tr, ptr noundef nonnull %1)
  br i1 %.not65, label %.preheader, label %.lr.ph59

.lr.ph59:                                         ; preds = %38
  %50 = getelementptr inbounds i8, ptr %0, i64 48
  br label %52

.preheader:                                       ; preds = %63, %38
  %51 = call noundef i64 @_ZNKSt6vectorIPN7android13ResTable_typeESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %.not67 = icmp eq i64 %51, 0
  br i1 %.not67, label %._crit_edge63, label %.lr.ph62

52:                                               ; preds = %.lr.ph59, %63
  %.04357 = phi i16 [ 0, %.lr.ph59 ], [ %64, %63 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %53 = zext i16 %.04357 to i64
  %54 = call noundef i32 @_ZN4arsc19ResTableTypeBuilder7make_idEm(ptr noundef nonnull align 8 dereferenceable(15) %0, i64 noundef %53)
  store i32 %54, ptr %6, align 4, !tbaa !29
  %55 = call noundef i64 @_ZNKSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5countERKj(ptr noundef nonnull align 8 dereferenceable(56) %50, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %56 = icmp eq i64 %55, 0
  br i1 %56, label %57, label %60

57:                                               ; preds = %52
  %58 = load ptr, ptr %26, align 8, !tbaa !13
  %59 = call noundef i32 @_ZN4arsc14get_spec_flagsEPN7android17ResTable_typeSpecEt(ptr noundef %58, i16 noundef zeroext %.04357)
  br label %.sink.split

60:                                               ; preds = %52
  %61 = load i8, ptr %39, align 8, !tbaa !32, !range !33, !noundef !34
  %62 = trunc nuw i8 %61 to i1
  %.not = icmp uge i64 %.046.lcssa, %53
  %or.cond.not = select i1 %62, i1 %.not, i1 false
  br i1 %or.cond.not, label %.sink.split, label %63

.sink.split:                                      ; preds = %60, %57
  %.sink = phi i32 [ %59, %57 ], [ 0, %60 ]
  call void @_ZN4arsc9push_longEjPN7android6VectorIcEE(i32 noundef %.sink, ptr noundef nonnull %1)
  br label %63

63:                                               ; preds = %.sink.split, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %64 = add i16 %.04357, 1
  %65 = zext i16 %64 to i32
  %66 = icmp ugt i32 %29, %65
  br i1 %66, label %52, label %.preheader, !llvm.loop !36

._crit_edge63:                                    ; preds = %.lr.ph62, %.preheader
  %.042.lcssa = phi i16 [ 0, %.preheader ], [ %spec.select, %.lr.ph62 ]
  call void @_ZN4arsc12_GLOBAL__N_118write_short_at_posEmtPN7android6VectorIcEE(i64 noundef %49, i16 noundef zeroext %.042.lcssa, ptr noundef nonnull %1)
  br label %74

.lr.ph62:                                         ; preds = %.preheader, %.lr.ph62
  %.061 = phi i64 [ %71, %.lr.ph62 ], [ 0, %.preheader ]
  %.04260 = phi i16 [ %spec.select, %.lr.ph62 ], [ 0, %.preheader ]
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7android13ResTable_typeESaIS2_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.061)
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = call noundef zeroext i1 @_ZN4arsc21ResTableTypeProjector14serialize_typeEPN7android13ResTable_typeEmPNS1_6VectorIcEE(ptr noundef nonnull align 8 dereferenceable(105) %0, ptr noundef %68, i64 noundef %.046.lcssa, ptr noundef nonnull %1)
  %70 = zext i1 %69 to i16
  %spec.select = add i16 %.04260, %70
  %71 = add nuw i64 %.061, 1
  %72 = call noundef i64 @_ZNKSt6vectorIPN7android13ResTable_typeESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %73 = icmp ult i64 %71, %72
  br i1 %73, label %.lr.ph62, label %._crit_edge63, !llvm.loop !37

74:                                               ; preds = %._crit_edge, %._crit_edge63
  ret void
}

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { cold 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, !7, i64 12}
!10 = !{!"_ZTSN4arsc19ResTableTypeBuilderE", !11, i64 8, !7, i64 12, !12, i64 13, !12, i64 14}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"_ZTSN4arsc21ResTableTypeProjectorE", !10, i64 0, !6, i64 16, !15, i64 24, !19, i64 48, !12, i64 104}
!15 = !{!"_ZTSSt6vectorIPN7android13ResTable_typeESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN7android13ResTable_typeESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7android13ResTable_typeESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7android13ResTable_typeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !6, i64 48}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !21, i64 8}
!24 = !{!"float", !7, i64 0}
!25 = !{!26, !11, i64 12}
!26 = !{!"_ZTSN7android17ResTable_typeSpecE", !27, i64 0, !7, i64 8, !7, i64 9, !28, i64 10, !11, i64 12}
!27 = !{!"_ZTSN7android15ResChunk_headerE", !28, i64 0, !28, i64 2, !11, i64 4}
!28 = !{!"short", !7, i64 0}
!29 = !{!11, !11, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!14, !12, i64 104}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = !{!7, !7, i64 0}
!36 = distinct !{!36, !31}
!37 = distinct !{!37, !31}


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