; LLVM IR from facebook/redex :: libresource (Visitor)

; 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::ResChunkPullParser" = type { i32, ptr, i64, ptr }
%"struct.android::ResTable_package" = type { %"struct.android::ResChunk_header", i32, [128 x i16], i32, i32, i32, i32, 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.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 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 uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc20ResourceTableVisitor5validEPKN7android17ResTable_typeSpecE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL8get_dataEPN7android15ResChunk_headerE(ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4arscL12get_data_lenEPN7android15ResChunk_headerE(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4arsc18ResChunkPullParserC2EPvm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc18ResChunkPullParser11IsGoodEventENS0_5EventE(i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4arsc18ResChunkPullParser4NextEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android20ResStringPool_headerELm28EEEPT_PNS1_15ResChunk_headerE(ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4arsc20ResourceTableVisitor13visit_packageEPN7android16ResTable_packageE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1) unnamed_addr #2 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.arsc::ResChunkPullParser", align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8
  br label %16

16:                                               ; preds = %2
  br label %17

17:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.android::ResTable_package", ptr %18, i32 0, i32 1
  %20 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %20, ptr %6, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #5
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.android::ResTable_package", ptr %21, i32 0, i32 0
  %23 = call noundef ptr @_ZN4arscL8get_dataEPN7android15ResChunk_headerE(ptr noundef %22)
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.android::ResTable_package", ptr %24, i32 0, i32 0
  %26 = call noundef i32 @_ZN4arscL12get_data_lenEPN7android15ResChunk_headerE(ptr noundef %25)
  %27 = zext i32 %26 to i64
  call void @_ZN4arsc18ResChunkPullParserC2EPvm(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %23, i64 noundef %27)
  br label %28

28:                                               ; preds = %201, %17
  %29 = call noundef i32 @_ZN4arsc18ResChunkPullParser4NextEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %30 = call noundef zeroext i1 @_ZN4arsc18ResChunkPullParser11IsGoodEventENS0_5EventE(i32 noundef %29)
  br i1 %30, label %31, label %202

31:                                               ; preds = %28
  %32 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %33 = getelementptr inbounds %"struct.android::ResChunk_header", ptr %32, i32 0, i32 0
  %34 = load i16, ptr %33, align 4, !tbaa !15
  %35 = zext i16 %34 to i32
  switch i32 %35, label %176 [
    i32 1, label %36
    i32 514, label %103
    i32 513, label %127
    i32 516, label %152
  ]

36:                                               ; preds = %31
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = icmp eq ptr %37, null
  br i1 %38, label %39, label %63

39:                                               ; preds = %36
  %40 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %41 = call noundef ptr @_ZN4arscL13convert_chunkIN7android20ResStringPool_headerELm28EEEPT_PNS1_15ResChunk_headerE(ptr noundef %40)
  store ptr %41, ptr %7, align 8, !tbaa !5
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = icmp eq ptr %42, null
  br i1 %43, label %44, label %54

44:                                               ; preds = %39
  br label %45

45:                                               ; preds = %44
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str) #5
  %48 = load ptr, ptr @stderr, align 8, !tbaa !5
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.12) #5
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.5) #5
  br label %52

52:                                               ; preds = %45
  br label %53

53:                                               ; preds = %52
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

54:                                               ; preds = %39
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load ptr, ptr %15, align 8, !tbaa !16
  %58 = getelementptr inbounds ptr, ptr %57, i64 6
  %59 = load ptr, ptr %58, align 8
  %60 = call noundef zeroext i1 %59(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %55, ptr noundef %56)
  br i1 %60, label %62, label %61

61:                                               ; preds = %54
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

62:                                               ; preds = %54
  br label %102

63:                                               ; preds = %36
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %90

66:                                               ; preds = %63
  %67 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %68 = call noundef ptr @_ZN4arscL13convert_chunkIN7android20ResStringPool_headerELm28EEEPT_PNS1_15ResChunk_headerE(ptr noundef %67)
  store ptr %68, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = icmp eq ptr %69, null
  br i1 %70, label %71, label %81

71:                                               ; preds = %66
  br label %72

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

79:                                               ; preds = %72
  br label %80

80:                                               ; preds = %79
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

81:                                               ; preds = %66
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = load ptr, ptr %15, align 8, !tbaa !16
  %85 = getelementptr inbounds ptr, ptr %84, i64 7
  %86 = load ptr, ptr %85, align 8
  %87 = call noundef zeroext i1 %86(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %82, ptr noundef %83)
  br i1 %87, label %89, label %88

88:                                               ; preds = %81
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

89:                                               ; preds = %81
  br label %101

90:                                               ; preds = %63
  br label %91

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

99:                                               ; preds = %91
  br label %100

100:                                              ; preds = %99
  br label %101

101:                                              ; preds = %100, %89
  br label %102

102:                                              ; preds = %101, %62
  br label %201

103:                                              ; preds = %31
  %104 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %105 = call noundef ptr @_ZN4arscL13convert_chunkIN7android17ResTable_typeSpecELm16EEEPT_PNS1_15ResChunk_headerE(ptr noundef %104)
  store ptr %105, ptr %9, align 8, !tbaa !5
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = call noundef zeroext i1 @_ZN4arsc20ResourceTableVisitor5validEPKN7android17ResTable_typeSpecE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %106)
  br i1 %107, label %118, label %108

