; LLVM IR from mkazhdan/DMG :: Util/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, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i64, i64, i64, %struct.z_stream_s, ptr, i64, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_row_info_struct, i64, i64, ptr, i16, i16, [5 x i8], i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, float, %struct.png_color_16_struct, %struct.png_color_16_struct, ptr, i64, i64, i32, float, float, 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, i64, i64, i64, i64, i64, i64, i32, i32, i64, i64, ptr, ptr, ptr, ptr, ptr, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, ptr, i32, ptr, i8, i16, i16, i16, i64, i64, i8, i8, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i64, i64, %struct.png_unknown_chunk_t, i64, i64 }
%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_row_info_struct = type { i64, i64, i8, i8, i8, i8 }
%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_info_struct = type { i64, i64, i64, i64, ptr, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, [8 x i8], float, i8, i32, i32, ptr, %struct.png_time_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, %struct.png_color_16_struct, i64, i64, i8, i64, i64, i8, ptr, float, float, float, float, float, float, float, float, ptr, i64, i64, ptr, ptr, i8, i8, i64, ptr, i64, ptr, ptr, i64, i8, ptr, i64, i8, double, double, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.png_time_struct = type { i16, i8, i8, i8, i8, i8 }

@.str.13 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [39 x i8], align 1
@png_IDAT = external global [5 x i8], align 1
@png_IHDR = external global [5 x i8], align 1
@png_IEND = external global [5 x i8], align 1
@png_PLTE = external global [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@png_bKGD = external global [5 x i8], align 1
@png_cHRM = external global [5 x i8], align 1
@png_gAMA = external global [5 x i8], align 1
@png_hIST = external global [5 x i8], align 1
@png_oFFs = external global [5 x i8], align 1
@png_pCAL = external global [5 x i8], align 1
@png_sCAL = external global [5 x i8], align 1
@png_pHYs = external global [5 x i8], align 1
@png_sBIT = external global [5 x i8], align 1
@png_sRGB = external global [5 x i8], align 1
@png_iCCP = external global [5 x i8], align 1
@png_sPLT = external global [5 x i8], align 1
@png_tEXt = external global [5 x i8], align 1
@png_tIME = external global [5 x i8], align 1
@png_tRNS = external global [5 x i8], align 1
@png_zTXt = external global [5 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

declare void @png_error(ptr noundef, ptr noundef) #1

; 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 noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca [4 x i8], align 1
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = icmp eq ptr %10, null
  br i1 %11, label %15, label %12

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

15:                                               ; preds = %12, %2
  br label %418

16:                                               ; preds = %12
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.png_struct_def, ptr %17, i32 0, i32 55
  %19 = load i8, ptr %18, align 4, !tbaa !9
  %20 = zext i8 %19 to i32
  %21 = icmp slt i32 %20, 8
  br i1 %21, label %22, label %70

22:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.png_struct_def, ptr %23, i32 0, i32 55
  %25 = load i8, ptr %24, align 4, !tbaa !9
  %26 = zext i8 %25 to i64
  store i64 %26, ptr %5, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %27 = load i64, ptr %5, align 8, !tbaa !20
  %28 = sub i64 8, %27
  store i64 %28, ptr %6, align 8, !tbaa !20
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.png_info_struct, ptr %30, i32 0, i32 15
  %32 = load i64, ptr %5, align 8, !tbaa !20
  %33 = getelementptr inbounds [8 x i8], ptr %31, i64 0, i64 %32
  %34 = load i64, ptr %6, align 8, !tbaa !20
  call void @png_read_data(ptr noundef %29, ptr noundef %33, i64 noundef %34)
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.png_struct_def, ptr %35, i32 0, i32 55
  store i8 8, ptr %36, align 4, !tbaa !9
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.png_info_struct, ptr %37, i32 0, i32 15
  %39 = getelementptr inbounds [8 x i8], ptr %38, i64 0, i64 0
  %40 = load i64, ptr %5, align 8, !tbaa !20
  %41 = load i64, ptr %6, align 8, !tbaa !20
  %42 = call i32 @png_sig_cmp(ptr noundef %39, i64 noundef %40, i64 noundef %41)
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %61

44:                                               ; preds = %22
  %45 = load i64, ptr %5, align 8, !tbaa !20
  %46 = icmp ult i64 %45, 4
  br i1 %46, label %47, label %58

47:                                               ; preds = %44
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.png_info_struct, ptr %48, i32 0, i32 15
  %50 = getelementptr inbounds [8 x i8], ptr %49, i64 0, i64 0
  %51 = load i64, ptr %5, align 8, !tbaa !20
  %52 = load i64, ptr %6, align 8, !tbaa !20
  %53 = sub i64 %52, 4
  %54 = call i32 @png_sig_cmp(ptr noundef %50, i64 noundef %51, i64 noundef %53)
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %58

56:                                               ; preds = %47
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %57, ptr noundef @.str.13)
  br label %60

58:                                               ; preds = %47, %44
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %59, ptr noundef @.str.14)
  br label %60

60:                                               ; preds = %58, %56
  br label %61

61:                                               ; preds = %60, %22
  %62 = load i64, ptr %5, align 8, !tbaa !20
  %63 = icmp ult i64 %62, 3
  br i1 %63, label %64, label %69

64:                                               ; preds = %61
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.png_struct_def, ptr %65, i32 0, i32 12
  %67 = load i64, ptr %66, align 8, !tbaa !21
  %68 = or i64 %67, 4096
  store i64 %68, ptr %66, align 8, !tbaa !21
  br label %69

69:                                               ; preds = %64, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %70

70:                                               ; preds = %69, %16
  br label %71

71:                                               ; preds = %417, %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
  call void @png_read_data(ptr noundef %72, ptr noundef %73, i64 noundef 4)
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
  %76 = call i64 @png_get_uint_31(ptr noundef %74, ptr noundef %75)
  store i64 %76, ptr %8, align 8, !tbaa !20
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_reset_crc(ptr noundef %77)
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.png_struct_def, ptr %79, i32 0, i32 43
  %81 = getelementptr inbounds [5 x i8], ptr %80, i64 0, i64 0
  call void @png_crc_read(ptr noundef %78, ptr noundef %81, i64 noundef 4)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.png_struct_def, ptr %82, i32 0, i32 43
  %84 = getelementptr inbounds [5 x i8], ptr %83, i64 0, i64 0
  %85 = call i32 @memcmp(ptr noundef %84, ptr noundef @png_IDAT, i64 noundef 4) #5
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %99, label %87

87:                                               ; preds = %71
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.png_struct_def, ptr %88, i32 0, i32 12
  %90 = load i64, ptr %89, align 8, !tbaa !21
  %91 = and i64 %90, 8
  %92 = icmp ne i64 %91, 0
  br i1 %92, label %93, label %98

93:                                               ; preds = %87
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.png_struct_def, ptr %94, i32 0, i32 12
  %96 = load i64, ptr %95, align 8, !tbaa !21
  %97 = or i64 %96, 8192
  store i64 %97, ptr %95, align 8, !tbaa !21
  br label %98

98:                                               ; preds = %93, %87
  br label %99

99:                                               ; preds = %98, %71
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.png_struct_def, ptr %100, i32 0, i32 43
  %102 = getelementptr inbounds [5 x i8], ptr %101, i64 0, i64 0
  %103 = call i32 @memcmp(ptr noundef %102, ptr noundef @png_IHDR, i64 noundef 4) #5
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %109, label %105

105:                                              ; preds = %99
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_IHDR(ptr noundef %106, ptr noundef %107, i64 noundef %108)
  br label %414

109:                                              ; preds = %99
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.png_struct_def, ptr %110, i32 0, i32 43
  %112 = getelementptr inbounds [5 x i8], ptr %111, i64 0, i64 0
  %113 = call i32 @memcmp(ptr noundef %112, ptr noundef @png_IEND, i64 noundef 4) #5
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %119, label %115

115:                                              ; preds = %109
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_IEND(ptr noundef %116, ptr noundef %117, i64 noundef %118)
  br label %413

119:                                              ; preds = %109
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.png_struct_def, ptr %121, i32 0, i32 43
  %123 = getelementptr inbounds [5 x i8], ptr %122, i64 0, i64 0
  %124 = call i32 @png_handle_as_unknown(ptr noundef %120, ptr noundef %123)
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %183

126:                                              ; preds = %119
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.png_struct_def, ptr %127, i32 0, i32 43
  %129 = getelementptr inbounds [5 x i8], ptr %128, i64 0, i64 0
  %130 = call i32 @memcmp(ptr noundef %129, ptr noundef @png_IDAT, i64 noundef 4) #5
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %137, label %132

132:                                              ; preds = %126
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.png_struct_def, ptr %133, i32 0, i32 12
  %135 = load i64, ptr %134, align 8, !tbaa !21
  %136 = or i64 %135, 4
  store i64 %136, ptr %134, align 8, !tbaa !21
  br label %137

137:                                              ; preds = %132, %126
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_unknown(ptr noundef %138, ptr noundef %139, i64 noundef %140)
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.png_struct_def, ptr %141, i32 0, i32 43
  %143 = getelementptr inbounds [5 x i8], ptr %142, i64 0, i64 0
  %144 = call i32 @memcmp(ptr noundef %143, ptr noundef @png_PLTE, i64 noundef 4) #5
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %151, label %146

146:                                              ; preds = %137
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.png_struct_def, ptr %147, i32 0, i32 12
  %149 = load i64, ptr %148, align 8, !tbaa !21
  %150 = or i64 %149, 2
  store i64 %150, ptr %148, align 8, !tbaa !21
  br label %182

151:                                              ; preds = %137
  %152 = load ptr, ptr %3, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.png_struct_def, ptr %152, i32 0, i32 43
  %154 = getelementptr inbounds [5 x i8], ptr %153, i64 0, i64 0
  %155 = call i32 @memcmp(ptr noundef %154, ptr noundef @png_IDAT, i64 noundef 4) #5
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %181, label %157

157:                                              ; preds = %151
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.png_struct_def, ptr %158, i32 0, i32 12
  %160 = load i64, ptr %159, align 8, !tbaa !21
  %161 = and i64 %160, 1
  %162 = icmp ne i64 %161, 0
  br i1 %162, label %165, label %163

163:                                              ; preds = %157
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %164, ptr noundef @.str.15)
  br label %180

165:                                              ; preds = %157
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.png_struct_def, ptr %166, i32 0, i32 49
  %168 = load i8, ptr %167, align 2, !tbaa !22
  %169 = zext i8 %168 to i32
  %170 = icmp eq i32 %169, 3
  br i1 %170, label %171, label %179

171:                                              ; preds = %165
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.png_struct_def, ptr %172, i32 0, i32 12
  %174 = load i64, ptr %173, align 8, !tbaa !21
  %175 = and i64 %174, 2
  %176 = icmp ne i64 %175, 0
  br i1 %176, label %179, label %177

177:                                              ; preds = %171
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %178, ptr noundef @.str.16)
  br label %179

179:                                              ; preds = %177, %171, %165
  br label %180

180:                                              ; preds = %179, %163
  store i32 2, ptr %9, align 4
  br label %415

181:                                              ; preds = %151
  br label %182

182:                                              ; preds = %181, %146
  br label %412

183:                                              ; preds = %119
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.png_struct_def, ptr %184, i32 0, i32 43
  %186 = getelementptr inbounds [5 x i8], ptr %185, i64 0, i64 0
  %187 = call i32 @memcmp(ptr noundef %186, ptr noundef @png_PLTE, i64 noundef 4) #5
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %193, label %189

189:                                              ; preds = %183
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_PLTE(ptr noundef %190, ptr noundef %191, i64 noundef %192)
  br label %411

193:                                              ; preds = %183
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.png_struct_def, ptr %194, i32 0, i32 43
  %196 = getelementptr inbounds [5 x i8], ptr %195, i64 0, i64 0
  %197 = call i32 @memcmp(ptr noundef %196, ptr noundef @png_IDAT, i64 noundef 4) #5
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %230, label %199

199:                                              ; preds = %193
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.png_struct_def, ptr %200, i32 0, i32 12
  %202 = load i64, ptr %201, align 8, !tbaa !21
  %203 = and i64 %202, 1
  %204 = icmp ne i64 %203, 0
  br i1 %204, label %207, label %205

205:                                              ; preds = %199
  %206 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %206, ptr noundef @.str.15)
  br label %222

207:                                              ; preds = %199
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.png_struct_def, ptr %208, i32 0, i32 49
  %210 = load i8, ptr %209, align 2, !tbaa !22
  %211 = zext i8 %210 to i32
  %212 = icmp eq i32 %211, 3
  br i1 %212, label %213, label %221

213:                                              ; preds = %207
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.png_struct_def, ptr %214, i32 0, i32 12
  %216 = load i64, ptr %215, align 8, !tbaa !21
  %217 = and i64 %216, 2
  %218 = icmp ne i64 %217, 0
  br i1 %218, label %221, label %219

219:                                              ; preds = %213
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %220, ptr noundef @.str.16)
  br label %221

221:                                              ; preds = %219, %213, %207
  br label %222

222:                                              ; preds = %221, %205
  %223 = load i64, ptr %8, align 8, !tbaa !20
  %224 = load ptr, ptr %3, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.png_struct_def, ptr %224, i32 0, i32 38
  store i64 %223, ptr %225, align 8, !tbaa !23
  %226 = load ptr, ptr %3, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.png_struct_def, ptr %226, i32 0, i32 12
  %228 = load i64, ptr %227, align 8, !tbaa !21
  %229 = or i64 %228, 4
  store i64 %229, ptr %227, align 8, !tbaa !21
  store i32 2, ptr %9, align 4
  br label %415

230:                                              ; preds = %193
  %231 = load ptr, ptr %3, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.png_struct_def, ptr %231, i32 0, i32 43
  %233 = getelementptr inbounds [5 x i8], ptr %232, i64 0, i64 0
  %234 = call i32 @memcmp(ptr noundef %233, ptr noundef @png_bKGD, i64 noundef 4) #5
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %240, label %236

236:                                              ; preds = %230
  %237 = load ptr, ptr %3, align 8, !tbaa !5
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  %239 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_bKGD(ptr noundef %237, ptr noundef %238, i64 noundef %239)
  br label %409

240:                                              ; preds = %230
  %241 = load ptr, ptr %3, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.png_struct_def, ptr %241, i32 0, i32 43
  %243 = getelementptr inbounds [5 x i8], ptr %242, i64 0, i64 0
  %244 = call i32 @memcmp(ptr noundef %243, ptr noundef @png_cHRM, i64 noundef 4) #5
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %250, label %246

246:                                              ; preds = %240
  %247 = load ptr, ptr %3, align 8, !tbaa !5
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_cHRM(ptr noundef %247, ptr noundef %248, i64 noundef %249)
  br label %408

250:                                              ; preds = %240
  %251 = load ptr, ptr %3, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.png_struct_def, ptr %251, i32 0, i32 43
  %253 = getelementptr inbounds [5 x i8], ptr %252, i64 0, i64 0
  %254 = call i32 @memcmp(ptr noundef %253, ptr noundef @png_gAMA, i64 noundef 4) #5
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %260, label %256

256:                                              ; preds = %250
  %257 = load ptr, ptr %3, align 8, !tbaa !5
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_gAMA(ptr noundef %257, ptr noundef %258, i64 noundef %259)
  br label %407

260:                                              ; preds = %250
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.png_struct_def, ptr %261, i32 0, i32 43
  %263 = getelementptr inbounds [5 x i8], ptr %262, i64 0, i64 0
  %264 = call i32 @memcmp(ptr noundef %263, ptr noundef @png_hIST, i64 noundef 4) #5
  %265 = icmp ne i32 %264, 0
  br i1 %265, label %270, label %266

266:                                              ; preds = %260
  %267 = load ptr, ptr %3, align 8, !tbaa !5
  %268 = load ptr, ptr %4, align 8, !tbaa !5
  %269 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_hIST(ptr noundef %267, ptr noundef %268, i64 noundef %269)
  br label %406

270:                                              ; preds = %260
  %271 = load ptr, ptr %3, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.png_struct_def, ptr %271, i32 0, i32 43
  %273 = getelementptr inbounds [5 x i8], ptr %272, i64 0, i64 0
  %274 = call i32 @memcmp(ptr noundef %273, ptr noundef @png_oFFs, i64 noundef 4) #5
  %275 = icmp ne i32 %274, 0
  br i1 %275, label %280, label %276

276:                                              ; preds = %270
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_oFFs(ptr noundef %277, ptr noundef %278, i64 noundef %279)
  br label %405

280:                                              ; preds = %270
  %281 = load ptr, ptr %3, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.png_struct_def, ptr %281, i32 0, i32 43
  %283 = getelementptr inbounds [5 x i8], ptr %282, i64 0, i64 0
  %284 = call i32 @memcmp(ptr noundef %283, ptr noundef @png_pCAL, i64 noundef 4) #5
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %290, label %286

286:                                              ; preds = %280
  %287 = load ptr, ptr %3, align 8, !tbaa !5
  %288 = load ptr, ptr %4, align 8, !tbaa !5
  %289 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_pCAL(ptr noundef %287, ptr noundef %288, i64 noundef %289)
  br label %404

290:                                              ; preds = %280
  %291 = load ptr, ptr %3, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.png_struct_def, ptr %291, i32 0, i32 43
  %293 = getelementptr inbounds [5 x i8], ptr %292, i64 0, i64 0
  %294 = call i32 @memcmp(ptr noundef %293, ptr noundef @png_sCAL, i64 noundef 4) #5
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %300, label %296

296:                                              ; preds = %290
  %297 = load ptr, ptr %3, align 8, !tbaa !5
  %298 = load ptr, ptr %4, align 8, !tbaa !5
  %299 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_sCAL(ptr noundef %297, ptr noundef %298, i64 noundef %299)
  br label %403

300:                                              ; preds = %290
  %301 = load ptr, ptr %3, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.png_struct_def, ptr %301, i32 0, i32 43
  %303 = getelementptr inbounds [5 x i8], ptr %302, i64 0, i64 0
  %304 = call i32 @memcmp(ptr noundef %303, ptr noundef @png_pHYs, i64 noundef 4) #5
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %310, label %306

306:                                              ; preds = %300
  %307 = load ptr, ptr %3, align 8, !tbaa !5
  %308 = load ptr, ptr %4, align 8, !tbaa !5
  %309 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_pHYs(ptr noundef %307, ptr noundef %308, i64 noundef %309)
  br label %402

310:                                              ; preds = %300
  %311 = load ptr, ptr %3, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.png_struct_def, ptr %311, i32 0, i32 43
  %313 = getelementptr inbounds [5 x i8], ptr %312, i64 0, i64 0
  %314 = call i32 @memcmp(ptr noundef %313, ptr noundef @png_sBIT, i64 noundef 4) #5
  %315 = icmp ne i32 %314, 0
  br i1 %315, label %320, label %316

316:                                              ; preds = %310
  %317 = load ptr, ptr %3, align 8, !tbaa !5
  %318 = load ptr, ptr %4, align 8, !tbaa !5
  %319 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_sBIT(ptr noundef %317, ptr noundef %318, i64 noundef %319)
  br label %401

320:                                              ; preds = %310
  %321 = load ptr, ptr %3, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.png_struct_def, ptr %321, i32 0, i32 43
  %323 = getelementptr inbounds [5 x i8], ptr %322, i64 0, i64 0
  %324 = call i32 @memcmp(ptr noundef %323, ptr noundef @png_sRGB, i64 noundef 4) #5
  %325 = icmp ne i32 %324, 0
  br i1 %325, label %330, label %326

326:                                              ; preds = %320
  %327 = load ptr, ptr %3, align 8, !tbaa !5
  %328 = load ptr, ptr %4, align 8, !tbaa !5
  %329 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_sRGB(ptr noundef %327, ptr noundef %328, i64 noundef %329)
  br label %400

330:                                              ; preds = %320
  %331 = load ptr, ptr %3, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.png_struct_def, ptr %331, i32 0, i32 43
  %333 = getelementptr inbounds [5 x i8], ptr %332, i64 0, i64 0
  %334 = call i32 @memcmp(ptr noundef %333, ptr noundef @png_iCCP, i64 noundef 4) #5
  %335 = icmp ne i32 %334, 0
  br i1 %335, label %340, label %336

336:                                              ; preds = %330
  %337 = load ptr, ptr %3, align 8, !tbaa !5
  %338 = load ptr, ptr %4, align 8, !tbaa !5
  %339 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_iCCP(ptr noundef %337, ptr noundef %338, i64 noundef %339)
  br label %399

340:                                              ; preds = %330
  %341 = load ptr, ptr %3, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.png_struct_def, ptr %341, i32 0, i32 43
  %343 = getelementptr inbounds [5 x i8], ptr %342, i64 0, i64 0
  %344 = call i32 @memcmp(ptr noundef %343, ptr noundef @png_sPLT, i64 noundef 4) #5
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %350, label %346

346:                                              ; preds = %340
  %347 = load ptr, ptr %3, align 8, !tbaa !5
  %348 = load ptr, ptr %4, align 8, !tbaa !5
  %349 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_sPLT(ptr noundef %347, ptr noundef %348, i64 noundef %349)
  br label %398

350:                                              ; preds = %340
  %351 = load ptr, ptr %3, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.png_struct_def, ptr %351, i32 0, i32 43
  %353 = getelementptr inbounds [5 x i8], ptr %352, i64 0, i64 0
  %354 = call i32 @memcmp(ptr noundef %353, ptr noundef @png_tEXt, i64 noundef 4) #5
  %355 = icmp ne i32 %354, 0
  br i1 %355, label %360, label %356

356:                                              ; preds = %350
  %357 = load ptr, ptr %3, align 8, !tbaa !5
  %358 = load ptr, ptr %4, align 8, !tbaa !5
  %359 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_tEXt(ptr noundef %357, ptr noundef %358, i64 noundef %359)
  br label %397

360:                                              ; preds = %350
  %361 = load ptr, ptr %3, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.png_struct_def, ptr %361, i32 0, i32 43
  %363 = getelementptr inbounds [5 x i8], ptr %362, i64 0, i64 0
  %364 = call i32 @memcmp(ptr noundef %363, ptr noundef @png_tIME, i64 noundef 4) #5
  %365 = icmp ne i32 %364, 0
  br i1 %365, label %370, label %366

366:                                              ; preds = %360
  %367 = load ptr, ptr %3, align 8, !tbaa !5
  %368 = load ptr, ptr %4, align 8, !tbaa !5
  %369 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_tIME(ptr noundef %367, ptr noundef %368, i64 noundef %369)
  br label %396

370:                                              ; preds = %360
  %371 = load ptr, ptr %3, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.png_struct_def, ptr %371, i32 0, i32 43
  %373 = getelementptr inbounds [5 x i8], ptr %372, i64 0, i64 0
  %374 = call i32 @memcmp(ptr noundef %373, ptr noundef @png_tRNS, i64 noundef 4) #5
  %375 = icmp ne i32 %374, 0
  br i1 %375, label %380, label %376

376:                                              ; preds = %370
  %377 = load ptr, ptr %3, align 8, !tbaa !5
  %378 = load ptr, ptr %4, align 8, !tbaa !5
  %379 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_tRNS(ptr noundef %377, ptr noundef %378, i64 noundef %379)
  br label %395

380:                                              ; preds = %370
  %381 = load ptr, ptr %3, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.png_struct_def, ptr %381, i32 0, i32 43
  %383 = getelementptr inbounds [5 x i8], ptr %382, i64 0, i64 0
  %384 = call i32 @memcmp(ptr noundef %383, ptr noundef @png_zTXt, i64 noundef 4) #5
  %385 = icmp ne i32 %384, 0
  br i1 %385, label %390, label %386

386:                                              ; preds = %380
  %387 = load ptr, ptr %3, align 8, !tbaa !5
  %388 = load ptr, ptr %4, align 8, !tbaa !5
  %389 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_zTXt(ptr noundef %387, ptr noundef %388, i64 noundef %389)
  br label %394

390:                                              ; preds = %380
  %391 = load ptr, ptr %3, align 8, !tbaa !5
  %392 = load ptr, ptr %4, align 8, !tbaa !5
  %393 = load i64, ptr %8, align 8, !tbaa !20
  call void @png_handle_unknown(ptr noundef %391, ptr noundef %392, i64 noundef %393)
  br label %394

394:                                              ; preds = %390, %386
  br label %395

395:                                              ; preds = %394, %376
  br label %396

396:                                              ; preds = %395, %366
  br label %397

397:                                              ; preds = %396, %356
  br label %398

398:                                              ; preds = %397, %346
  br label %399

399:                                              ; preds = %398, %336
  br label %400

400:                                              ; preds = %399, %326
  br label %401

401:                                              ; preds = %400, %316
  br label %402

402:                                              ; preds = %401, %306
  br label %403

403:                                              ; preds = %402, %296
  br label %404

404:                                              ; preds = %403, %286
  br label %405

405:                                              ; preds = %404, %276
  br label %406

406:                                              ; preds = %405, %266
  br label %407

407:                                              ; preds = %406, %256
  br label %408

408:                                              ; preds = %407, %246
  br label %409

409:                                              ; preds = %408, %236
  br label %410

410:                                              ; preds = %409
  br label %411

411:                                              ; preds = %410, %189
  br label %412

412:                                              ; preds = %411, %182
  br label %413

413:                                              ; preds = %412, %115
  br label %414

414:                                              ; preds = %413, %105
  store i32 0, ptr %9, align 4
  br label %415

415:                                              ; preds = %414, %222, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %416 = load i32, ptr %9, align 4
  switch i32 %416, label %419 [
    i32 0, label %417
    i32 2, label %418
  ]

417:                                              ; preds = %415
  br label %71

418:                                              ; preds = %415, %15
  ret void

419:                                              ; preds = %415
  unreachable
}

declare void @png_read_data(ptr noundef, ptr noundef, i64 noundef) #1

declare i32 @png_sig_cmp(ptr noundef, i64 noundef, i64 noundef) #1

declare i64 @png_get_uint_31(ptr noundef, ptr noundef) #1

declare void @png_reset_crc(ptr noundef) #1

declare void @png_crc_read(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #3

declare void @png_handle_IHDR(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_IEND(ptr noundef, ptr noundef, i64 noundef) #1

declare i32 @png_handle_as_unknown(ptr noundef, ptr noundef) #1

declare void @png_handle_unknown(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_PLTE(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_bKGD(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_cHRM(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_gAMA(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_hIST(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_oFFs(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_pCAL(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_sCAL(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_pHYs(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_sBIT(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_sRGB(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_iCCP(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_sPLT(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_tEXt(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_tIME(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_tRNS(ptr noundef, ptr noundef, i64 noundef) #1

declare void @png_handle_zTXt(ptr noundef, ptr noundef, i64 noundef) #1

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

!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, !7, i64 636}
!10 = !{!"png_struct_def", !7, i64 0, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !7, i64 272, !7, i64 273, !11, i64 280, !11, i64 288, !11, i64 296, !12, i64 304, !6, i64 416, !11, i64 424, !13, i64 432, !13, i64 436, !13, i64 440, !13, i64 444, !13, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !14, i64 568, !11, i64 592, !11, i64 600, !6, i64 608, !15, i64 616, !15, i64 618, !7, i64 620, !7, i64 625, !7, i64 626, !7, i64 627, !7, i64 628, !7, i64 629, !7, i64 630, !7, i64 631, !7, i64 632, !7, i64 633, !7, i64 634, !7, i64 635, !7, i64 636, !15, i64 638, !7, i64 640, !16, i64 644, !17, i64 648, !17, i64 658, !6, i64 672, !11, i64 680, !11, i64 688, !13, i64 696, !16, i64 700, !16, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !6, i64 744, !6, i64 752, !18, i64 760, !18, i64 765, !6, i64 776, !17, i64 784, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !11, i64 872, !11, i64 880, !11, i64 888, !11, i64 896, !11, i64 904, !11, i64 912, !13, i64 920, !13, i64 924, !11, i64 928, !11, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !7, i64 984, !7, i64 985, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !11, i64 1040, !6, i64 1048, !6, i64 1056, !13, i64 1064, !6, i64 1072, !7, i64 1080, !15, i64 1082, !15, i64 1084, !15, i64 1086, !11, i64 1088, !11, i64 1096, !7, i64 1104, !7, i64 1105, !11, i64 1112, !11, i64 1120, !6, i64 1128, !6, i64 1136, !6, i64 1144, !6, i64 1152, !6, i64 1160, !6, i64 1168, !6, i64 1176, !7, i64 1184, !11, i64 1192, !11, i64 1200, !19, i64 1208, !11, i64 1240, !11, i64 1248}
!11 = !{!"long", !7, i64 0}
!12 = !{!"z_stream_s", !6, i64 0, !13, i64 8, !11, i64 16, !6, i64 24, !13, i64 32, !11, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !13, i64 88, !11, i64 96, !11, i64 104}
!13 = !{!"int", !7, i64 0}
!14 = !{!"png_row_info_struct", !11, i64 0, !11, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!15 = !{!"short", !7, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!"png_color_16_struct", !7, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8}
!18 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!19 = !{!"png_unknown_chunk_t", !7, i64 0, !6, i64 8, !11, i64 16, !7, i64 24}
!20 = !{!11, !11, i64 0}
!21 = !{!10, !11, i64 280}
!22 = !{!10, !7, i64 630}
!23 = !{!10, !11, i64 592}


; 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.13 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [39 x i8], align 1
@png_IDAT = external global [5 x i8], align 1
@png_IHDR = external global [5 x i8], align 1
@png_IEND = external global [5 x i8], align 1
@png_PLTE = external global [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@png_bKGD = external global [5 x i8], align 1
@png_cHRM = external global [5 x i8], align 1
@png_gAMA = external global [5 x i8], align 1
@png_hIST = external global [5 x i8], align 1
@png_oFFs = external global [5 x i8], align 1
@png_pCAL = external global [5 x i8], align 1
@png_sCAL = external global [5 x i8], align 1
@png_pHYs = external global [5 x i8], align 1
@png_sBIT = external global [5 x i8], align 1
@png_sRGB = external global [5 x i8], align 1
@png_iCCP = external global [5 x i8], align 1
@png_sPLT = external global [5 x i8], align 1
@png_tEXt = external global [5 x i8], align 1
@png_tIME = external global [5 x i8], align 1
@png_tRNS = external global [5 x i8], align 1
@png_zTXt = external global [5 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

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

; Function Attrs: mustprogress 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 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca [4 x i8], align 1
  %4 = icmp eq ptr %0, null
  %5 = icmp eq ptr %1, null
  %or.cond = or i1 %4, %5
  br i1 %or.cond, label %112, label %6

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 636
  %8 = load i8, ptr %7, align 4, !tbaa !5
  %9 = icmp ult i8 %8, 8
  br i1 %9, label %10, label %28

10:                                               ; preds = %6
  %11 = zext nneg i8 %8 to i64
  %12 = sub nuw nsw i64 8, %11
  %13 = getelementptr inbounds i8, ptr %1, i64 52
  %14 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 %11
  tail call void @png_read_data(ptr noundef nonnull %0, ptr noundef nonnull %14, i64 noundef %12) #4
  store i8 8, ptr %7, align 4, !tbaa !5
  %15 = tail call i32 @png_sig_cmp(ptr noundef nonnull %13, i64 noundef %11, i64 noundef %12) #4
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %22, label %16

16:                                               ; preds = %10
  %17 = icmp ult i8 %8, 4
  br i1 %17, label %18, label %21

18:                                               ; preds = %16
  %19 = sub nuw nsw i64 4, %11
  %20 = tail call i32 @png_sig_cmp(ptr noundef nonnull %13, i64 noundef %11, i64 noundef %19) #4
  %.not136 = icmp eq i32 %20, 0
  br i1 %.not136, label %21, label %.sink.split

21:                                               ; preds = %18, %16
  br label %.sink.split

.sink.split:                                      ; preds = %18, %21
  %.str.13.sink = phi ptr [ @.str.14, %21 ], [ @.str.13, %18 ]
  tail call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull %.str.13.sink) #4
  br label %22

22:                                               ; preds = %.sink.split, %10
  %23 = icmp ult i8 %8, 3
  br i1 %23, label %24, label %28

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %0, i64 280
  %26 = load i64, ptr %25, align 8, !tbaa !19
  %27 = or i64 %26, 4096
  store i64 %27, ptr %25, align 8, !tbaa !19
  br label %28

28:                                               ; preds = %22, %24, %6
  %29 = getelementptr inbounds i8, ptr %0, i64 620
  %30 = getelementptr inbounds i8, ptr %0, i64 280
  br label %31

31:                                               ; preds = %111, %28
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  call void @png_read_data(ptr noundef %0, ptr noundef nonnull %3, i64 noundef 4) #4
  %32 = call i64 @png_get_uint_31(ptr noundef %0, ptr noundef nonnull %3) #4
  call void @png_reset_crc(ptr noundef %0) #4
  call void @png_crc_read(ptr noundef %0, ptr noundef nonnull %29, i64 noundef 4) #4
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_IDAT, i64 4)
  %.not137 = icmp eq i32 %bcmp, 0
  br i1 %.not137, label %33, label %38

33:                                               ; preds = %31
  %34 = load i64, ptr %30, align 8, !tbaa !19
  %35 = and i64 %34, 8
  %.not138 = icmp eq i64 %35, 0
  br i1 %.not138, label %38, label %36

36:                                               ; preds = %33
  %37 = or i64 %34, 8192
  store i64 %37, ptr %30, align 8, !tbaa !19
  br label %38

38:                                               ; preds = %33, %36, %31
  %bcmp139 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_IHDR, i64 4)
  %.not140 = icmp eq i32 %bcmp139, 0
  br i1 %.not140, label %39, label %40

39:                                               ; preds = %38
  call void @png_handle_IHDR(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

40:                                               ; preds = %38
  %bcmp141 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_IEND, i64 4)
  %.not142 = icmp eq i32 %bcmp141, 0
  br i1 %.not142, label %41, label %42

41:                                               ; preds = %40
  call void @png_handle_IEND(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

42:                                               ; preds = %40
  %43 = call i32 @png_handle_as_unknown(ptr noundef %0, ptr noundef nonnull %29) #4
  %.not143 = icmp eq i32 %43, 0
  br i1 %.not143, label %63, label %44

44:                                               ; preds = %42
  %bcmp182 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_IDAT, i64 4)
  %.not183 = icmp eq i32 %bcmp182, 0
  br i1 %.not183, label %45, label %48

45:                                               ; preds = %44
  %46 = load i64, ptr %30, align 8, !tbaa !19
  %47 = or i64 %46, 4
  store i64 %47, ptr %30, align 8, !tbaa !19
  br label %48

48:                                               ; preds = %45, %44
  call void @png_handle_unknown(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  %bcmp184 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_PLTE, i64 4)
  %.not185 = icmp eq i32 %bcmp184, 0
  br i1 %.not185, label %49, label %52

49:                                               ; preds = %48
  %50 = load i64, ptr %30, align 8, !tbaa !19
  %51 = or i64 %50, 2
  store i64 %51, ptr %30, align 8, !tbaa !19
  br label %111

52:                                               ; preds = %48
  %bcmp186 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_IDAT, i64 4)
  %.not187 = icmp eq i32 %bcmp186, 0
  br i1 %.not187, label %53, label %111

53:                                               ; preds = %52
  %54 = load i64, ptr %30, align 8, !tbaa !19
  %55 = and i64 %54, 1
  %.not188 = icmp eq i64 %55, 0
  br i1 %.not188, label %56, label %57

56:                                               ; preds = %53
  call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.15) #4
  br label %.thread

57:                                               ; preds = %53
  %58 = getelementptr inbounds i8, ptr %0, i64 630
  %59 = load i8, ptr %58, align 2, !tbaa !20
  %60 = icmp eq i8 %59, 3
  %61 = and i64 %54, 2
  %.not189 = icmp eq i64 %61, 0
  %or.cond190 = and i1 %.not189, %60
  br i1 %or.cond190, label %62, label %.thread

62:                                               ; preds = %57
  call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.16) #4
  br label %.thread

63:                                               ; preds = %42
  %bcmp144 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_PLTE, i64 4)
  %.not145 = icmp eq i32 %bcmp144, 0
  br i1 %.not145, label %64, label %65

64:                                               ; preds = %63
  call void @png_handle_PLTE(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

65:                                               ; preds = %63
  %bcmp146 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_IDAT, i64 4)
  %.not147 = icmp eq i32 %bcmp146, 0
  br i1 %.not147, label %66, label %78

66:                                               ; preds = %65
  %67 = load i64, ptr %30, align 8, !tbaa !19
  %68 = and i64 %67, 1
  %.not148 = icmp eq i64 %68, 0
  br i1 %.not148, label %.sink.split197, label %69

69:                                               ; preds = %66
  %70 = getelementptr inbounds i8, ptr %0, i64 630
  %71 = load i8, ptr %70, align 2, !tbaa !20
  %72 = icmp eq i8 %71, 3
  %73 = and i64 %67, 2
  %.not149 = icmp eq i64 %73, 0
  %or.cond191 = and i1 %.not149, %72
  br i1 %or.cond191, label %.sink.split197, label %74

.sink.split197:                                   ; preds = %69, %66
  %.str.16.sink = phi ptr [ @.str.15, %66 ], [ @.str.16, %69 ]
  call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull %.str.16.sink) #4
  br label %74

74:                                               ; preds = %.sink.split197, %69
  %75 = getelementptr inbounds i8, ptr %0, i64 592
  store i64 %32, ptr %75, align 8, !tbaa !21
  %76 = load i64, ptr %30, align 8, !tbaa !19
  %77 = or i64 %76, 4
  store i64 %77, ptr %30, align 8, !tbaa !19
  br label %.thread

78:                                               ; preds = %65
  %bcmp150 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_bKGD, i64 4)
  %.not151 = icmp eq i32 %bcmp150, 0
  br i1 %.not151, label %79, label %80

79:                                               ; preds = %78
  call void @png_handle_bKGD(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

80:                                               ; preds = %78
  %bcmp152 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_cHRM, i64 4)
  %.not153 = icmp eq i32 %bcmp152, 0
  br i1 %.not153, label %81, label %82

81:                                               ; preds = %80
  call void @png_handle_cHRM(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

82:                                               ; preds = %80
  %bcmp154 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_gAMA, i64 4)
  %.not155 = icmp eq i32 %bcmp154, 0
  br i1 %.not155, label %83, label %84

83:                                               ; preds = %82
  call void @png_handle_gAMA(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

84:                                               ; preds = %82
  %bcmp156 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_hIST, i64 4)
  %.not157 = icmp eq i32 %bcmp156, 0
  br i1 %.not157, label %85, label %86

85:                                               ; preds = %84
  call void @png_handle_hIST(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

86:                                               ; preds = %84
  %bcmp158 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_oFFs, i64 4)
  %.not159 = icmp eq i32 %bcmp158, 0
  br i1 %.not159, label %87, label %88

87:                                               ; preds = %86
  call void @png_handle_oFFs(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

88:                                               ; preds = %86
  %bcmp160 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_pCAL, i64 4)
  %.not161 = icmp eq i32 %bcmp160, 0
  br i1 %.not161, label %89, label %90

89:                                               ; preds = %88
  call void @png_handle_pCAL(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

90:                                               ; preds = %88
  %bcmp162 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_sCAL, i64 4)
  %.not163 = icmp eq i32 %bcmp162, 0
  br i1 %.not163, label %91, label %92

91:                                               ; preds = %90
  call void @png_handle_sCAL(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

92:                                               ; preds = %90
  %bcmp164 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_pHYs, i64 4)
  %.not165 = icmp eq i32 %bcmp164, 0
  br i1 %.not165, label %93, label %94

93:                                               ; preds = %92
  call void @png_handle_pHYs(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

94:                                               ; preds = %92
  %bcmp166 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_sBIT, i64 4)
  %.not167 = icmp eq i32 %bcmp166, 0
  br i1 %.not167, label %95, label %96

95:                                               ; preds = %94
  call void @png_handle_sBIT(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

96:                                               ; preds = %94
  %bcmp168 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_sRGB, i64 4)
  %.not169 = icmp eq i32 %bcmp168, 0
  br i1 %.not169, label %97, label %98

97:                                               ; preds = %96
  call void @png_handle_sRGB(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

98:                                               ; preds = %96
  %bcmp170 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_iCCP, i64 4)
  %.not171 = icmp eq i32 %bcmp170, 0
  br i1 %.not171, label %99, label %100

99:                                               ; preds = %98
  call void @png_handle_iCCP(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

100:                                              ; preds = %98
  %bcmp172 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_sPLT, i64 4)
  %.not173 = icmp eq i32 %bcmp172, 0
  br i1 %.not173, label %101, label %102

101:                                              ; preds = %100
  call void @png_handle_sPLT(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

102:                                              ; preds = %100
  %bcmp174 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_tEXt, i64 4)
  %.not175 = icmp eq i32 %bcmp174, 0
  br i1 %.not175, label %103, label %104

103:                                              ; preds = %102
  call void @png_handle_tEXt(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

104:                                              ; preds = %102
  %bcmp176 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_tIME, i64 4)
  %.not177 = icmp eq i32 %bcmp176, 0
  br i1 %.not177, label %105, label %106

105:                                              ; preds = %104
  call void @png_handle_tIME(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

106:                                              ; preds = %104
  %bcmp178 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_tRNS, i64 4)
  %.not179 = icmp eq i32 %bcmp178, 0
  br i1 %.not179, label %107, label %108

107:                                              ; preds = %106
  call void @png_handle_tRNS(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

108:                                              ; preds = %106
  %bcmp180 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %29, ptr noundef nonnull dereferenceable(4) @png_zTXt, i64 4)
  %.not181 = icmp eq i32 %bcmp180, 0
  br i1 %.not181, label %109, label %110

109:                                              ; preds = %108
  call void @png_handle_zTXt(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

110:                                              ; preds = %108
  call void @png_handle_unknown(ptr noundef %0, ptr noundef %1, i64 noundef %32) #4
  br label %111

.thread:                                          ; preds = %74, %57, %62, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  br label %112

111:                                              ; preds = %39, %52, %49, %81, %85, %89, %93, %97, %101, %105, %109, %110, %107, %103, %99, %95, %91, %87, %83, %79, %64, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  br label %31

112:                                              ; preds = %.thread, %2
  ret void
}

declare void @png_read_data(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare i32 @png_sig_cmp(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

declare i64 @png_get_uint_31(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @png_reset_crc(ptr noundef) local_unnamed_addr #1

declare void @png_crc_read(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 636}
!6 = !{!"png_struct_def", !7, i64 0, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !7, i64 272, !7, i64 273, !10, i64 280, !10, i64 288, !10, i64 296, !11, i64 304, !9, i64 416, !10, i64 424, !12, i64 432, !12, i64 436, !12, i64 440, !12, i64 444, !12, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !9, i64 520, !9, i64 528, !9, i64 536, !9, i64 544, !9, i64 552, !9, i64 560, !13, i64 568, !10, i64 592, !10, i64 600, !9, i64 608, !14, i64 616, !14, i64 618, !7, i64 620, !7, i64 625, !7, i64 626, !7, i64 627, !7, i64 628, !7, i64 629, !7, i64 630, !7, i64 631, !7, i64 632, !7, i64 633, !7, i64 634, !7, i64 635, !7, i64 636, !14, i64 638, !7, i64 640, !15, i64 644, !16, i64 648, !16, i64 658, !9, i64 672, !10, i64 680, !10, i64 688, !12, i64 696, !15, i64 700, !15, i64 704, !9, i64 712, !9, i64 720, !9, i64 728, !9, i64 736, !9, i64 744, !9, i64 752, !17, i64 760, !17, i64 765, !9, i64 776, !16, i64 784, !9, i64 800, !9, i64 808, !9, i64 816, !9, i64 824, !9, i64 832, !9, i64 840, !9, i64 848, !9, i64 856, !9, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !12, i64 920, !12, i64 924, !10, i64 928, !10, i64 936, !9, i64 944, !9, i64 952, !9, i64 960, !9, i64 968, !9, i64 976, !7, i64 984, !7, i64 985, !9, i64 992, !9, i64 1000, !9, i64 1008, !9, i64 1016, !9, i64 1024, !9, i64 1032, !10, i64 1040, !9, i64 1048, !9, i64 1056, !12, i64 1064, !9, i64 1072, !7, i64 1080, !14, i64 1082, !14, i64 1084, !14, i64 1086, !10, i64 1088, !10, i64 1096, !7, i64 1104, !7, i64 1105, !10, i64 1112, !10, i64 1120, !9, i64 1128, !9, i64 1136, !9, i64 1144, !9, i64 1152, !9, i64 1160, !9, i64 1168, !9, i64 1176, !7, i64 1184, !10, i64 1192, !10, i64 1200, !18, i64 1208, !10, i64 1240, !10, i64 1248}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!"z_stream_s", !9, i64 0, !12, i64 8, !10, i64 16, !9, i64 24, !12, i64 32, !10, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !12, i64 88, !10, i64 96, !10, i64 104}
!12 = !{!"int", !7, i64 0}
!13 = !{!"png_row_info_struct", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!14 = !{!"short", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"png_color_16_struct", !7, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, 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, !9, i64 8, !10, i64 16, !7, i64 24}
!19 = !{!6, !10, i64 280}
!20 = !{!6, !7, i64 630}
!21 = !{!6, !10, i64 592}


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