; LLVM IR from Try/Tempest :: Engine/thirdparty/libpng (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, ptr, ptr, i8, i8, i32, i32, i32, i32, %struct.z_stream_s, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, ptr, ptr, ptr, ptr, i64, i32, i32, ptr, i16, i32, i16, i8, i8, 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, ptr, i32, i32, 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, i32, [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 %289

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 = %287, %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 44
  %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 15
  %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 61
  %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 15
  %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 15
  %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 15
  %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 %79

63:                                               ; preds = %18
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.png_struct_def, ptr %64, i32 0, i32 15
  %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 %78

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

78:                                               ; preds = %69, %63
  br label %79

79:                                               ; preds = %78, %58
  %80 = load i32, ptr %8, align 4, !tbaa !9
  %81 = icmp eq i32 %80, 1229472850
  br i1 %81, label %82, label %86

82:                                               ; preds = %79
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_IHDR(ptr noundef %83, ptr noundef %84, i32 noundef %85)
  br label %284

86:                                               ; preds = %79
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = icmp eq i32 %87, 1229278788
  br i1 %88, label %89, label %93

89:                                               ; preds = %86
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_IEND(ptr noundef %90, ptr noundef %91, i32 noundef %92)
  br label %283

93:                                               ; preds = %86
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = call i32 @png_chunk_unknown_handling(ptr noundef %94, i32 noundef %95)
  store i32 %96, ptr %5, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %118

98:                                               ; preds = %93
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = load i32, ptr %7, align 4, !tbaa !9
  %102 = load i32, ptr %5, align 4, !tbaa !9
  call void @png_handle_unknown(ptr noundef %99, ptr noundef %100, i32 noundef %101, i32 noundef %102)
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = icmp eq i32 %103, 1347179589
  br i1 %104, label %105, label %110

105:                                              ; preds = %98
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.png_struct_def, ptr %106, i32 0, i32 15
  %108 = load i32, ptr %107, align 4, !tbaa !22
  %109 = or i32 %108, 2
  store i32 %109, ptr %107, align 4, !tbaa !22
  br label %117

110:                                              ; preds = %98
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = icmp eq i32 %111, 1229209940
  br i1 %112, label %113, label %116

113:                                              ; preds = %110
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.png_struct_def, ptr %114, i32 0, i32 50
  store i32 0, ptr %115, align 8, !tbaa !24
  store i32 2, ptr %6, align 4
  br label %285

116:                                              ; preds = %110
  br label %117

117:                                              ; preds = %116, %105
  br label %282

118:                                              ; preds = %93
  %119 = load i32, ptr %8, align 4, !tbaa !9
  %120 = icmp eq i32 %119, 1347179589
  br i1 %120, label %121, label %125

121:                                              ; preds = %118
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_PLTE(ptr noundef %122, ptr noundef %123, i32 noundef %124)
  br label %281

125:                                              ; preds = %118
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = icmp eq i32 %126, 1229209940
  br i1 %127, label %128, label %132

128:                                              ; preds = %125
  %129 = load i32, ptr %7, align 4, !tbaa !9
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.png_struct_def, ptr %130, i32 0, i32 50
  store i32 %129, ptr %131, align 8, !tbaa !24
  store i32 2, ptr %6, align 4
  br label %285

132:                                              ; preds = %125
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = icmp eq i32 %133, 1649100612
  br i1 %134, label %135, label %139

135:                                              ; preds = %132
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_bKGD(ptr noundef %136, ptr noundef %137, i32 noundef %138)
  br label %279

139:                                              ; preds = %132
  %140 = load i32, ptr %8, align 4, !tbaa !9
  %141 = icmp eq i32 %140, 1665684045
  br i1 %141, label %142, label %146

142:                                              ; preds = %139
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_cHRM(ptr noundef %143, ptr noundef %144, i32 noundef %145)
  br label %278

146:                                              ; preds = %139
  %147 = load i32, ptr %8, align 4, !tbaa !9
  %148 = icmp eq i32 %147, 1700284774
  br i1 %148, label %149, label %153

149:                                              ; preds = %146
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_eXIf(ptr noundef %150, ptr noundef %151, i32 noundef %152)
  br label %277

153:                                              ; preds = %146
  %154 = load i32, ptr %8, align 4, !tbaa !9
  %155 = icmp eq i32 %154, 1732332865
  br i1 %155, label %156, label %160

156:                                              ; preds = %153
  %157 = load ptr, ptr %3, align 8, !tbaa !5
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_gAMA(ptr noundef %157, ptr noundef %158, i32 noundef %159)
  br label %276

160:                                              ; preds = %153
  %161 = load i32, ptr %8, align 4, !tbaa !9
  %162 = icmp eq i32 %161, 1749635924
  br i1 %162, label %163, label %167

163:                                              ; preds = %160
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_hIST(ptr noundef %164, ptr noundef %165, i32 noundef %166)
  br label %275

167:                                              ; preds = %160
  %168 = load i32, ptr %8, align 4, !tbaa !9
  %169 = icmp eq i32 %168, 1866876531
  br i1 %169, label %170, label %174

170:                                              ; preds = %167
  %171 = load ptr, ptr %3, align 8, !tbaa !5
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_oFFs(ptr noundef %171, ptr noundef %172, i32 noundef %173)
  br label %274

174:                                              ; preds = %167
  %175 = load i32, ptr %8, align 4, !tbaa !9
  %176 = icmp eq i32 %175, 1883455820
  br i1 %176, label %177, label %181

177:                                              ; preds = %174
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_pCAL(ptr noundef %178, ptr noundef %179, i32 noundef %180)
  br label %273

181:                                              ; preds = %174
  %182 = load i32, ptr %8, align 4, !tbaa !9
  %183 = icmp eq i32 %182, 1933787468
  br i1 %183, label %184, label %188

184:                                              ; preds = %181
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sCAL(ptr noundef %185, ptr noundef %186, i32 noundef %187)
  br label %272

188:                                              ; preds = %181
  %189 = load i32, ptr %8, align 4, !tbaa !9
  %190 = icmp eq i32 %189, 1883789683
  br i1 %190, label %191, label %195

191:                                              ; preds = %188
  %192 = load ptr, ptr %3, align 8, !tbaa !5
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_pHYs(ptr noundef %192, ptr noundef %193, i32 noundef %194)
  br label %271

195:                                              ; preds = %188
  %196 = load i32, ptr %8, align 4, !tbaa !9
  %197 = icmp eq i32 %196, 1933723988
  br i1 %197, label %198, label %202

198:                                              ; preds = %195
  %199 = load ptr, ptr %3, align 8, !tbaa !5
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sBIT(ptr noundef %199, ptr noundef %200, i32 noundef %201)
  br label %270

202:                                              ; preds = %195
  %203 = load i32, ptr %8, align 4, !tbaa !9
  %204 = icmp eq i32 %203, 1934772034
  br i1 %204, label %205, label %209

205:                                              ; preds = %202
  %206 = load ptr, ptr %3, align 8, !tbaa !5
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sRGB(ptr noundef %206, ptr noundef %207, i32 noundef %208)
  br label %269

209:                                              ; preds = %202
  %210 = load i32, ptr %8, align 4, !tbaa !9
  %211 = icmp eq i32 %210, 1766015824
  br i1 %211, label %212, label %216

212:                                              ; preds = %209
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_iCCP(ptr noundef %213, ptr noundef %214, i32 noundef %215)
  br label %268

216:                                              ; preds = %209
  %217 = load i32, ptr %8, align 4, !tbaa !9
  %218 = icmp eq i32 %217, 1934642260
  br i1 %218, label %219, label %223

219:                                              ; preds = %216
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = load ptr, ptr %4, align 8, !tbaa !5
  %222 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_sPLT(ptr noundef %220, ptr noundef %221, i32 noundef %222)
  br label %267

223:                                              ; preds = %216
  %224 = load i32, ptr %8, align 4, !tbaa !9
  %225 = icmp eq i32 %224, 1950701684
  br i1 %225, label %226, label %230

226:                                              ; preds = %223
  %227 = load ptr, ptr %3, align 8, !tbaa !5
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_tEXt(ptr noundef %227, ptr noundef %228, i32 noundef %229)
  br label %266

230:                                              ; preds = %223
  %231 = load i32, ptr %8, align 4, !tbaa !9
  %232 = icmp eq i32 %231, 1950960965
  br i1 %232, label %233, label %237

233:                                              ; preds = %230
  %234 = load ptr, ptr %3, align 8, !tbaa !5
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_tIME(ptr noundef %234, ptr noundef %235, i32 noundef %236)
  br label %265

237:                                              ; preds = %230
  %238 = load i32, ptr %8, align 4, !tbaa !9
  %239 = icmp eq i32 %238, 1951551059
  br i1 %239, label %240, label %244

240:                                              ; preds = %237
  %241 = load ptr, ptr %3, align 8, !tbaa !5
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_tRNS(ptr noundef %241, ptr noundef %242, i32 noundef %243)
  br label %264

244:                                              ; preds = %237
  %245 = load i32, ptr %8, align 4, !tbaa !9
  %246 = icmp eq i32 %245, 2052348020
  br i1 %246, label %247, label %251

247:                                              ; preds = %244
  %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_zTXt(ptr noundef %248, ptr noundef %249, i32 noundef %250)
  br label %263

251:                                              ; preds = %244
  %252 = load i32, ptr %8, align 4, !tbaa !9
  %253 = icmp eq i32 %252, 1767135348
  br i1 %253, label %254, label %258

254:                                              ; preds = %251
  %255 = load ptr, ptr %3, align 8, !tbaa !5
  %256 = load ptr, ptr %4, align 8, !tbaa !5
  %257 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_iTXt(ptr noundef %255, ptr noundef %256, i32 noundef %257)
  br label %262

258:                                              ; preds = %251
  %259 = load ptr, ptr %3, align 8, !tbaa !5
  %260 = load ptr, ptr %4, align 8, !tbaa !5
  %261 = load i32, ptr %7, align 4, !tbaa !9
  call void @png_handle_unknown(ptr noundef %259, ptr noundef %260, i32 noundef %261, i32 noundef 0)
  br label %262

262:                                              ; preds = %258, %254
  br label %263

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

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

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

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

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

268:                                              ; preds = %267, %212
  br label %269

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

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

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

272:                                              ; preds = %271, %184
  br label %273

273:                                              ; preds = %272, %177
  br label %274

274:                                              ; preds = %273, %170
  br label %275

275:                                              ; preds = %274, %163
  br label %276

276:                                              ; preds = %275, %156
  br label %277

277:                                              ; preds = %276, %149
  br label %278

278:                                              ; preds = %277, %142
  br label %279

279:                                              ; preds = %278, %135
  br label %280

280:                                              ; preds = %279
  br label %281

281:                                              ; preds = %280, %121
  br label %282

282:                                              ; preds = %281, %117
  br label %283

283:                                              ; preds = %282, %89
  br label %284

284:                                              ; preds = %283, %82
  store i32 0, ptr %6, align 4
  br label %285

285:                                              ; preds = %284, %128, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %286 = load i32, ptr %6, align 4
  switch i32 %286, label %292 [
    i32 0, label %287
    i32 2, label %288
  ]

287:                                              ; preds = %285
  br label %18

288:                                              ; preds = %285
  store i32 0, ptr %6, align 4
  br label %289

289:                                              ; preds = %288, %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %290 = load i32, ptr %6, align 4
  switch i32 %290, label %292 [
    i32 0, label %291
    i32 1, label %291
  ]

291:                                              ; preds = %289, %289
  ret void

292:                                              ; preds = %289, %285
  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_eXIf(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 536}
!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, !6, i64 280, !6, i64 288, !7, i64 296, !7, i64 297, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !14, i64 320, !6, i64 432, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !13, i64 520, !10, i64 528, !10, i64 532, !10, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !13, i64 576, !10, i64 584, !10, i64 588, !6, i64 592, !15, i64 600, !10, i64 604, !15, i64 608, !7, i64 610, !7, i64 611, !7, i64 612, !7, i64 613, !7, i64 614, !7, i64 615, !7, i64 616, !7, i64 617, !7, i64 618, !7, i64 619, !7, i64 620, !7, i64 621, !7, i64 622, !7, i64 623, !7, i64 624, !15, i64 626, !7, i64 628, !10, i64 632, !16, i64 636, !16, i64 646, !6, i64 656, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !6, i64 712, !6, i64 720, !17, i64 728, !17, i64 733, !6, i64 744, !16, i64 752, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !10, i64 840, !10, i64 844, !13, i64 848, !13, i64 856, !13, i64 864, !13, i64 872, !10, i64 880, !10, i64 884, !6, i64 888, !6, i64 896, !10, i64 904, !7, i64 908, !10, i64 940, !6, i64 944, !6, i64 952, !10, i64 960, !10, i64 964, !6, i64 968, !7, i64 976, !7, i64 977, !15, i64 978, !15, i64 980, !10, i64 984, !7, i64 988, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !7, i64 1048, !10, i64 1052, !10, i64 1056, !10, i64 1060, !13, i64 1064, !18, i64 1072, !13, i64 1104, !6, i64 1112, !13, i64 1120, !10, i64 1128, !10, i64 1132, !6, i64 1136, !7, i64 1144, !19, i64 1176}
!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 300}
!23 = !{!12, !7, i64 615}
!24 = !{!12, !10, i64 584}


; 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 %.thread131, 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 536
  %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 300
  br label %26

._crit_edge:                                      ; preds = %67, %5
  %.lcssa138 = phi i32 [ %6, %5 ], [ %68, %67 ]
  %11 = getelementptr inbounds i8, ptr %0, i64 300
  %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 615
  %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.cond126 = and i1 %21, %19
  br i1 %or.cond126, 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
  %.not123 = icmp eq i32 %24, 0
  br i1 %.not123, label %.thread127, 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 %.thread127

26:                                               ; preds = %.lr.ph, %67
  %27 = phi i32 [ %8, %.lr.ph ], [ %69, %67 ]
  %28 = phi i32 [ %6, %.lr.ph ], [ %68, %67 ]
  %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, 8200
  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 %67

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

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

.thread127:                                       ; 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
  %.not124128 = icmp eq i32 %40, 0
  br i1 %.not124128, label %.thread131.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 %67

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 %67

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.thread131.sink.split:                            ; preds = %.thread127, %.loopexit
  %.lcssa138.sink = phi i32 [ 0, %.loopexit ], [ %.lcssa138, %.thread127 ]
  %71 = getelementptr inbounds i8, ptr %0, i64 584
  store i32 %.lcssa138.sink, ptr %71, align 8, !tbaa !22
  br label %.thread131

.thread131:                                       ; preds = %.thread131.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_eXIf(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 536}
!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, !9, i64 280, !9, i64 288, !7, i64 296, !7, i64 297, !11, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !12, i64 320, !9, i64 432, !11, i64 440, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !11, i64 488, !11, i64 492, !11, i64 496, !11, i64 500, !11, i64 504, !11, i64 508, !11, i64 512, !11, i64 516, !10, i64 520, !11, i64 528, !11, i64 532, !11, i64 536, !9, i64 544, !9, i64 552, !9, i64 560, !9, i64 568, !10, i64 576, !11, i64 584, !11, i64 588, !9, i64 592, !13, i64 600, !11, i64 604, !13, i64 608, !7, i64 610, !7, i64 611, !7, i64 612, !7, i64 613, !7, i64 614, !7, i64 615, !7, i64 616, !7, i64 617, !7, i64 618, !7, i64 619, !7, i64 620, !7, i64 621, !7, i64 622, !7, i64 623, !7, i64 624, !13, i64 626, !7, i64 628, !11, i64 632, !14, i64 636, !14, i64 646, !9, i64 656, !11, i64 664, !11, i64 668, !11, i64 672, !11, i64 676, !9, i64 680, !9, i64 688, !9, i64 696, !9, i64 704, !9, i64 712, !9, i64 720, !15, i64 728, !15, i64 733, !9, i64 744, !14, i64 752, !9, i64 768, !9, i64 776, !9, i64 784, !9, i64 792, !9, i64 800, !9, i64 808, !9, i64 816, !9, i64 824, !9, i64 832, !11, i64 840, !11, i64 844, !10, i64 848, !10, i64 856, !10, i64 864, !10, i64 872, !11, i64 880, !11, i64 884, !9, i64 888, !9, i64 896, !11, i64 904, !7, i64 908, !11, i64 940, !9, i64 944, !9, i64 952, !11, i64 960, !11, i64 964, !9, i64 968, !7, i64 976, !7, i64 977, !13, i64 978, !13, i64 980, !11, i64 984, !7, i64 988, !9, i64 992, !9, i64 1000, !9, i64 1008, !9, i64 1016, !9, i64 1024, !9, i64 1032, !9, i64 1040, !7, i64 1048, !11, i64 1052, !11, i64 1056, !11, i64 1060, !10, i64 1064, !16, i64 1072, !10, i64 1104, !9, i64 1112, !10, i64 1120, !11, i64 1128, !11, i64 1132, !9, i64 1136, !7, i64 1144, !17, i64 1176}
!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 300}
!21 = !{!6, !7, i64 615}
!22 = !{!6, !11, i64 584}


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