108:                                              ; preds = %103
  br label %109

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

116:                                              ; preds = %109
  br label %117

117:                                              ; preds = %116
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

118:                                              ; preds = %103
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = load ptr, ptr %15, align 8, !tbaa !16
  %122 = getelementptr inbounds ptr, ptr %121, i64 8
  %123 = load ptr, ptr %122, align 8
  %124 = call noundef zeroext i1 %123(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %119, ptr noundef %120)
  br i1 %124, label %126, label %125

125:                                              ; preds = %118
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

126:                                              ; preds = %118
  br label %201

127:                                              ; preds = %31
  %128 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %129 = call noundef ptr @_ZN4arscL13convert_chunkIN7android13ResTable_typeELm24EEEPT_PNS1_15ResChunk_headerE(ptr noundef %128)
  store ptr %129, ptr %10, align 8, !tbaa !5
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = call noundef zeroext i1 @_ZN4arsc20ResourceTableVisitor5validEPKN7android13ResTable_typeE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %130)
  br i1 %131, label %142, label %132

132:                                              ; preds = %127
  br label %133

133:                                              ; preds = %132
  %134 = load ptr, ptr @stderr, align 8, !tbaa !5
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef @.str) #5
  %136 = load ptr, ptr @stderr, align 8, !tbaa !5
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef @.str.19) #5
  %138 = load ptr, ptr @stderr, align 8, !tbaa !5
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef @.str.5) #5
  br label %140

140:                                              ; preds = %133
  br label %141

141:                                              ; preds = %140
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

142:                                              ; preds = %127
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = load ptr, ptr %15, align 8, !tbaa !16
  %147 = getelementptr inbounds ptr, ptr %146, i64 9
  %148 = load ptr, ptr %147, align 8
  %149 = call noundef zeroext i1 %148(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %143, ptr noundef %144, ptr noundef %145)
  br i1 %149, label %151, label %150

150:                                              ; preds = %142
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

151:                                              ; preds = %142
  br label %201

152:                                              ; preds = %31
  %153 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %154 = call noundef ptr @_ZN4arscL13convert_chunkIN7android27ResTable_overlayable_headerELm1032EEEPT_PNS1_15ResChunk_headerE(ptr noundef %153)
  store ptr %154, ptr %11, align 8, !tbaa !5
  %155 = load ptr, ptr %11, align 8, !tbaa !5
  %156 = icmp eq ptr %155, null
  br i1 %156, label %157, label %167

157:                                              ; preds = %152
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr @stderr, align 8, !tbaa !5
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str) #5
  %161 = load ptr, ptr @stderr, align 8, !tbaa !5
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.20) #5
  %163 = load ptr, ptr @stderr, align 8, !tbaa !5
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef @.str.5) #5
  br label %165

165:                                              ; preds = %158
  br label %166

166:                                              ; preds = %165
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

167:                                              ; preds = %152
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = load ptr, ptr %11, align 8, !tbaa !5
  %170 = load ptr, ptr %15, align 8, !tbaa !16
  %171 = getelementptr inbounds ptr, ptr %170, i64 13
  %172 = load ptr, ptr %171, align 8
  %173 = call noundef zeroext i1 %172(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %168, ptr noundef %169)
  br i1 %173, label %175, label %174

174:                                              ; preds = %167
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

175:                                              ; preds = %167
  br label %201

176:                                              ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %177 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  store ptr %177, ptr %14, align 8, !tbaa !5
  br label %178

178:                                              ; preds = %176
  %179 = load ptr, ptr @stderr, align 8, !tbaa !5
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str) #5
  %181 = load ptr, ptr @stderr, align 8, !tbaa !5
  %182 = load ptr, ptr %14, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.android::ResChunk_header", ptr %182, i32 0, i32 0
  %184 = load i16, ptr %183, align 4, !tbaa !15
  %185 = zext i16 %184 to i32
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %181, ptr noundef @.str.21, i32 noundef %185) #5
  %187 = load ptr, ptr @stderr, align 8, !tbaa !5
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.5) #5
  br label %189

189:                                              ; preds = %178
  br label %190

190:                                              ; preds = %189
  %191 = load ptr, ptr %5, align 8, !tbaa !5
  %192 = load ptr, ptr %14, align 8, !tbaa !5
  %193 = load ptr, ptr %15, align 8, !tbaa !16
  %194 = getelementptr inbounds ptr, ptr %193, i64 16
  %195 = load ptr, ptr %194, align 8
  %196 = call noundef zeroext i1 %195(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %191, ptr noundef %192)
  br i1 %196, label %198, label %197

197:                                              ; preds = %190
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %199

198:                                              ; preds = %190
  store i32 6, ptr %13, align 4
  br label %199

199:                                              ; preds = %198, %197
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %200 = load i32, ptr %13, align 4
  switch i32 %200, label %217 [
    i32 6, label %201
  ]

201:                                              ; preds = %199, %175, %151, %126, %102
  br label %28, !llvm.loop !18

202:                                              ; preds = %28
  %203 = call noundef i32 @_ZN4arsc18ResChunkPullParser5eventEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %204 = icmp eq i32 %203, 2
  br i1 %204, label %205, label %216

205:                                              ; preds = %202
  br label %206

206:                                              ; preds = %205
  %207 = load ptr, ptr @stderr, align 8, !tbaa !5
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef @.str) #5
  %209 = load ptr, ptr @stderr, align 8, !tbaa !5
  %210 = load i32, ptr %6, align 4, !tbaa !14
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.22, i32 noundef %210) #5
  %212 = load ptr, ptr @stderr, align 8, !tbaa !5
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %212, ptr noundef @.str.5) #5
  br label %214

214:                                              ; preds = %206
  br label %215

215:                                              ; preds = %214
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

216:                                              ; preds = %202
  store i1 true, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %217

217:                                              ; preds = %216, %215, %199, %174, %166, %150, %141, %125, %117, %88, %80, %61, %53
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %218 = load i1, ptr %3, align 1
  ret i1 %218
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android17ResTable_typeSpecELm16EEEPT_PNS1_15ResChunk_headerE(ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android13ResTable_typeELm24EEEPT_PNS1_15ResChunk_headerE(ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android27ResTable_overlayable_headerELm1032EEEPT_PNS1_15ResChunk_headerE(ptr noundef) #3

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 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 = { 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 #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 8}
!10 = !{!"_ZTSN7android16ResTable_packageE", !11, i64 0, !13, i64 8, !7, i64 12, !13, i64 268, !13, i64 272, !13, i64 276, !13, i64 280, !13, i64 284}
!11 = !{!"_ZTSN7android15ResChunk_headerE", !12, i64 0, !12, i64 2, !13, i64 4}
!12 = !{!"short", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !12, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


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

%"class.arsc::ResChunkPullParser" = type { i32, ptr, i64, 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.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 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: 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 #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL8get_dataEPN7android15ResChunk_headerE(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4arscL12get_data_lenEPN7android15ResChunk_headerE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4arsc18ResChunkPullParserC2EPvm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4arsc18ResChunkPullParser11IsGoodEventENS0_5EventE(i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4arsc18ResChunkPullParser4NextEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android20ResStringPool_headerELm28EEEPT_PNS1_15ResChunk_headerE(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4arsc20ResourceTableVisitor13visit_packageEPN7android16ResTable_packageE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1) unnamed_addr #2 align 2 {
  %3 = alloca %"class.arsc::ResChunkPullParser", align 8
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  %5 = load i32, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  %6 = tail call noundef ptr @_ZN4arscL8get_dataEPN7android15ResChunk_headerE(ptr noundef %1)
  %7 = tail call noundef i32 @_ZN4arscL12get_data_lenEPN7android15ResChunk_headerE(ptr noundef %1)
  %8 = zext i32 %7 to i64
  call void @_ZN4arsc18ResChunkPullParserC2EPvm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %6, i64 noundef %8)
  %9 = call noundef i32 @_ZN4arsc18ResChunkPullParser4NextEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %10 = call noundef zeroext i1 @_ZN4arsc18ResChunkPullParser11IsGoodEventENS0_5EventE(i32 noundef %9)
  br i1 %10, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2, %108
  %.02940 = phi ptr [ %.130, %108 ], [ null, %2 ]
  %.03139 = phi ptr [ %.132, %108 ], [ null, %2 ]
  %.03338 = phi ptr [ %.134, %108 ], [ null, %2 ]
  %11 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %12 = load i16, ptr %11, align 4, !tbaa !12
  switch i16 %12, label %94 [
    i16 1, label %13
    i16 514, label %52
    i16 513, label %66
    i16 516, label %80
  ]

13:                                               ; preds = %.lr.ph
  %14 = icmp eq ptr %.03338, null
  br i1 %14, label %15, label %29

15:                                               ; preds = %13
  %16 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %17 = call noundef ptr @_ZN4arscL13convert_chunkIN7android20ResStringPool_headerELm28EEEPT_PNS1_15ResChunk_headerE(ptr noundef %16)
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %24

19:                                               ; preds = %15
  %20 = load ptr, ptr @stderr, align 8, !tbaa !13
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str) #6
  %22 = load ptr, ptr @stderr, align 8, !tbaa !13
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.12) #6
  br label %.loopexit.sink.split

24:                                               ; preds = %15
  %25 = load ptr, ptr %0, align 8, !tbaa !15
  %26 = getelementptr inbounds i8, ptr %25, i64 48
  %27 = load ptr, ptr %26, align 8
  %28 = call noundef zeroext i1 %27(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull %17)
  br i1 %28, label %108, label %.loopexit

29:                                               ; preds = %13
  %30 = icmp eq ptr %.03139, null
  br i1 %30, label %31, label %45

31:                                               ; preds = %29
  %32 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %33 = call noundef ptr @_ZN4arscL13convert_chunkIN7android20ResStringPool_headerELm28EEEPT_PNS1_15ResChunk_headerE(ptr noundef %32)
  %34 = icmp eq ptr %33, null
  br i1 %34, label %35, label %40

35:                                               ; preds = %31
  %36 = load ptr, ptr @stderr, align 8, !tbaa !13
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str) #6
  %38 = load ptr, ptr @stderr, align 8, !tbaa !13
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef nonnull @.str.12) #6
  br label %.loopexit.sink.split

40:                                               ; preds = %31
  %41 = load ptr, ptr %0, align 8, !tbaa !15
  %42 = getelementptr inbounds i8, ptr %41, i64 56
  %43 = load ptr, ptr %42, align 8
  %44 = call noundef zeroext i1 %43(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull %33)
  br i1 %44, label %108, label %.loopexit

45:                                               ; preds = %29
  %46 = load ptr, ptr @stderr, align 8, !tbaa !13
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str) #6
  %48 = load ptr, ptr @stderr, align 8, !tbaa !13
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str.17, i32 noundef %5) #6
  %50 = load ptr, ptr @stderr, align 8, !tbaa !13
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.5) #6
  br label %108

52:                                               ; preds = %.lr.ph
  %53 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %54 = call noundef ptr @_ZN4arscL13convert_chunkIN7android17ResTable_typeSpecELm16EEEPT_PNS1_15ResChunk_headerE(ptr noundef %53)
  %55 = call noundef zeroext i1 @_ZN4arsc20ResourceTableVisitor5validEPKN7android17ResTable_typeSpecE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %54)
  br i1 %55, label %61, label %56

56:                                               ; preds = %52
  %57 = load ptr, ptr @stderr, align 8, !tbaa !13
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef nonnull @.str) #6
  %59 = load ptr, ptr @stderr, align 8, !tbaa !13
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.18) #6
  br label %.loopexit.sink.split

61:                                               ; preds = %52
  %62 = load ptr, ptr %0, align 8, !tbaa !15
  %63 = getelementptr inbounds i8, ptr %62, i64 64
  %64 = load ptr, ptr %63, align 8
  %65 = call noundef zeroext i1 %64(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef %54)
  br i1 %65, label %108, label %.loopexit

66:                                               ; preds = %.lr.ph
  %67 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %68 = call noundef ptr @_ZN4arscL13convert_chunkIN7android13ResTable_typeELm24EEEPT_PNS1_15ResChunk_headerE(ptr noundef %67)
  %69 = call noundef zeroext i1 @_ZN4arsc20ResourceTableVisitor5validEPKN7android13ResTable_typeE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %68)
  br i1 %69, label %75, label %70

70:                                               ; preds = %66
  %71 = load ptr, ptr @stderr, align 8, !tbaa !13
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef nonnull @.str) #6
  %73 = load ptr, ptr @stderr, align 8, !tbaa !13
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef nonnull @.str.19) #6
  br label %.loopexit.sink.split

75:                                               ; preds = %66
  %76 = load ptr, ptr %0, align 8, !tbaa !15
  %77 = getelementptr inbounds i8, ptr %76, i64 72
  %78 = load ptr, ptr %77, align 8
  %79 = call noundef zeroext i1 %78(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef %.02940, ptr noundef %68)
  br i1 %79, label %108, label %.loopexit

80:                                               ; preds = %.lr.ph
  %81 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %82 = call noundef ptr @_ZN4arscL13convert_chunkIN7android27ResTable_overlayable_headerELm1032EEEPT_PNS1_15ResChunk_headerE(ptr noundef %81)
  %83 = icmp eq ptr %82, null
  br i1 %83, label %84, label %89

84:                                               ; preds = %80
  %85 = load ptr, ptr @stderr, align 8, !tbaa !13
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str) #6
  %87 = load ptr, ptr @stderr, align 8, !tbaa !13
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.20) #6
  br label %.loopexit.sink.split

89:                                               ; preds = %80
  %90 = load ptr, ptr %0, align 8, !tbaa !15
  %91 = getelementptr inbounds i8, ptr %90, i64 104
  %92 = load ptr, ptr %91, align 8
  %93 = call noundef zeroext i1 %92(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull %82)
  br i1 %93, label %108, label %.loopexit

94:                                               ; preds = %.lr.ph
  %95 = call noundef ptr @_ZN4arsc18ResChunkPullParser5chunkEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %96 = load ptr, ptr @stderr, align 8, !tbaa !13
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef nonnull @.str) #6
  %98 = load ptr, ptr @stderr, align 8, !tbaa !13
  %99 = load i16, ptr %95, align 4, !tbaa !12
  %100 = zext i16 %99 to i32
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef nonnull @.str.21, i32 noundef %100) #6
  %102 = load ptr, ptr @stderr, align 8, !tbaa !13
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef nonnull @.str.5) #6
  %104 = load ptr, ptr %0, align 8, !tbaa !15
  %105 = getelementptr inbounds i8, ptr %104, i64 128
  %106 = load ptr, ptr %105, align 8
  %107 = call noundef zeroext i1 %106(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull %95)
  br i1 %107, label %108, label %.loopexit

108:                                              ; preds = %89, %75, %61, %24, %40, %45, %94
  %.134 = phi ptr [ %.03338, %94 ], [ %.03338, %89 ], [ %.03338, %75 ], [ %.03338, %61 ], [ %17, %24 ], [ %.03338, %40 ], [ %.03338, %45 ]
  %.132 = phi ptr [ %.03139, %94 ], [ %.03139, %89 ], [ %.03139, %75 ], [ %.03139, %61 ], [ %.03139, %24 ], [ %33, %40 ], [ %.03139, %45 ]
  %.130 = phi ptr [ %.02940, %94 ], [ %.02940, %89 ], [ %.02940, %75 ], [ %54, %61 ], [ %.02940, %24 ], [ %.02940, %40 ], [ %.02940, %45 ]
  %109 = call noundef i32 @_ZN4arsc18ResChunkPullParser4NextEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %110 = call noundef zeroext i1 @_ZN4arsc18ResChunkPullParser11IsGoodEventENS0_5EventE(i32 noundef %109)
  br i1 %110, label %.lr.ph, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %108, %2
  %111 = call noundef i32 @_ZN4arsc18ResChunkPullParser5eventEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %112 = icmp eq i32 %111, 2
  br i1 %112, label %113, label %.loopexit

113:                                              ; preds = %._crit_edge
  %114 = load ptr, ptr @stderr, align 8, !tbaa !13
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef nonnull @.str) #6
  %116 = load ptr, ptr @stderr, align 8, !tbaa !13
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef nonnull @.str.22, i32 noundef %5) #6
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %19, %35, %56, %70, %84, %113
  %118 = load ptr, ptr @stderr, align 8, !tbaa !13
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef nonnull @.str.5) #6
  br label %.loopexit

.loopexit:                                        ; preds = %89, %75, %61, %40, %24, %94, %.loopexit.sink.split, %._crit_edge
  %.3 = phi i1 [ true, %._crit_edge ], [ false, %.loopexit.sink.split ], [ false, %94 ], [ false, %24 ], [ false, %40 ], [ false, %61 ], [ false, %75 ], [ false, %89 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret i1 %.3
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android17ResTable_typeSpecELm16EEEPT_PNS1_15ResChunk_headerE(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android13ResTable_typeELm24EEEPT_PNS1_15ResChunk_headerE(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4arscL13convert_chunkIN7android27ResTable_overlayable_headerELm1032EEEPT_PNS1_15ResChunk_headerE(ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { 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, !11, i64 8}
!6 = !{!"_ZTSN7android16ResTable_packageE", !7, i64 0, !11, i64 8, !9, i64 12, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284}
!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 = !{!7, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass