; LLVM IR from facebook/redex :: libresource/ResourceTypes.ll (ZNK7android10ResXMLTree12validateNodeEPKNS_15ResXMLTree_nodeE)

; 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.android::ResXMLTree_node" = type { %"struct.android::ResChunk_header", i32, %"struct.android::ResStringPool_ref" }
%"struct.android::ResChunk_header" = type { i16, i16, i32 }
%"struct.android::ResStringPool_ref" = type { i32 }
%"class.android::ResXMLTree" = type <{ %"class.android::ResXMLParser.base", [4 x i8], %"class.std::shared_ptr", i32, [4 x i8], ptr, ptr, i64, ptr, %"class.android::ResStringPool", ptr, i64, ptr, ptr, i32, [4 x i8] }>
%"class.android::ResXMLParser.base" = type <{ ptr, i32, [4 x i8], ptr, ptr, i32 }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.android::ResStringPool" = type <{ ptr, i32, [4 x i8], ptr, ptr, i64, %"class.std::mutex", ptr, ptr, ptr, ptr, i32, [4 x i8], ptr, i32, [4 x i8] }>
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"struct.android::ResXMLTree_attrExt" = type { %"struct.android::ResStringPool_ref", %"struct.android::ResStringPool_ref", i16, i16, i16, i16, i16, i16 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [55 x i8], align 1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN7androidL14validate_chunkEPKNS_15ResChunk_headerEmPKhPKc(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK7android10ResXMLTree12validateNodeEPKNS_15ResXMLTree_nodeE(ptr noundef nonnull align 8 dereferenceable(268) %0, ptr noundef %1) #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i16, align 2
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i16, align 2
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #4
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.android::ResXMLTree_node", ptr %14, i32 0, i32 0
  %16 = getelementptr inbounds %"struct.android::ResChunk_header", ptr %15, i32 0, i32 0
  %17 = load i16, ptr %16, align 4, !tbaa !9
  store i16 %17, ptr %6, align 2, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.android::ResXMLTree_node", ptr %18, i32 0, i32 0
  %20 = getelementptr inbounds %"class.android::ResXMLTree", ptr %13, i32 0, i32 8
  %21 = load ptr, ptr %20, align 8, !tbaa !16
  %22 = call noundef i32 @_ZN7androidL14validate_chunkEPKNS_15ResChunk_headerEmPKhPKc(ptr noundef %19, i64 noundef 16, ptr noundef %21, ptr noundef @.str.31)
  store i32 %22, ptr %7, align 4, !tbaa !27
  %23 = load i32, ptr %7, align 4, !tbaa !27
  %24 = icmp sge i32 %23, 0
  br i1 %24, label %25, label %116

25:                                               ; preds = %2
  %26 = load i16, ptr %6, align 2, !tbaa !15
  %27 = zext i16 %26 to i32
  %28 = icmp ne i32 %27, 258
  br i1 %28, label %29, label %30

29:                                               ; preds = %25
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #4
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.android::ResXMLTree_node", ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds %"struct.android::ResChunk_header", ptr %32, i32 0, i32 1
  %34 = load i16, ptr %33, align 2, !tbaa !28
  store i16 %34, ptr %9, align 2, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.android::ResXMLTree_node", ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %"struct.android::ResChunk_header", ptr %36, i32 0, i32 2
  %38 = load i32, ptr %37, align 4, !tbaa !29
  store i32 %38, ptr %10, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = load i16, ptr %9, align 2, !tbaa !15
  %41 = zext i16 %40 to i32
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds i8, ptr %39, i64 %42
  store ptr %43, ptr %11, align 8, !tbaa !5
  %44 = load i32, ptr %10, align 4, !tbaa !27
  %45 = zext i32 %44 to i64
  %46 = load i16, ptr %9, align 2, !tbaa !15
  %47 = zext i16 %46 to i64
  %48 = add i64 %47, 20
  %49 = icmp uge i64 %45, %48
  br i1 %49, label %50, label %101

50:                                               ; preds = %30
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = icmp ugt ptr %51, %52
  br i1 %53, label %54, label %101

54:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.android::ResXMLTree_attrExt", ptr %55, i32 0, i32 3
  %57 = load i16, ptr %56, align 2, !tbaa !30
  %58 = zext i16 %57 to i64
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.android::ResXMLTree_attrExt", ptr %59, i32 0, i32 4
  %61 = load i16, ptr %60, align 4, !tbaa !32
  %62 = zext i16 %61 to i64
  %63 = mul i64 %58, %62
  store i64 %63, ptr %12, align 8, !tbaa !33
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.android::ResXMLTree_attrExt", ptr %64, i32 0, i32 2
  %66 = load i16, ptr %65, align 4, !tbaa !34
  %67 = zext i16 %66 to i64
  %68 = load i64, ptr %12, align 8, !tbaa !33
  %69 = add i64 %67, %68
  %70 = load i32, ptr %10, align 4, !tbaa !27
  %71 = load i16, ptr %9, align 2, !tbaa !15
  %72 = zext i16 %71 to i32
  %73 = sub i32 %70, %72
  %74 = zext i32 %73 to i64
  %75 = icmp ule i64 %69, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %54
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %98

77:                                               ; preds = %54
  br label %78

78:                                               ; preds = %77
  %79 = load ptr, ptr @stderr, align 8, !tbaa !5
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str) #4
  %81 = load ptr, ptr @stderr, align 8, !tbaa !5
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.android::ResXMLTree_attrExt", ptr %82, i32 0, i32 2
  %84 = load i16, ptr %83, align 4, !tbaa !34
  %85 = zext i16 %84 to i64
  %86 = load i64, ptr %12, align 8, !tbaa !33
  %87 = add i64 %85, %86
  %88 = trunc i64 %87 to i32
  %89 = load i32, ptr %10, align 4, !tbaa !27
  %90 = load i16, ptr %9, align 2, !tbaa !15
  %91 = zext i16 %90 to i32
  %92 = sub i32 %89, %91
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.32, i32 noundef %88, i32 noundef %92) #4
  %94 = load ptr, ptr @stderr, align 8, !tbaa !5
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.2) #4
  br label %96

96:                                               ; preds = %78
  br label %97

97:                                               ; preds = %96
  store i32 0, ptr %8, align 4
  br label %98

98:                                               ; preds = %97, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %99 = load i32, ptr %8, align 4
  switch i32 %99, label %115 [
    i32 0, label %100
  ]

100:                                              ; preds = %98
  br label %114

101:                                              ; preds = %50, %30
  br label %102

102:                                              ; preds = %101
  %103 = load ptr, ptr @stderr, align 8, !tbaa !5
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str) #4
  %105 = load ptr, ptr @stderr, align 8, !tbaa !5
  %106 = load i16, ptr %9, align 2, !tbaa !15
  %107 = zext i16 %106 to i32
  %108 = load i32, ptr %10, align 4, !tbaa !27
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef @.str.33, i32 noundef %107, i32 noundef %108) #4
  %110 = load ptr, ptr @stderr, align 8, !tbaa !5
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str.2) #4
  br label %112

112:                                              ; preds = %102
  br label %113

113:                                              ; preds = %112
  br label %114

114:                                              ; preds = %113, %100
  store i32 -2147483647, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %115

115:                                              ; preds = %114, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #4
  br label %118

116:                                              ; preds = %2
  %117 = load i32, ptr %7, align 4, !tbaa !27
  store i32 %117, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

118:                                              ; preds = %116, %115, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #4
  %119 = load i32, ptr %3, align 4
  ret i32 %119
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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, !12, i64 0}
!10 = !{!"_ZTSN7android15ResXMLTree_nodeE", !11, i64 0, !13, i64 8, !14, i64 12}
!11 = !{!"_ZTSN7android15ResChunk_headerE", !12, i64 0, !12, i64 2, !13, i64 4}
!12 = !{!"short", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSN7android17ResStringPool_refE", !13, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !6, i64 88}
!17 = !{!"_ZTSN7android10ResXMLTreeE", !18, i64 0, !20, i64 40, !13, i64 56, !6, i64 64, !6, i64 72, !23, i64 80, !6, i64 88, !24, i64 96, !6, i64 232, !23, i64 240, !6, i64 248, !6, i64 256, !19, i64 264}
!18 = !{!"_ZTSN7android12ResXMLParserE", !6, i64 0, !19, i64 8, !6, i64 16, !6, i64 24, !13, i64 32}
!19 = !{!"_ZTSN7android12ResXMLParser12event_code_tE", !7, i64 0}
!20 = !{!"_ZTSSt10shared_ptrIKN7android15DynamicRefTableEE", !21, i64 0}
!21 = !{!"_ZTSSt12__shared_ptrIKN7android15DynamicRefTableELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !22, i64 8}
!22 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN7android13ResStringPoolE", !13, i64 8, !6, i64 16, !6, i64 24, !23, i64 32, !25, i64 40, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !13, i64 112, !6, i64 120, !13, i64 128}
!25 = !{!"_ZTSSt5mutex", !26, i64 0}
!26 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!27 = !{!13, !13, i64 0}
!28 = !{!10, !12, i64 2}
!29 = !{!10, !13, i64 4}
!30 = !{!31, !12, i64 10}
!31 = !{!"_ZTSN7android18ResXMLTree_attrExtE", !14, i64 0, !14, i64 4, !12, i64 8, !12, i64 10, !12, i64 12, !12, i64 14, !12, i64 16, !12, i64 18}
!32 = !{!31, !12, i64 12}
!33 = !{!23, !23, i64 0}
!34 = !{!31, !12, i64 8}


; 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 [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [55 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN7androidL14validate_chunkEPKNS_15ResChunk_headerEmPKhPKc(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef range(i32 -2147483648, 1) i32 @_ZNK7android10ResXMLTree12validateNodeEPKNS_15ResXMLTree_nodeE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(268) %0, ptr noundef %1) local_unnamed_addr #1 align 2 {
  %3 = load i16, ptr %1, align 4, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 88
  %5 = load ptr, ptr %4, align 8, !tbaa !13
  %6 = tail call noundef i32 @_ZN7androidL14validate_chunkEPKNS_15ResChunk_headerEmPKhPKc(ptr noundef nonnull %1, i64 noundef 16, ptr noundef %5, ptr noundef nonnull @.str.31)
  %7 = icmp sgt i32 %6, -1
  br i1 %7, label %8, label %.critedge

8:                                                ; preds = %2
  %.not = icmp eq i16 %3, 258
  br i1 %.not, label %9, label %.critedge

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %1, i64 2
  %11 = load i16, ptr %10, align 2, !tbaa !25
  %12 = getelementptr inbounds i8, ptr %1, i64 4
  %13 = load i32, ptr %12, align 4, !tbaa !26
  %14 = zext i16 %11 to i32
  %15 = zext i16 %11 to i64
  %16 = zext i32 %13 to i64
  %17 = add nuw nsw i64 %15, 20
  %.not29 = icmp ugt i64 %17, %16
  %.not30 = icmp eq i16 %11, 0
  %or.cond = or i1 %.not30, %.not29
  br i1 %or.cond, label %42, label %18

18:                                               ; preds = %9
  %19 = getelementptr inbounds i8, ptr %1, i64 %15
  %20 = getelementptr inbounds i8, ptr %19, i64 10
  %21 = load i16, ptr %20, align 2, !tbaa !27
  %22 = zext i16 %21 to i64
  %23 = getelementptr inbounds i8, ptr %19, i64 12
  %24 = load i16, ptr %23, align 4, !tbaa !29
  %25 = zext i16 %24 to i64
  %26 = mul nuw nsw i64 %25, %22
  %27 = getelementptr inbounds i8, ptr %19, i64 8
  %28 = load i16, ptr %27, align 4, !tbaa !30
  %29 = zext i16 %28 to i64
  %30 = add nuw nsw i64 %26, %29
  %31 = sub i32 %13, %14
  %32 = zext i32 %31 to i64
  %.not31 = icmp ugt i64 %30, %32
  br i1 %.not31, label %33, label %.critedge

33:                                               ; preds = %18
  %34 = load ptr, ptr @stderr, align 8, !tbaa !31
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @.str) #2
  %36 = load ptr, ptr @stderr, align 8, !tbaa !31
  %37 = load i16, ptr %27, align 4, !tbaa !30
  %38 = zext i16 %37 to i64
  %39 = add nuw nsw i64 %26, %38
  %40 = trunc nuw i64 %39 to i32
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.32, i32 noundef %40, i32 noundef %31) #2
  br label %.critedge.sink.split

42:                                               ; preds = %9
  %43 = load ptr, ptr @stderr, align 8, !tbaa !31
  %44 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str) #2
  %45 = load ptr, ptr @stderr, align 8, !tbaa !31
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.33, i32 noundef %14, i32 noundef %13) #2
  br label %.critedge.sink.split

.critedge.sink.split:                             ; preds = %33, %42
  %47 = load ptr, ptr @stderr, align 8, !tbaa !31
  %48 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.2) #2
  br label %.critedge

.critedge:                                        ; preds = %.critedge.sink.split, %2, %18, %8
  %.2 = phi i32 [ 0, %8 ], [ 0, %18 ], [ %6, %2 ], [ -2147483647, %.critedge.sink.split ]
  ret i32 %.2
}

attributes #0 = { 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 #1 = { 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 #2 = { cold 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, !8, i64 0}
!6 = !{!"_ZTSN7android15ResXMLTree_nodeE", !7, i64 0, !11, i64 8, !12, i64 12}
!7 = !{!"_ZTSN7android15ResChunk_headerE", !8, i64 0, !8, i64 2, !11, i64 4}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTSN7android17ResStringPool_refE", !11, i64 0}
!13 = !{!14, !16, i64 88}
!14 = !{!"_ZTSN7android10ResXMLTreeE", !15, i64 0, !18, i64 40, !11, i64 56, !16, i64 64, !16, i64 72, !21, i64 80, !16, i64 88, !22, i64 96, !16, i64 232, !21, i64 240, !16, i64 248, !16, i64 256, !17, i64 264}
!15 = !{!"_ZTSN7android12ResXMLParserE", !16, i64 0, !17, i64 8, !16, i64 16, !16, i64 24, !11, i64 32}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!"_ZTSN7android12ResXMLParser12event_code_tE", !9, i64 0}
!18 = !{!"_ZTSSt10shared_ptrIKN7android15DynamicRefTableEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrIKN7android15DynamicRefTableELN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0}
!21 = !{!"long", !9, i64 0}
!22 = !{!"_ZTSN7android13ResStringPoolE", !11, i64 8, !16, i64 16, !16, i64 24, !21, i64 32, !23, i64 40, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !11, i64 112, !16, i64 120, !11, i64 128}
!23 = !{!"_ZTSSt5mutex", !24, i64 0}
!24 = !{!"_ZTSSt12__mutex_base", !9, i64 0}
!25 = !{!6, !8, i64 2}
!26 = !{!6, !11, i64 4}
!27 = !{!28, !8, i64 10}
!28 = !{!"_ZTSN7android18ResXMLTree_attrExtE", !12, i64 0, !12, i64 4, !8, i64 8, !8, i64 10, !8, i64 12, !8, i64 14, !8, i64 16, !8, i64 18}
!29 = !{!28, !8, i64 12}
!30 = !{!28, !8, i64 8}
!31 = !{!16, !16, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass