; LLVM IR from EyalAr/lwip :: src/lib/png (pngread)

; 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.png_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i32, i32, i32, i32, %struct.z_stream_s, i32, i32, i32, i32, i64, i32, i32, i32, ptr, ptr, i64, i32, i32, ptr, i16, i32, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, i32, %struct.png_color_16_struct, %struct.png_color_16_struct, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_color_8_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i64, i64, i64, i64, i32, i32, ptr, ptr, i8, [29 x i8], i32, ptr, ptr, i32, i32, ptr, i8, i8, i16, i16, i32, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i32, i32, i64, %struct.png_unknown_chunk_t, i64, ptr, i64, i32, i32, ptr, [4 x ptr], %struct.png_colorspace }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.z_stream_s = type { ptr, i32, i64, ptr, i32, i64, ptr, ptr, ptr, ptr, ptr, i32, i64, i64 }
%struct.png_color_8_struct = type { i8, i8, i8, i8, i8 }
%struct.png_color_16_struct = type { i8, i16, i16, i16, i16 }
%struct.png_unknown_chunk_t = type { [5 x i8], ptr, i64, i8 }
%struct.png_colorspace = type { i32, %struct.png_xy, %struct.png_XYZ, i16, i16 }
%struct.png_xy = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.png_XYZ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 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 uwtable
define dso_local void @png_read_info(ptr noalias noundef %0, ptr noalias noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %14, label %11

11:                                               ; preds = %2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %15

14:                                               ; preds = %11, %2
  store i32 1, ptr %6, align 4
  br label %277

15:                                               ; preds = %11
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_read_sig(ptr noundef %16, ptr noundef %17)
  br label %18

18:                                               ; preds = %275, %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = call i32 @png_read_chunk_header(ptr noundef %19)
  store i32 %20, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.png_struct_def, ptr %21, i32 0, i32 25
  %23 = load i32, ptr %22, align 8, !tbaa !11
  store i32 %23, ptr %8, align 4, !tbaa !9
  %24 = load i32, ptr %8, align 4, !tbaa !9
  %25 = icmp eq i32 %24, 1229209940
  br i1 %25, label %26, label %63

26:                                               ; preds = %18
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.png_struct_def, ptr %27, i32 0, i32 13
  %29 = load i32, ptr %28, align 4, !tbaa !22
  %30 = and i32 %29, 1
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %34

32:                                               ; preds = %26
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_chunk_error(ptr noundef %33, ptr noundef @.str) #5
  unreachable

34:                                               ; preds = %26
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.png_struct_def, ptr %35, i32 0, i32 40
  %37 = load i8, ptr %36, align 1, !tbaa !23
  %38 = zext i8 %37 to i32
  %39 = icmp eq i32 %38, 3
  br i1 %39, label %40, label %48

40:                                               ; preds = %34
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.png_struct_def, ptr %41, i32 0, i32 13
  %43 = load i32, ptr %42, align 4, !tbaa !22
  %44 = and i32 %43, 2
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %48

46:                                               ; preds = %40
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_chunk_error(ptr noundef %47, ptr noundef @.str.1) #5
  unreachable

48:                                               ; preds = %40, %34
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.png_struct_def, ptr %49, i32 0, i32 13
  %51 = load i32, ptr %50, align 4, !tbaa !22
  %52 = and i32 %51, 8
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %56

54:                                               ; preds = %48
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_chunk_benign_error(ptr noundef %55, ptr noundef @.str.2)
  br label %56

56:                                               ; preds = %54, %48
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.png_struct_def, ptr %59, i32 0, i32 13
  %61 = load i32, ptr %60, align 4, !tbaa !22
  %62 = or i32 %61, 4
  store i32 %62, ptr %60, align 4, !tbaa !22
  br label %75

63:                                               ; preds = %18
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.png_struct_def, ptr %64, i32 0, i32 13
  %66 = load i32, ptr %65, align 4, !tbaa !22
  %67 = and i32 %66, 4
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %74

69:                                               ; preds = %63
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.png_struct_def, ptr %70, i32 0, i32 13
  %72 = load i32, ptr %71, align 4, !tbaa !22
  %73 = or i32 %72, 8
  store i32 %73, ptr %71, align 4, !tbaa !22
  br label %74

74:                                               ; preds = %69, %63
  br label %75

75:                                               ; preds = %74, %58
  %76 = load i32, ptr %8, align 4, !tbaa !9
  %77 = icmp eq i32 %76, 1229472850
  br i1 %77, label %78, label %82

78:                                               ; preds = %75
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_IHDR(ptr noundef %79, ptr noundef %80, i32 noundef %81)
  br label %272

82:                                               ; preds = %75
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = icmp eq i32 %83, 1229278788
  br i1 %84, label %85, label %89

85:                                               ; preds = %82
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_IEND(ptr noundef %86, ptr noundef %87, i32 noundef %88)
  br label %271

89:                                               ; preds = %82
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = load i32, ptr %8, align 4, !tbaa !9
  %92 = call i32 @png_chunk_unknown_handling(ptr noundef %90, i32 noundef %91)
  store i32 %92, ptr %5, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %114

94:                                               ; preds = %89
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = load i32, ptr %7, align 4, !tbaa !9
  %98 = load i32, ptr %5, align 4, !tbaa !9
  call void @png_handle_unknown(ptr noundef %95, ptr noundef %96, i32 noundef %97, i32 noundef %98)
  %99 = load i32, ptr %8, align 4, !tbaa !9
  %100 = icmp eq i32 %99, 1347179589
  br i1 %100, label %101, label %106

101:                                              ; preds = %94
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.png_struct_def, ptr %102, i32 0, i32 13
  %104 = load i32, ptr %103, align 4, !tbaa !22
  %105 = or i32 %104, 2
  store i32 %105, ptr %103, align 4, !tbaa !22
  br label %113

106:                                              ; preds = %94
  %107 = load i32, ptr %8, align 4, !tbaa !9
  %108 = icmp eq i32 %107, 1229209940
  br i1 %108, label %109, label %112

109:                                              ; preds = %106
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.png_struct_def, ptr %110, i32 0, i32 29
  store i32 0, ptr %111, align 8, !tbaa !24
  store i32 2, ptr %6, align 4
  br label %273

112:                                              ; preds = %106
  br label %113

113:                                              ; preds = %112, %101
  br label %270

114:                                              ; preds = %89
  %115 = load i32, ptr %8, align 4, !tbaa !9
  %116 = icmp eq i32 %115, 1347179589
  br i1 %116, label %117, label %121

117:                                              ; preds = %114
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_PLTE(ptr noundef %118, ptr noundef %119, i32 noundef %120)
  br label %269

121:                                              ; preds = %114
  %122 = load i32, ptr %8, align 4, !tbaa !9
  %123 = icmp eq i32 %122, 1229209940
  br i1 %123, label %124, label %128

124:                                              ; preds = %121
  %125 = load i32, ptr %7, align 4, !tbaa !9
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.png_struct_def, ptr %126, i32 0, i32 29
  store i32 %125, ptr %127, align 8, !tbaa !24
  store i32 2, ptr %6, align 4
  br label %273

128:                                              ; preds = %121
  %129 = load i32, ptr %8, align 4, !tbaa !9
  %130 = icmp eq i32 %129, 1649100612
  br i1 %130, label %131, label %135

131:                                              ; preds = %128
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_bKGD(ptr noundef %132, ptr noundef %133, i32 noundef %134)
  br label %267

135:                                              ; preds = %128
  %136 = load i32, ptr %8, align 4, !tbaa !9
  %137 = icmp eq i32 %136, 1665684045
  br i1 %137, label %138, label %142

138:                                              ; preds = %135
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_cHRM(ptr noundef %139, ptr noundef %140, i32 noundef %141)
  br label %266

142:                                              ; preds = %135
  %143 = load i32, ptr %8, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 1732332865
  br i1 %144, label %145, label %149

145:                                              ; preds = %142
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_gAMA(ptr noundef %146, ptr noundef %147, i32 noundef %148)
  br label %265

149:                                              ; preds = %142
  %150 = load i32, ptr %8, align 4, !tbaa !9
  %151 = icmp eq i32 %150, 1749635924
  br i1 %151, label %152, label %156

152:                                              ; preds = %149
  %153 = load ptr, ptr %3, align 8, !tbaa !5
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_hIST(ptr noundef %153, ptr noundef %154, i32 noundef %155)
  br label %264

156:                                              ; preds = %149
  %157 = load i32, ptr %8, align 4, !tbaa !9
  %158 = icmp eq i32 %157, 1866876531
  br i1 %158, label %159, label %163

159:                                              ; preds = %156
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_oFFs(ptr noundef %160, ptr noundef %161, i32 noundef %162)
  br label %263

163:                                              ; preds = %156
  %164 = load i32, ptr %8, align 4, !tbaa !9
  %165 = icmp eq i32 %164, 1883455820
  br i1 %165, label %166, label %170

166:                                              ; preds = %163
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_pCAL(ptr noundef %167, ptr noundef %168, i32 noundef %169)
  br label %262

170:                                              ; preds = %163
  %171 = load i32, ptr %8, align 4, !tbaa !9
  %172 = icmp eq i32 %171, 1933787468
  br i1 %172, label %173, label %177

173:                                              ; preds = %170
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sCAL(ptr noundef %174, ptr noundef %175, i32 noundef %176)
  br label %261

177:                                              ; preds = %170
  %178 = load i32, ptr %8, align 4, !tbaa !9
  %179 = icmp eq i32 %178, 1883789683
  br i1 %179, label %180, label %184

180:                                              ; preds = %177
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_pHYs(ptr noundef %181, ptr noundef %182, i32 noundef %183)
  br label %260

184:                                              ; preds = %177
  %185 = load i32, ptr %8, align 4, !tbaa !9
  %186 = icmp eq i32 %185, 1933723988
  br i1 %186, label %187, label %191

187:                                              ; preds = %184
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sBIT(ptr noundef %188, ptr noundef %189, i32 noundef %190)
  br label %259

191:                                              ; preds = %184
  %192 = load i32, ptr %8, align 4, !tbaa !9
  %193 = icmp eq i32 %192, 1934772034
  br i1 %193, label %194, label %198

194:                                              ; preds = %191
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sRGB(ptr noundef %195, ptr noundef %196, i32 noundef %197)
  br label %258

198:                                              ; preds = %191
  %199 = load i32, ptr %8, align 4, !tbaa !9
  %200 = icmp eq i32 %199, 1766015824
  br i1 %200, label %201, label %205

201:                                              ; preds = %198
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_iCCP(ptr noundef %202, ptr noundef %203, i32 noundef %204)
  br label %257

205:                                              ; preds = %198
  %206 = load i32, ptr %8, align 4, !tbaa !9
  %207 = icmp eq i32 %206, 1934642260
  br i1 %207, label %208, label %212

208:                                              ; preds = %205
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sPLT(ptr noundef %209, ptr noundef %210, i32 noundef %211)
  br label %256

212:                                              ; preds = %205
  %213 = load i32, ptr %8, align 4, !tbaa !9
  %214 = icmp eq i32 %213, 1950701684
  br i1 %214, label %215, label %219

215:                                              ; preds = %212
  %216 = load ptr, ptr %3, align 8, !tbaa !5
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_tEXt(ptr noundef %216, ptr noundef %217, i32 noundef %218)
  br label %255

219:                                              ; preds = %212
  %220 = load i32, ptr %8, align 4, !tbaa !9
  %221 = icmp eq i32 %220, 1950960965
  br i1 %221, label %222, label %226

222:                                              ; preds = %219
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_tIME(ptr noundef %223, ptr noundef %224, i32 noundef %225)
  br label %254

226:                                              ; preds = %219
  %227 = load i32, ptr %8, align 4, !tbaa !9
  %228 = icmp eq i32 %227, 1951551059
  br i1 %228, label %229, label %233

229:                                              ; preds = %226
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_tRNS(ptr noundef %230, ptr noundef %231, i32 noundef %232)
  br label %253

233:                                              ; preds = %226
  %234 = load i32, ptr %8, align 4, !tbaa !9
  %235 = icmp eq i32 %234, 2052348020
  br i1 %235, label %236, label %240

236:                                              ; preds = %233
  %237 = load ptr, ptr %3, align 8, !tbaa !5
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  %239 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_zTXt(ptr noundef %237, ptr noundef %238, i32 noundef %239)
  br label %252

240:                                              ; preds = %233
  %241 = load i32, ptr %8, align 4, !tbaa !9
  %242 = icmp eq i32 %241, 1767135348
  br i1 %242, label %243, label %247

243:                                              ; preds = %240
  %244 = load ptr, ptr %3, align 8, !tbaa !5
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_iTXt(ptr noundef %244, ptr noundef %245, i32 noundef %246)
  br label %251

247:                                              ; preds = %240
  %248 = load ptr, ptr %3, align 8, !tbaa !5
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_unknown(ptr noundef %248, ptr noundef %249, i32 noundef %250, i32 noundef 0)
  br label %251

251:                                              ; preds = %247, %243
  br label %252

252:                                              ; preds = %251, %236
  br label %253

253:                                              ; preds = %252, %229
  br label %254

254:                                              ; preds = %253, %222
  br label %255

255:                                              ; preds = %254, %215
  br label %256

256:                                              ; preds = %255, %208
  br label %257

257:                                              ; preds = %256, %201
  br label %258

258:                                              ; preds = %257, %194
  br label %259

259:                                              ; preds = %258, %187
  br label %260

260:                                              ; preds = %259, %180
  br label %261

261:                                              ; preds = %260, %173
  br label %262

262:                                              ; preds = %261, %166
  br label %263

263:                                              ; preds = %262, %159
  br label %264

264:                                              ; preds = %263, %152
  br label %265

265:                                              ; preds = %264, %145
  br label %266

266:                                              ; preds = %265, %138
  br label %267

267:                                              ; preds = %266, %131
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268, %117
  br label %270

270:                                              ; preds = %269, %113
  br label %271

271:                                              ; preds = %270, %85
  br label %272

272:                                              ; preds = %271, %78
  store i32 0, ptr %6, align 4
  br label %273

273:                                              ; preds = %272, %124, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %274 = load i32, ptr %6, align 4
  switch i32 %274, label %280 [
    i32 0, label %275
    i32 2, label %276
  ]

275:                                              ; preds = %273
  br label %18

276:                                              ; preds = %273
  store i32 0, ptr %6, align 4
  br label %277

277:                                              ; preds = %276, %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %278 = load i32, ptr %6, align 4
  switch i32 %278, label %280 [
    i32 0, label %279
    i32 1, label %279
  ]

279:                                              ; preds = %277, %277
  ret void

280:                                              ; preds = %277, %273
  unreachable
}

declare void @png_read_sig(ptr noundef, ptr noundef) #2

declare i32 @png_read_chunk_header(ptr noundef) #2

; Function Attrs: noreturn
declare void @png_chunk_error(ptr noundef, ptr noundef) #3

declare void @png_chunk_benign_error(ptr noundef, ptr noundef) #2

declare void @png_handle_IHDR(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_IEND(ptr noundef, ptr noundef, i32 noundef) #2

declare i32 @png_chunk_unknown_handling(ptr noundef, i32 noundef) #2

declare void @png_handle_unknown(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare void @png_handle_PLTE(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_bKGD(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_cHRM(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_gAMA(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_hIST(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_oFFs(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_pCAL(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_sCAL(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_pHYs(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_sBIT(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_sRGB(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_iCCP(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_sPLT(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_tEXt(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_tIME(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_tRNS(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_zTXt(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_handle_iTXt(ptr noundef, ptr noundef, i32 noundef) #2

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

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 448}
!12 = !{!"png_struct_def", !7, i64 0, !6, i64 200, !6, i64 208, !13, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !7, i64 280, !7, i64 281, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !14, i64 304, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !13, i64 432, !10, i64 440, !10, i64 444, !10, i64 448, !6, i64 456, !6, i64 464, !13, i64 472, !10, i64 480, !10, i64 484, !6, i64 488, !15, i64 496, !10, i64 500, !15, i64 504, !7, i64 506, !7, i64 507, !7, i64 508, !7, i64 509, !7, i64 510, !7, i64 511, !7, i64 512, !7, i64 513, !7, i64 514, !7, i64 515, !7, i64 516, !7, i64 517, !7, i64 518, !15, i64 520, !7, i64 522, !10, i64 524, !16, i64 528, !16, i64 538, !10, i64 548, !10, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !17, i64 608, !17, i64 613, !6, i64 624, !16, i64 632, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !6, i64 712, !10, i64 720, !10, i64 724, !13, i64 728, !13, i64 736, !13, i64 744, !13, i64 752, !10, i64 760, !10, i64 764, !6, i64 768, !6, i64 776, !7, i64 784, !7, i64 785, !10, i64 816, !6, i64 824, !6, i64 832, !10, i64 840, !10, i64 844, !6, i64 848, !7, i64 856, !7, i64 857, !15, i64 858, !15, i64 860, !10, i64 864, !7, i64 868, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !7, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !13, i64 944, !18, i64 952, !13, i64 984, !6, i64 992, !13, i64 1000, !10, i64 1008, !10, i64 1012, !6, i64 1016, !7, i64 1024, !19, i64 1056}
!13 = !{!"long", !7, i64 0}
!14 = !{!"z_stream_s", !6, i64 0, !10, i64 8, !13, i64 16, !6, i64 24, !10, i64 32, !13, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !13, i64 96, !13, i64 104}
!15 = !{!"short", !7, i64 0}
!16 = !{!"png_color_16_struct", !7, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8}
!17 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!18 = !{!"png_unknown_chunk_t", !7, i64 0, !6, i64 8, !13, i64 16, !7, i64 24}
!19 = !{!"png_colorspace", !10, i64 0, !20, i64 4, !21, i64 36, !15, i64 72, !15, i64 74}
!20 = !{!"png_xy", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!21 = !{!"png_XYZ", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!22 = !{!12, !10, i64 284}
!23 = !{!12, !7, i64 511}
!24 = !{!12, !10, i64 480}


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

@.str = external hidden unnamed_addr constant [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @png_read_info(ptr noalias noundef %0, ptr noalias noundef %1) local_unnamed_addr #0 {
  %3 = icmp eq ptr %0, null
  %4 = icmp eq ptr %1, null
  %or.cond = or i1 %3, %4
  br i1 %or.cond, label %.thread126, label %5

5:                                                ; preds = %2
  tail call void @png_read_sig(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
  %6 = tail call i32 @png_read_chunk_header(ptr noundef nonnull %0) #3
  %7 = getelementptr inbounds i8, ptr %0, i64 448
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = icmp eq i32 %8, 1229209940
  br i1 %9, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %10 = getelementptr inbounds i8, ptr %0, i64 284
  br label %26

._crit_edge:                                      ; preds = %66, %5
  %.lcssa133 = phi i32 [ %6, %5 ], [ %67, %66 ]
  %11 = getelementptr inbounds i8, ptr %0, i64 284
  %12 = load i32, ptr %11, align 4, !tbaa !20
  %13 = and i32 %12, 1
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %16

15:                                               ; preds = %._crit_edge
  tail call void @png_chunk_error(ptr noundef nonnull %0, ptr noundef nonnull @.str) #4
  unreachable

16:                                               ; preds = %._crit_edge
  %17 = getelementptr inbounds i8, ptr %0, i64 511
  %18 = load i8, ptr %17, align 1, !tbaa !21
  %19 = icmp eq i8 %18, 3
  %20 = and i32 %12, 2
  %21 = icmp eq i32 %20, 0
  %or.cond121 = and i1 %21, %19
  br i1 %or.cond121, label %22, label %23

22:                                               ; preds = %16
  tail call void @png_chunk_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #4
  unreachable

23:                                               ; preds = %16
  %24 = and i32 %12, 8
  %.not118 = icmp eq i32 %24, 0
  br i1 %.not118, label %.thread122, label %25

25:                                               ; preds = %23
  tail call void @png_chunk_benign_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #3
  %.pre = load i32, ptr %11, align 4, !tbaa !20
  br label %.thread122

26:                                               ; preds = %.lr.ph, %66
  %27 = phi i32 [ %8, %.lr.ph ], [ %68, %66 ]
  %28 = phi i32 [ %6, %.lr.ph ], [ %67, %66 ]
  %29 = load i32, ptr %10, align 4, !tbaa !20
  %30 = and i32 %29, 4
  %.not = icmp eq i32 %30, 0
  br i1 %.not, label %33, label %31

31:                                               ; preds = %26
  %32 = or i32 %29, 8
  store i32 %32, ptr %10, align 4, !tbaa !20
  br label %33

33:                                               ; preds = %26, %31
  switch i32 %27, label %36 [
    i32 1229472850, label %34
    i32 1229278788, label %35
  ]

34:                                               ; preds = %33
  tail call void @png_handle_IHDR(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

35:                                               ; preds = %33
  tail call void @png_handle_IEND(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

36:                                               ; preds = %33
  %37 = tail call i32 @png_chunk_unknown_handling(ptr noundef nonnull %0, i32 noundef %27) #3
  %.not119 = icmp eq i32 %37, 0
  br i1 %.not119, label %46, label %41

.thread122:                                       ; preds = %25, %23
  %38 = phi i32 [ %.pre, %25 ], [ %12, %23 ]
  %39 = or i32 %38, 4
  store i32 %39, ptr %11, align 4, !tbaa !20
  %40 = tail call i32 @png_chunk_unknown_handling(ptr noundef nonnull %0, i32 noundef 1229209940) #3
  %.not119123 = icmp eq i32 %40, 0
  br i1 %.not119123, label %.thread126.sink.split, label %.loopexit

41:                                               ; preds = %36
  tail call void @png_handle_unknown(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28, i32 noundef %37) #3
  %42 = icmp eq i32 %27, 1347179589
  br i1 %42, label %43, label %66

43:                                               ; preds = %41
  %44 = load i32, ptr %10, align 4, !tbaa !20
  %45 = or i32 %44, 2
  store i32 %45, ptr %10, align 4, !tbaa !20
  br label %66

.loopexit:                                        ; preds = %.thread122
  tail call void @png_handle_unknown(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %.lcssa133, i32 noundef %40) #3
  br label %.thread126.sink.split

46:                                               ; preds = %36
  switch i32 %27, label %65 [
    i32 1347179589, label %47
    i32 1649100612, label %48
    i32 1665684045, label %49
    i32 1732332865, label %50
    i32 1749635924, label %51
    i32 1866876531, label %52
    i32 1883455820, label %53
    i32 1933787468, label %54
    i32 1883789683, label %55
    i32 1933723988, label %56
    i32 1934772034, label %57
    i32 1766015824, label %58
    i32 1934642260, label %59
    i32 1950701684, label %60
    i32 1950960965, label %61
    i32 1951551059, label %62
    i32 2052348020, label %63
    i32 1767135348, label %64
  ]

47:                                               ; preds = %46
  tail call void @png_handle_PLTE(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

48:                                               ; preds = %46
  tail call void @png_handle_bKGD(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

49:                                               ; preds = %46
  tail call void @png_handle_cHRM(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

50:                                               ; preds = %46
  tail call void @png_handle_gAMA(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

51:                                               ; preds = %46
  tail call void @png_handle_hIST(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

52:                                               ; preds = %46
  tail call void @png_handle_oFFs(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

53:                                               ; preds = %46
  tail call void @png_handle_pCAL(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

54:                                               ; preds = %46
  tail call void @png_handle_sCAL(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

55:                                               ; preds = %46
  tail call void @png_handle_pHYs(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

56:                                               ; preds = %46
  tail call void @png_handle_sBIT(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

57:                                               ; preds = %46
  tail call void @png_handle_sRGB(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

58:                                               ; preds = %46
  tail call void @png_handle_iCCP(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

59:                                               ; preds = %46
  tail call void @png_handle_sPLT(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

60:                                               ; preds = %46
  tail call void @png_handle_tEXt(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

61:                                               ; preds = %46
  tail call void @png_handle_tIME(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

62:                                               ; preds = %46
  tail call void @png_handle_tRNS(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

63:                                               ; preds = %46
  tail call void @png_handle_zTXt(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

64:                                               ; preds = %46
  tail call void @png_handle_iTXt(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28) #3
  br label %66

65:                                               ; preds = %46
  tail call void @png_handle_unknown(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %28, i32 noundef 0) #3
  br label %66

66:                                               ; preds = %41, %34, %43, %49, %51, %53, %55, %57, %59, %61, %63, %65, %64, %62, %60, %58, %56, %54, %52, %50, %48, %47, %35
  %67 = tail call i32 @png_read_chunk_header(ptr noundef nonnull %0) #3
  %68 = load i32, ptr %7, align 8, !tbaa !5
  %69 = icmp eq i32 %68, 1229209940
  br i1 %69, label %._crit_edge, label %26

.thread126.sink.split:                            ; preds = %.thread122, %.loopexit
  %.lcssa133.sink = phi i32 [ 0, %.loopexit ], [ %.lcssa133, %.thread122 ]
  %70 = getelementptr inbounds i8, ptr %0, i64 480
  store i32 %.lcssa133.sink, ptr %70, align 8, !tbaa !22
  br label %.thread126

.thread126:                                       ; preds = %.thread126.sink.split, %2
  ret void
}

declare void @png_read_sig(ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @png_read_chunk_header(ptr noundef) local_unnamed_addr #1

; Function Attrs: noreturn
declare void @png_chunk_error(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @png_chunk_benign_error(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @png_handle_IHDR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_IEND(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @png_chunk_unknown_handling(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_unknown(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_PLTE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_bKGD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_cHRM(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_gAMA(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_hIST(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_oFFs(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_pCAL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_sCAL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_pHYs(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_sBIT(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_sRGB(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_iCCP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_sPLT(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_tEXt(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_tIME(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_tRNS(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_zTXt(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_handle_iTXt(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { 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 #1 = { "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 = { noreturn "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 }
attributes #4 = { 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, !11, i64 448}
!6 = !{!"png_struct_def", !7, i64 0, !9, i64 200, !9, i64 208, !10, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !7, i64 280, !7, i64 281, !11, i64 284, !11, i64 288, !11, i64 292, !11, i64 296, !12, i64 304, !11, i64 416, !11, i64 420, !11, i64 424, !11, i64 428, !10, i64 432, !11, i64 440, !11, i64 444, !11, i64 448, !9, i64 456, !9, i64 464, !10, i64 472, !11, i64 480, !11, i64 484, !9, i64 488, !13, i64 496, !11, i64 500, !13, i64 504, !7, i64 506, !7, i64 507, !7, i64 508, !7, i64 509, !7, i64 510, !7, i64 511, !7, i64 512, !7, i64 513, !7, i64 514, !7, i64 515, !7, i64 516, !7, i64 517, !7, i64 518, !13, i64 520, !7, i64 522, !11, i64 524, !14, i64 528, !14, i64 538, !11, i64 548, !11, i64 552, !9, i64 560, !9, i64 568, !9, i64 576, !9, i64 584, !9, i64 592, !9, i64 600, !15, i64 608, !15, i64 613, !9, i64 624, !14, i64 632, !9, i64 648, !9, i64 656, !9, i64 664, !9, i64 672, !9, i64 680, !9, i64 688, !9, i64 696, !9, i64 704, !9, i64 712, !11, i64 720, !11, i64 724, !10, i64 728, !10, i64 736, !10, i64 744, !10, i64 752, !11, i64 760, !11, i64 764, !9, i64 768, !9, i64 776, !7, i64 784, !7, i64 785, !11, i64 816, !9, i64 824, !9, i64 832, !11, i64 840, !11, i64 844, !9, i64 848, !7, i64 856, !7, i64 857, !13, i64 858, !13, i64 860, !11, i64 864, !7, i64 868, !9, i64 872, !9, i64 880, !9, i64 888, !9, i64 896, !9, i64 904, !9, i64 912, !9, i64 920, !7, i64 928, !11, i64 932, !11, i64 936, !11, i64 940, !10, i64 944, !16, i64 952, !10, i64 984, !9, i64 992, !10, i64 1000, !11, i64 1008, !11, i64 1012, !9, i64 1016, !7, i64 1024, !17, i64 1056}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!"z_stream_s", !9, i64 0, !11, i64 8, !10, i64 16, !9, i64 24, !11, i64 32, !10, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !11, i64 88, !10, i64 96, !10, i64 104}
!13 = !{!"short", !7, i64 0}
!14 = !{!"png_color_16_struct", !7, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8}
!15 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!16 = !{!"png_unknown_chunk_t", !7, i64 0, !9, i64 8, !10, i64 16, !7, i64 24}
!17 = !{!"png_colorspace", !11, i64 0, !18, i64 4, !19, i64 36, !13, i64 72, !13, i64 74}
!18 = !{!"png_xy", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!19 = !{!"png_XYZ", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!20 = !{!6, !11, i64 284}
!21 = !{!6, !7, i64 511}
!22 = !{!6, !11, i64 480}


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