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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.png_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i32, i32, i32, i32, %struct.z_stream_s, i32, i32, i32, i32, i64, i32, i32, i32, ptr, ptr, i64, i32, i32, ptr, i16, i32, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, i32, %struct.png_color_16_struct, %struct.png_color_16_struct, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_color_8_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i64, i64, i64, i64, i32, i32, ptr, ptr, i8, [29 x i8], i32, ptr, ptr, i32, i32, ptr, i8, i8, i16, i16, i32, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i32, i32, i64, %struct.png_unknown_chunk_t, i64, ptr, i64, i32, i32, ptr, [4 x ptr], %struct.png_colorspace }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.z_stream_s = type { ptr, i32, i64, ptr, i32, i64, ptr, ptr, ptr, ptr, ptr, i32, i64, i64 }
%struct.png_color_8_struct = type { i8, i8, i8, i8, i8 }
%struct.png_color_16_struct = type { i8, i16, i16, i16, i16 }
%struct.png_unknown_chunk_t = type { [5 x i8], ptr, i64, i8 }
%struct.png_colorspace = type { i32, %struct.png_xy, %struct.png_XYZ, i16, i16 }
%struct.png_xy = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.png_XYZ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [41 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

declare i32 @png_read_chunk_header(ptr noundef) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @png_read_end(ptr noalias noundef %0, ptr noalias noundef %1) #2 {
  %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) #3
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %12

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

12:                                               ; preds = %2
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call i32 @png_chunk_unknown_handling(ptr noundef %13, i32 noundef 1229209940)
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %18

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

18:                                               ; preds = %16, %12
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.png_struct_def, ptr %19, i32 0, i32 40
  %21 = load i8, ptr %20, align 1, !tbaa !9
  %22 = zext i8 %21 to i32
  %23 = icmp eq i32 %22, 3
  br i1 %23, label %24, label %35

24:                                               ; preds = %18
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.png_struct_def, ptr %25, i32 0, i32 33
  %27 = load i32, ptr %26, align 4, !tbaa !21
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.png_struct_def, ptr %28, i32 0, i32 32
  %30 = load i16, ptr %29, align 8, !tbaa !22
  %31 = zext i16 %30 to i32
  %32 = icmp sgt i32 %27, %31
  br i1 %32, label %33, label %35

33:                                               ; preds = %24
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_benign_error(ptr noundef %34, ptr noundef @.str.9)
  br label %35

35:                                               ; preds = %33, %24, %18
  br label %36

36:                                               ; preds = %266, %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = call i32 @png_read_chunk_header(ptr noundef %37)
  store i32 %38, ptr %7, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.png_struct_def, ptr %39, i32 0, i32 25
  %41 = load i32, ptr %40, align 8, !tbaa !24
  store i32 %41, ptr %8, align 4, !tbaa !23
  %42 = load i32, ptr %8, align 4, !tbaa !23
  %43 = icmp eq i32 %42, 1229278788
  br i1 %43, label %44, label %48

44:                                               ; preds = %36
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_IEND(ptr noundef %45, ptr noundef %46, i32 noundef %47)
  br label %265

48:                                               ; preds = %36
  %49 = load i32, ptr %8, align 4, !tbaa !23
  %50 = icmp eq i32 %49, 1229472850
  br i1 %50, label %51, label %55

51:                                               ; preds = %48
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_IHDR(ptr noundef %52, ptr noundef %53, i32 noundef %54)
  br label %264

55:                                               ; preds = %48
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = icmp eq ptr %56, null
  br i1 %57, label %58, label %62

58:                                               ; preds = %55
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = load i32, ptr %7, align 4, !tbaa !23
  %61 = call i32 @png_crc_finish(ptr noundef %59, i32 noundef %60)
  br label %263

62:                                               ; preds = %55
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = load i32, ptr %8, align 4, !tbaa !23
  %65 = call i32 @png_chunk_unknown_handling(ptr noundef %63, i32 noundef %64)
  store i32 %65, ptr %5, align 4, !tbaa !23
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %95

67:                                               ; preds = %62
  %68 = load i32, ptr %8, align 4, !tbaa !23
  %69 = icmp eq i32 %68, 1229209940
  br i1 %69, label %70, label %82

70:                                               ; preds = %67
  %71 = load i32, ptr %7, align 4, !tbaa !23
  %72 = icmp ugt i32 %71, 0
  br i1 %72, label %79, label %73

73:                                               ; preds = %70
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.png_struct_def, ptr %74, i32 0, i32 13
  %76 = load i32, ptr %75, align 4, !tbaa !25
  %77 = and i32 %76, 8192
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %81

79:                                               ; preds = %73, %70
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_benign_error(ptr noundef %80, ptr noundef @.str.2)
  br label %81

81:                                               ; preds = %79, %73
  br label %82

82:                                               ; preds = %81, %67
  %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 !23
  %86 = load i32, ptr %5, align 4, !tbaa !23
  call void @png_handle_unknown(ptr noundef %83, ptr noundef %84, i32 noundef %85, i32 noundef %86)
  %87 = load i32, ptr %8, align 4, !tbaa !23
  %88 = icmp eq i32 %87, 1347179589
  br i1 %88, label %89, label %94

89:                                               ; preds = %82
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.png_struct_def, ptr %90, i32 0, i32 13
  %92 = load i32, ptr %91, align 4, !tbaa !25
  %93 = or i32 %92, 2
  store i32 %93, ptr %91, align 4, !tbaa !25
  br label %94

94:                                               ; preds = %89, %82
  br label %262

95:                                               ; preds = %62
  %96 = load i32, ptr %8, align 4, !tbaa !23
  %97 = icmp eq i32 %96, 1229209940
  br i1 %97, label %98, label %113

98:                                               ; preds = %95
  %99 = load i32, ptr %7, align 4, !tbaa !23
  %100 = icmp ugt i32 %99, 0
  br i1 %100, label %107, label %101

101:                                              ; preds = %98
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.png_struct_def, ptr %102, i32 0, i32 13
  %104 = load i32, ptr %103, align 4, !tbaa !25
  %105 = and i32 %104, 8192
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %109

107:                                              ; preds = %101, %98
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_benign_error(ptr noundef %108, ptr noundef @.str.2)
  br label %109

109:                                              ; preds = %107, %101
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = load i32, ptr %7, align 4, !tbaa !23
  %112 = call i32 @png_crc_finish(ptr noundef %110, i32 noundef %111)
  br label %261

113:                                              ; preds = %95
  %114 = load i32, ptr %8, align 4, !tbaa !23
  %115 = icmp eq i32 %114, 1347179589
  br i1 %115, label %116, label %120

116:                                              ; preds = %113
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_PLTE(ptr noundef %117, ptr noundef %118, i32 noundef %119)
  br label %260

120:                                              ; preds = %113
  %121 = load i32, ptr %8, align 4, !tbaa !23
  %122 = icmp eq i32 %121, 1649100612
  br i1 %122, label %123, label %127

123:                                              ; preds = %120
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_bKGD(ptr noundef %124, ptr noundef %125, i32 noundef %126)
  br label %259

127:                                              ; preds = %120
  %128 = load i32, ptr %8, align 4, !tbaa !23
  %129 = icmp eq i32 %128, 1665684045
  br i1 %129, label %130, label %134

130:                                              ; preds = %127
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_cHRM(ptr noundef %131, ptr noundef %132, i32 noundef %133)
  br label %258

134:                                              ; preds = %127
  %135 = load i32, ptr %8, align 4, !tbaa !23
  %136 = icmp eq i32 %135, 1732332865
  br i1 %136, label %137, label %141

137:                                              ; preds = %134
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_gAMA(ptr noundef %138, ptr noundef %139, i32 noundef %140)
  br label %257

141:                                              ; preds = %134
  %142 = load i32, ptr %8, align 4, !tbaa !23
  %143 = icmp eq i32 %142, 1749635924
  br i1 %143, label %144, label %148

144:                                              ; preds = %141
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_hIST(ptr noundef %145, ptr noundef %146, i32 noundef %147)
  br label %256

148:                                              ; preds = %141
  %149 = load i32, ptr %8, align 4, !tbaa !23
  %150 = icmp eq i32 %149, 1866876531
  br i1 %150, label %151, label %155

151:                                              ; preds = %148
  %152 = load ptr, ptr %3, align 8, !tbaa !5
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_oFFs(ptr noundef %152, ptr noundef %153, i32 noundef %154)
  br label %255

155:                                              ; preds = %148
  %156 = load i32, ptr %8, align 4, !tbaa !23
  %157 = icmp eq i32 %156, 1883455820
  br i1 %157, label %158, label %162

158:                                              ; preds = %155
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_pCAL(ptr noundef %159, ptr noundef %160, i32 noundef %161)
  br label %254

162:                                              ; preds = %155
  %163 = load i32, ptr %8, align 4, !tbaa !23
  %164 = icmp eq i32 %163, 1933787468
  br i1 %164, label %165, label %169

165:                                              ; preds = %162
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_sCAL(ptr noundef %166, ptr noundef %167, i32 noundef %168)
  br label %253

169:                                              ; preds = %162
  %170 = load i32, ptr %8, align 4, !tbaa !23
  %171 = icmp eq i32 %170, 1883789683
  br i1 %171, label %172, label %176

172:                                              ; preds = %169
  %173 = load ptr, ptr %3, align 8, !tbaa !5
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_pHYs(ptr noundef %173, ptr noundef %174, i32 noundef %175)
  br label %252

176:                                              ; preds = %169
  %177 = load i32, ptr %8, align 4, !tbaa !23
  %178 = icmp eq i32 %177, 1933723988
  br i1 %178, label %179, label %183

179:                                              ; preds = %176
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_sBIT(ptr noundef %180, ptr noundef %181, i32 noundef %182)
  br label %251

183:                                              ; preds = %176
  %184 = load i32, ptr %8, align 4, !tbaa !23
  %185 = icmp eq i32 %184, 1934772034
  br i1 %185, label %186, label %190

186:                                              ; preds = %183
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_sRGB(ptr noundef %187, ptr noundef %188, i32 noundef %189)
  br label %250

190:                                              ; preds = %183
  %191 = load i32, ptr %8, align 4, !tbaa !23
  %192 = icmp eq i32 %191, 1766015824
  br i1 %192, label %193, label %197

193:                                              ; preds = %190
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_iCCP(ptr noundef %194, ptr noundef %195, i32 noundef %196)
  br label %249

197:                                              ; preds = %190
  %198 = load i32, ptr %8, align 4, !tbaa !23
  %199 = icmp eq i32 %198, 1934642260
  br i1 %199, label %200, label %204

200:                                              ; preds = %197
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_sPLT(ptr noundef %201, ptr noundef %202, i32 noundef %203)
  br label %248

204:                                              ; preds = %197
  %205 = load i32, ptr %8, align 4, !tbaa !23
  %206 = icmp eq i32 %205, 1950701684
  br i1 %206, label %207, label %211

207:                                              ; preds = %204
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_tEXt(ptr noundef %208, ptr noundef %209, i32 noundef %210)
  br label %247

211:                                              ; preds = %204
  %212 = load i32, ptr %8, align 4, !tbaa !23
  %213 = icmp eq i32 %212, 1950960965
  br i1 %213, label %214, label %218

214:                                              ; preds = %211
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_tIME(ptr noundef %215, ptr noundef %216, i32 noundef %217)
  br label %246

218:                                              ; preds = %211
  %219 = load i32, ptr %8, align 4, !tbaa !23
  %220 = icmp eq i32 %219, 1951551059
  br i1 %220, label %221, label %225

221:                                              ; preds = %218
  %222 = load ptr, ptr %3, align 8, !tbaa !5
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_tRNS(ptr noundef %222, ptr noundef %223, i32 noundef %224)
  br label %245

225:                                              ; preds = %218
  %226 = load i32, ptr %8, align 4, !tbaa !23
  %227 = icmp eq i32 %226, 2052348020
  br i1 %227, label %228, label %232

228:                                              ; preds = %225
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_zTXt(ptr noundef %229, ptr noundef %230, i32 noundef %231)
  br label %244

232:                                              ; preds = %225
  %233 = load i32, ptr %8, align 4, !tbaa !23
  %234 = icmp eq i32 %233, 1767135348
  br i1 %234, label %235, label %239

235:                                              ; preds = %232
  %236 = load ptr, ptr %3, align 8, !tbaa !5
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_iTXt(ptr noundef %236, ptr noundef %237, i32 noundef %238)
  br label %243

239:                                              ; preds = %232
  %240 = load ptr, ptr %3, align 8, !tbaa !5
  %241 = load ptr, ptr %4, align 8, !tbaa !5
  %242 = load i32, ptr %7, align 4, !tbaa !23
  call void @png_handle_unknown(ptr noundef %240, ptr noundef %241, i32 noundef %242, i32 noundef 0)
  br label %243

243:                                              ; preds = %239, %235
  br label %244

244:                                              ; preds = %243, %228
  br label %245

245:                                              ; preds = %244, %221
  br label %246

246:                                              ; preds = %245, %214
  br label %247

247:                                              ; preds = %246, %207
  br label %248

248:                                              ; preds = %247, %200
  br label %249

249:                                              ; preds = %248, %193
  br label %250

250:                                              ; preds = %249, %186
  br label %251

251:                                              ; preds = %250, %179
  br label %252

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

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

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

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

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

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

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

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

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

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

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

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

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

265:                                              ; preds = %264, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %266

266:                                              ; preds = %265
  %267 = load ptr, ptr %3, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.png_struct_def, ptr %267, i32 0, i32 13
  %269 = load i32, ptr %268, align 4, !tbaa !25
  %270 = and i32 %269, 16
  %271 = icmp eq i32 %270, 0
  br i1 %271, label %36, label %272, !llvm.loop !26

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

273:                                              ; preds = %272, %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  %274 = load i32, ptr %6, align 4
  switch i32 %274, label %276 [
    i32 0, label %275
    i32 1, label %275
  ]

275:                                              ; preds = %273, %273
  ret void

276:                                              ; preds = %273
  unreachable
}

declare void @png_read_finish_IDAT(ptr noundef) #1

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

declare i32 @png_crc_finish(ptr noundef, i32 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 }

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


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

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

declare i32 @png_read_chunk_header(ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4:                                                ; preds = %2
  %5 = tail call i32 @png_chunk_unknown_handling(ptr noundef nonnull %0, i32 noundef 1229209940) #2
  %6 = icmp eq i32 %5, 0
  br i1 %6, label %7, label %8

7:                                                ; preds = %4
  tail call void @png_read_finish_IDAT(ptr noundef nonnull %0) #2
  br label %8

8:                                                ; preds = %7, %4
  %9 = getelementptr inbounds i8, ptr %0, i64 511
  %10 = load i8, ptr %9, align 1, !tbaa !5
  %11 = icmp eq i8 %10, 3
  br i1 %11, label %12, label %20

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %0, i64 500
  %14 = load i32, ptr %13, align 4, !tbaa !20
  %15 = getelementptr inbounds i8, ptr %0, i64 496
  %16 = load i16, ptr %15, align 8, !tbaa !21
  %17 = zext i16 %16 to i32
  %18 = icmp sgt i32 %14, %17
  br i1 %18, label %19, label %20

19:                                               ; preds = %12
  tail call void @png_benign_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.9) #2
  br label %20

20:                                               ; preds = %19, %12, %8
  %21 = getelementptr inbounds i8, ptr %0, i64 448
  %22 = icmp eq ptr %1, null
  %23 = getelementptr inbounds i8, ptr %0, i64 284
  br i1 %22, label %.split.us, label %.split

.split.us:                                        ; preds = %20, %30
  %24 = tail call i32 @png_read_chunk_header(ptr noundef nonnull %0) #2
  %25 = load i32, ptr %21, align 8, !tbaa !22
  switch i32 %25, label %28 [
    i32 1229278788, label %27
    i32 1229472850, label %26
  ]

26:                                               ; preds = %.split.us
  tail call void @png_handle_IHDR(ptr noundef nonnull %0, ptr noundef null, i32 noundef %24) #2
  br label %30

27:                                               ; preds = %.split.us
  tail call void @png_handle_IEND(ptr noundef nonnull %0, ptr noundef null, i32 noundef %24) #2
  br label %30

28:                                               ; preds = %.split.us
  %29 = tail call i32 @png_crc_finish(ptr noundef nonnull %0, i32 noundef %24) #2
  br label %30

30:                                               ; preds = %28, %27, %26
  %31 = load i32, ptr %23, align 4, !tbaa !23
  %32 = and i32 %31, 16
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %.split.us, label %.loopexit, !llvm.loop !24

.split:                                           ; preds = %20, %79
  %34 = tail call i32 @png_read_chunk_header(ptr noundef nonnull %0) #2
  %35 = load i32, ptr %21, align 8, !tbaa !22
  switch i32 %35, label %38 [
    i32 1229278788, label %36
    i32 1229472850, label %37
  ]

36:                                               ; preds = %.split
  tail call void @png_handle_IEND(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %34) #2
  br label %79

37:                                               ; preds = %.split
  tail call void @png_handle_IHDR(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %34) #2
  br label %79

38:                                               ; preds = %.split
  %39 = tail call i32 @png_chunk_unknown_handling(ptr noundef nonnull %0, i32 noundef %35) #2
  %.not = icmp eq i32 %39, 0
  br i1 %.not, label %52, label %40

40:                                               ; preds = %38
  %41 = icmp eq i32 %35, 1229209940
  br i1 %41, label %42, label %47

42:                                               ; preds = %40
  %.not118 = icmp eq i32 %34, 0
  br i1 %.not118, label %43, label %46

43:                                               ; preds = %42
  %44 = load i32, ptr %23, align 4, !tbaa !23
  %45 = and i32 %44, 8192
  %.not119 = icmp eq i32 %45, 0
  br i1 %.not119, label %.thread, label %46

46:                                               ; preds = %43, %42
  tail call void @png_benign_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
  br label %.thread

.thread:                                          ; preds = %43, %46
  tail call void @png_handle_unknown(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34, i32 noundef %39) #2
  br label %79

47:                                               ; preds = %40
  tail call void @png_handle_unknown(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34, i32 noundef %39) #2
  %48 = icmp eq i32 %35, 1347179589
  br i1 %48, label %49, label %79

49:                                               ; preds = %47
  %50 = load i32, ptr %23, align 4, !tbaa !23
  %51 = or i32 %50, 2
  store i32 %51, ptr %23, align 4, !tbaa !23
  br label %79

52:                                               ; preds = %38
  switch i32 %35, label %78 [
    i32 1229209940, label %53
    i32 1347179589, label %60
    i32 1649100612, label %61
    i32 1665684045, label %62
    i32 1732332865, label %63
    i32 1749635924, label %64
    i32 1866876531, label %65
    i32 1883455820, label %66
    i32 1933787468, label %67
    i32 1883789683, label %68
    i32 1933723988, label %69
    i32 1934772034, label %70
    i32 1766015824, label %71
    i32 1934642260, label %72
    i32 1950701684, label %73
    i32 1950960965, label %74
    i32 1951551059, label %75
    i32 2052348020, label %76
    i32 1767135348, label %77
  ]

53:                                               ; preds = %52
  %.not116 = icmp eq i32 %34, 0
  br i1 %.not116, label %54, label %57

54:                                               ; preds = %53
  %55 = load i32, ptr %23, align 4, !tbaa !23
  %56 = and i32 %55, 8192
  %.not117 = icmp eq i32 %56, 0
  br i1 %.not117, label %58, label %57

57:                                               ; preds = %54, %53
  tail call void @png_benign_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
  br label %58

58:                                               ; preds = %57, %54
  %59 = tail call i32 @png_crc_finish(ptr noundef nonnull %0, i32 noundef %34) #2
  br label %79

60:                                               ; preds = %52
  tail call void @png_handle_PLTE(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

61:                                               ; preds = %52
  tail call void @png_handle_bKGD(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

62:                                               ; preds = %52
  tail call void @png_handle_cHRM(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

63:                                               ; preds = %52
  tail call void @png_handle_gAMA(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

64:                                               ; preds = %52
  tail call void @png_handle_hIST(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

65:                                               ; preds = %52
  tail call void @png_handle_oFFs(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

66:                                               ; preds = %52
  tail call void @png_handle_pCAL(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

67:                                               ; preds = %52
  tail call void @png_handle_sCAL(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

68:                                               ; preds = %52
  tail call void @png_handle_pHYs(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

69:                                               ; preds = %52
  tail call void @png_handle_sBIT(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

70:                                               ; preds = %52
  tail call void @png_handle_sRGB(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

71:                                               ; preds = %52
  tail call void @png_handle_iCCP(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

72:                                               ; preds = %52
  tail call void @png_handle_sPLT(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

73:                                               ; preds = %52
  tail call void @png_handle_tEXt(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

74:                                               ; preds = %52
  tail call void @png_handle_tIME(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

75:                                               ; preds = %52
  tail call void @png_handle_tRNS(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

76:                                               ; preds = %52
  tail call void @png_handle_zTXt(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

77:                                               ; preds = %52
  tail call void @png_handle_iTXt(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34) #2
  br label %79

78:                                               ; preds = %52
  tail call void @png_handle_unknown(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34, i32 noundef 0) #2
  br label %79

79:                                               ; preds = %.thread, %37, %49, %47, %60, %62, %64, %66, %68, %70, %72, %74, %76, %78, %77, %75, %73, %71, %69, %67, %65, %63, %61, %58, %36
  %80 = load i32, ptr %23, align 4, !tbaa !23
  %81 = and i32 %80, 16
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %.split, label %.loopexit, !llvm.loop !24

.loopexit:                                        ; preds = %79, %30, %2
  ret void
}

declare void @png_read_finish_IDAT(ptr noundef) local_unnamed_addr #0

declare void @png_benign_error(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @png_crc_finish(ptr noundef, i32 noundef) local_unnamed_addr #0

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


; Effective O3 passes: CorrelatedValuePropagationPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass