; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/modules/juce_graphics/image_formats/pnglib (row)

; 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_row_info_struct = type { i32, i64, i8, i8, i8, i8 }
%struct.png_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i32, i32, i32, i32, %struct.z_stream_s, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i64, i32, i32, ptr, i16, i32, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, i32, %struct.png_color_16_struct, %struct.png_color_16_struct, ptr, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_color_8_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i64, i64, i64, i64, i32, i32, ptr, ptr, i8, i8, ptr, ptr, ptr, 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.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @png_error(ptr noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
define dso_local void @png_push_process_row(ptr noalias noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca %struct.png_row_info_struct, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #5
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.png_struct_def, ptr %10, i32 0, i32 42
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 0
  store i32 %12, ptr %13, align 8, !tbaa !21
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.png_struct_def, ptr %14, i32 0, i32 63
  %16 = load i8, ptr %15, align 1, !tbaa !23
  %17 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 2
  store i8 %16, ptr %17, align 8, !tbaa !24
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.png_struct_def, ptr %18, i32 0, i32 64
  %20 = load i8, ptr %19, align 8, !tbaa !25
  %21 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 3
  store i8 %20, ptr %21, align 1, !tbaa !26
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.png_struct_def, ptr %22, i32 0, i32 67
  %24 = load i8, ptr %23, align 1, !tbaa !27
  %25 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 4
  store i8 %24, ptr %25, align 2, !tbaa !28
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.png_struct_def, ptr %26, i32 0, i32 66
  %28 = load i8, ptr %27, align 2, !tbaa !29
  %29 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 5
  store i8 %28, ptr %29, align 1, !tbaa !30
  %30 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 5
  %31 = load i8, ptr %30, align 1, !tbaa !30
  %32 = zext i8 %31 to i32
  %33 = icmp sge i32 %32, 8
  br i1 %33, label %34, label %43

34:                                               ; preds = %1
  %35 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 0
  %36 = load i32, ptr %35, align 8, !tbaa !21
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 5
  %39 = load i8, ptr %38, align 1, !tbaa !30
  %40 = zext i8 %39 to i64
  %41 = lshr i64 %40, 3
  %42 = mul i64 %37, %41
  br label %53

43:                                               ; preds = %1
  %44 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !21
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 5
  %48 = load i8, ptr %47, align 1, !tbaa !30
  %49 = zext i8 %48 to i64
  %50 = mul i64 %46, %49
  %51 = add i64 %50, 7
  %52 = lshr i64 %51, 3
  br label %53

53:                                               ; preds = %43, %34
  %54 = phi i64 [ %42, %34 ], [ %52, %43 ]
  %55 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 1
  store i64 %54, ptr %55, align 8, !tbaa !31
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.png_struct_def, ptr %56, i32 0, i32 46
  %58 = load ptr, ptr %57, align 8, !tbaa !32
  %59 = getelementptr inbounds i8, ptr %58, i64 0
  %60 = load i8, ptr %59, align 1, !tbaa !33
  %61 = zext i8 %60 to i32
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %63, label %90

63:                                               ; preds = %53
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.png_struct_def, ptr %64, i32 0, i32 46
  %66 = load ptr, ptr %65, align 8, !tbaa !32
  %67 = getelementptr inbounds i8, ptr %66, i64 0
  %68 = load i8, ptr %67, align 1, !tbaa !33
  %69 = zext i8 %68 to i32
  %70 = icmp slt i32 %69, 5
  br i1 %70, label %71, label %87

71:                                               ; preds = %63
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.png_struct_def, ptr %73, i32 0, i32 46
  %75 = load ptr, ptr %74, align 8, !tbaa !32
  %76 = getelementptr inbounds i8, ptr %75, i64 1
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.png_struct_def, ptr %77, i32 0, i32 45
  %79 = load ptr, ptr %78, align 8, !tbaa !34
  %80 = getelementptr inbounds i8, ptr %79, i64 1
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.png_struct_def, ptr %81, i32 0, i32 46
  %83 = load ptr, ptr %82, align 8, !tbaa !32
  %84 = getelementptr inbounds i8, ptr %83, i64 0
  %85 = load i8, ptr %84, align 1, !tbaa !33
  %86 = zext i8 %85 to i32
  call void @png_read_filter_row(ptr noundef %72, ptr noundef %3, ptr noundef %76, ptr noundef %80, i32 noundef %86)
  br label %89

87:                                               ; preds = %63
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_error(ptr noundef %88, ptr noundef @.str.16) #6
  unreachable

89:                                               ; preds = %71
  br label %90

90:                                               ; preds = %89, %53
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.png_struct_def, ptr %91, i32 0, i32 45
  %93 = load ptr, ptr %92, align 8, !tbaa !34
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.png_struct_def, ptr %94, i32 0, i32 46
  %96 = load ptr, ptr %95, align 8, !tbaa !32
  %97 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 1
  %98 = load i64, ptr %97, align 8, !tbaa !31
  %99 = add i64 %98, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %93, ptr align 1 %96, i64 %99, i1 false)
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.png_struct_def, ptr %100, i32 0, i32 17
  %102 = load i32, ptr %101, align 4, !tbaa !35
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %106

104:                                              ; preds = %90
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_do_read_transformations(ptr noundef %105, ptr noundef %3)
  br label %106

106:                                              ; preds = %104, %90
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.png_struct_def, ptr %107, i32 0, i32 71
  %109 = load i8, ptr %108, align 1, !tbaa !36
  %110 = zext i8 %109 to i32
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %128

112:                                              ; preds = %106
  %113 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 5
  %114 = load i8, ptr %113, align 1, !tbaa !30
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.png_struct_def, ptr %115, i32 0, i32 71
  store i8 %114, ptr %116, align 1, !tbaa !36
  %117 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 5
  %118 = load i8, ptr %117, align 1, !tbaa !30
  %119 = zext i8 %118 to i32
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.png_struct_def, ptr %120, i32 0, i32 70
  %122 = load i8, ptr %121, align 2, !tbaa !37
  %123 = zext i8 %122 to i32
  %124 = icmp sgt i32 %119, %123
  br i1 %124, label %125, label %127

125:                                              ; preds = %112
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_error(ptr noundef %126, ptr noundef @.str.17) #6
  unreachable

127:                                              ; preds = %112
  br label %140

128:                                              ; preds = %106
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.png_struct_def, ptr %129, i32 0, i32 71
  %131 = load i8, ptr %130, align 1, !tbaa !36
  %132 = zext i8 %131 to i32
  %133 = getelementptr inbounds %struct.png_row_info_struct, ptr %3, i32 0, i32 5
  %134 = load i8, ptr %133, align 1, !tbaa !30
  %135 = zext i8 %134 to i32
  %136 = icmp ne i32 %132, %135
  br i1 %136, label %137, label %139

137:                                              ; preds = %128
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_error(ptr noundef %138, ptr noundef @.str.18) #6
  unreachable

139:                                              ; preds = %128
  br label %140

140:                                              ; preds = %139, %127
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.png_struct_def, ptr %141, i32 0, i32 60
  %143 = load i8, ptr %142, align 4, !tbaa !38
  %144 = zext i8 %143 to i32
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %529

146:                                              ; preds = %140
  %147 = load ptr, ptr %2, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.png_struct_def, ptr %147, i32 0, i32 17
  %149 = load i32, ptr %148, align 4, !tbaa !35
  %150 = and i32 %149, 2
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %529

152:                                              ; preds = %146
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.png_struct_def, ptr %153, i32 0, i32 61
  %155 = load i8, ptr %154, align 1, !tbaa !39
  %156 = zext i8 %155 to i32
  %157 = icmp slt i32 %156, 6
  br i1 %157, label %158, label %170

158:                                              ; preds = %152
  %159 = load ptr, ptr %2, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.png_struct_def, ptr %159, i32 0, i32 46
  %161 = load ptr, ptr %160, align 8, !tbaa !32
  %162 = getelementptr inbounds i8, ptr %161, i64 1
  %163 = load ptr, ptr %2, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.png_struct_def, ptr %163, i32 0, i32 61
  %165 = load i8, ptr %164, align 1, !tbaa !39
  %166 = zext i8 %165 to i32
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.png_struct_def, ptr %167, i32 0, i32 17
  %169 = load i32, ptr %168, align 4, !tbaa !35
  call void @png_do_read_interlace(ptr noundef %3, ptr noundef %162, i32 noundef %166, i32 noundef %169)
  br label %170

170:                                              ; preds = %158, %152
  %171 = load ptr, ptr %2, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.png_struct_def, ptr %171, i32 0, i32 61
  %173 = load i8, ptr %172, align 1, !tbaa !39
  %174 = zext i8 %173 to i32
  switch i32 %174, label %511 [
    i32 0, label %175
    i32 1, label %267
    i32 2, label %315
    i32 3, label %381
    i32 4, label %429
    i32 5, label %479
    i32 6, label %512
  ]

175:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !40
  br label %176

176:                                              ; preds = %194, %175
  %177 = load i32, ptr %4, align 4, !tbaa !40
  %178 = icmp slt i32 %177, 8
  br i1 %178, label %179, label %185

179:                                              ; preds = %176
  %180 = load ptr, ptr %2, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.png_struct_def, ptr %180, i32 0, i32 61
  %182 = load i8, ptr %181, align 1, !tbaa !39
  %183 = zext i8 %182 to i32
  %184 = icmp eq i32 %183, 0
  br label %185

185:                                              ; preds = %179, %176
  %186 = phi i1 [ false, %176 ], [ %184, %179 ]
  br i1 %186, label %187, label %197

187:                                              ; preds = %185
  %188 = load ptr, ptr %2, align 8, !tbaa !5
  %189 = load ptr, ptr %2, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.png_struct_def, ptr %189, i32 0, i32 46
  %191 = load ptr, ptr %190, align 8, !tbaa !32
  %192 = getelementptr inbounds i8, ptr %191, i64 1
  call void @png_push_have_row(ptr noundef %188, ptr noundef %192)
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %193)
  br label %194

194:                                              ; preds = %187
  %195 = load i32, ptr %4, align 4, !tbaa !40
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %4, align 4, !tbaa !40
  br label %176, !llvm.loop !41

197:                                              ; preds = %185
  %198 = load ptr, ptr %2, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.png_struct_def, ptr %198, i32 0, i32 61
  %200 = load i8, ptr %199, align 1, !tbaa !39
  %201 = zext i8 %200 to i32
  %202 = icmp eq i32 %201, 2
  br i1 %202, label %203, label %222

203:                                              ; preds = %197
  store i32 0, ptr %4, align 4, !tbaa !40
  br label %204

204:                                              ; preds = %218, %203
  %205 = load i32, ptr %4, align 4, !tbaa !40
  %206 = icmp slt i32 %205, 4
  br i1 %206, label %207, label %213

207:                                              ; preds = %204
  %208 = load ptr, ptr %2, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.png_struct_def, ptr %208, i32 0, i32 61
  %210 = load i8, ptr %209, align 1, !tbaa !39
  %211 = zext i8 %210 to i32
  %212 = icmp eq i32 %211, 2
  br label %213

213:                                              ; preds = %207, %204
  %214 = phi i1 [ false, %204 ], [ %212, %207 ]
  br i1 %214, label %215, label %221

215:                                              ; preds = %213
  %216 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %216, ptr noundef null)
  %217 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %217)
  br label %218

218:                                              ; preds = %215
  %219 = load i32, ptr %4, align 4, !tbaa !40
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %4, align 4, !tbaa !40
  br label %204, !llvm.loop !43

221:                                              ; preds = %213
  br label %222

222:                                              ; preds = %221, %197
  %223 = load ptr, ptr %2, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.png_struct_def, ptr %223, i32 0, i32 61
  %225 = load i8, ptr %224, align 1, !tbaa !39
  %226 = zext i8 %225 to i32
  %227 = icmp eq i32 %226, 4
  br i1 %227, label %228, label %252

228:                                              ; preds = %222
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.png_struct_def, ptr %229, i32 0, i32 38
  %231 = load i32, ptr %230, align 4, !tbaa !44
  %232 = icmp ule i32 %231, 4
  br i1 %232, label %233, label %252

233:                                              ; preds = %228
  store i32 0, ptr %4, align 4, !tbaa !40
  br label %234

234:                                              ; preds = %248, %233
  %235 = load i32, ptr %4, align 4, !tbaa !40
  %236 = icmp slt i32 %235, 2
  br i1 %236, label %237, label %243

237:                                              ; preds = %234
  %238 = load ptr, ptr %2, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.png_struct_def, ptr %238, i32 0, i32 61
  %240 = load i8, ptr %239, align 1, !tbaa !39
  %241 = zext i8 %240 to i32
  %242 = icmp eq i32 %241, 4
  br label %243

243:                                              ; preds = %237, %234
  %244 = phi i1 [ false, %234 ], [ %242, %237 ]
  br i1 %244, label %245, label %251

245:                                              ; preds = %243
  %246 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %246, ptr noundef null)
  %247 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %247)
  br label %248

248:                                              ; preds = %245
  %249 = load i32, ptr %4, align 4, !tbaa !40
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %4, align 4, !tbaa !40
  br label %234, !llvm.loop !45

251:                                              ; preds = %243
  br label %252

252:                                              ; preds = %251, %228, %222
  %253 = load ptr, ptr %2, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.png_struct_def, ptr %253, i32 0, i32 61
  %255 = load i8, ptr %254, align 1, !tbaa !39
  %256 = zext i8 %255 to i32
  %257 = icmp eq i32 %256, 6
  br i1 %257, label %258, label %266

258:                                              ; preds = %252
  %259 = load ptr, ptr %2, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.png_struct_def, ptr %259, i32 0, i32 38
  %261 = load i32, ptr %260, align 4, !tbaa !44
  %262 = icmp ule i32 %261, 4
  br i1 %262, label %263, label %266

263:                                              ; preds = %258
  %264 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %264, ptr noundef null)
  %265 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %265)
  br label %266

266:                                              ; preds = %263, %258, %252
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %528

267:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !40
  br label %268

268:                                              ; preds = %286, %267
  %269 = load i32, ptr %5, align 4, !tbaa !40
  %270 = icmp slt i32 %269, 8
  br i1 %270, label %271, label %277

271:                                              ; preds = %268
  %272 = load ptr, ptr %2, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.png_struct_def, ptr %272, i32 0, i32 61
  %274 = load i8, ptr %273, align 1, !tbaa !39
  %275 = zext i8 %274 to i32
  %276 = icmp eq i32 %275, 1
  br label %277

277:                                              ; preds = %271, %268
  %278 = phi i1 [ false, %268 ], [ %276, %271 ]
  br i1 %278, label %279, label %289

279:                                              ; preds = %277
  %280 = load ptr, ptr %2, align 8, !tbaa !5
  %281 = load ptr, ptr %2, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.png_struct_def, ptr %281, i32 0, i32 46
  %283 = load ptr, ptr %282, align 8, !tbaa !32
  %284 = getelementptr inbounds i8, ptr %283, i64 1
  call void @png_push_have_row(ptr noundef %280, ptr noundef %284)
  %285 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %285)
  br label %286

286:                                              ; preds = %279
  %287 = load i32, ptr %5, align 4, !tbaa !40
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %5, align 4, !tbaa !40
  br label %268, !llvm.loop !46

289:                                              ; preds = %277
  %290 = load ptr, ptr %2, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.png_struct_def, ptr %290, i32 0, i32 61
  %292 = load i8, ptr %291, align 1, !tbaa !39
  %293 = zext i8 %292 to i32
  %294 = icmp eq i32 %293, 2
  br i1 %294, label %295, label %314

295:                                              ; preds = %289
  store i32 0, ptr %5, align 4, !tbaa !40
  br label %296

296:                                              ; preds = %310, %295
  %297 = load i32, ptr %5, align 4, !tbaa !40
  %298 = icmp slt i32 %297, 4
  br i1 %298, label %299, label %305

299:                                              ; preds = %296
  %300 = load ptr, ptr %2, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.png_struct_def, ptr %300, i32 0, i32 61
  %302 = load i8, ptr %301, align 1, !tbaa !39
  %303 = zext i8 %302 to i32
  %304 = icmp eq i32 %303, 2
  br label %305

305:                                              ; preds = %299, %296
  %306 = phi i1 [ false, %296 ], [ %304, %299 ]
  br i1 %306, label %307, label %313

307:                                              ; preds = %305
  %308 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %308, ptr noundef null)
  %309 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %309)
  br label %310

310:                                              ; preds = %307
  %311 = load i32, ptr %5, align 4, !tbaa !40
  %312 = add nsw i32 %311, 1
  store i32 %312, ptr %5, align 4, !tbaa !40
  br label %296, !llvm.loop !47

313:                                              ; preds = %305
  br label %314

314:                                              ; preds = %313, %289
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %528

315:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !40
  br label %316

316:                                              ; preds = %334, %315
  %317 = load i32, ptr %6, align 4, !tbaa !40
  %318 = icmp slt i32 %317, 4
  br i1 %318, label %319, label %325

319:                                              ; preds = %316
  %320 = load ptr, ptr %2, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.png_struct_def, ptr %320, i32 0, i32 61
  %322 = load i8, ptr %321, align 1, !tbaa !39
  %323 = zext i8 %322 to i32
  %324 = icmp eq i32 %323, 2
  br label %325

325:                                              ; preds = %319, %316
  %326 = phi i1 [ false, %316 ], [ %324, %319 ]
  br i1 %326, label %327, label %337

327:                                              ; preds = %325
  %328 = load ptr, ptr %2, align 8, !tbaa !5
  %329 = load ptr, ptr %2, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.png_struct_def, ptr %329, i32 0, i32 46
  %331 = load ptr, ptr %330, align 8, !tbaa !32
  %332 = getelementptr inbounds i8, ptr %331, i64 1
  call void @png_push_have_row(ptr noundef %328, ptr noundef %332)
  %333 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %333)
  br label %334

334:                                              ; preds = %327
  %335 = load i32, ptr %6, align 4, !tbaa !40
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr %6, align 4, !tbaa !40
  br label %316, !llvm.loop !48

337:                                              ; preds = %325
  store i32 0, ptr %6, align 4, !tbaa !40
  br label %338

338:                                              ; preds = %352, %337
  %339 = load i32, ptr %6, align 4, !tbaa !40
  %340 = icmp slt i32 %339, 4
  br i1 %340, label %341, label %347

341:                                              ; preds = %338
  %342 = load ptr, ptr %2, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.png_struct_def, ptr %342, i32 0, i32 61
  %344 = load i8, ptr %343, align 1, !tbaa !39
  %345 = zext i8 %344 to i32
  %346 = icmp eq i32 %345, 2
  br label %347

347:                                              ; preds = %341, %338
  %348 = phi i1 [ false, %338 ], [ %346, %341 ]
  br i1 %348, label %349, label %355

349:                                              ; preds = %347
  %350 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %350, ptr noundef null)
  %351 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %351)
  br label %352

352:                                              ; preds = %349
  %353 = load i32, ptr %6, align 4, !tbaa !40
  %354 = add nsw i32 %353, 1
  store i32 %354, ptr %6, align 4, !tbaa !40
  br label %338, !llvm.loop !49

355:                                              ; preds = %347
  %356 = load ptr, ptr %2, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.png_struct_def, ptr %356, i32 0, i32 61
  %358 = load i8, ptr %357, align 1, !tbaa !39
  %359 = zext i8 %358 to i32
  %360 = icmp eq i32 %359, 4
  br i1 %360, label %361, label %380

361:                                              ; preds = %355
  store i32 0, ptr %6, align 4, !tbaa !40
  br label %362

362:                                              ; preds = %376, %361
  %363 = load i32, ptr %6, align 4, !tbaa !40
  %364 = icmp slt i32 %363, 2
  br i1 %364, label %365, label %371

365:                                              ; preds = %362
  %366 = load ptr, ptr %2, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.png_struct_def, ptr %366, i32 0, i32 61
  %368 = load i8, ptr %367, align 1, !tbaa !39
  %369 = zext i8 %368 to i32
  %370 = icmp eq i32 %369, 4
  br label %371

371:                                              ; preds = %365, %362
  %372 = phi i1 [ false, %362 ], [ %370, %365 ]
  br i1 %372, label %373, label %379

373:                                              ; preds = %371
  %374 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %374, ptr noundef null)
  %375 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %375)
  br label %376

376:                                              ; preds = %373
  %377 = load i32, ptr %6, align 4, !tbaa !40
  %378 = add nsw i32 %377, 1
  store i32 %378, ptr %6, align 4, !tbaa !40
  br label %362, !llvm.loop !50

379:                                              ; preds = %371
  br label %380

380:                                              ; preds = %379, %355
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %528

381:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !40
  br label %382

382:                                              ; preds = %400, %381
  %383 = load i32, ptr %7, align 4, !tbaa !40
  %384 = icmp slt i32 %383, 4
  br i1 %384, label %385, label %391

385:                                              ; preds = %382
  %386 = load ptr, ptr %2, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.png_struct_def, ptr %386, i32 0, i32 61
  %388 = load i8, ptr %387, align 1, !tbaa !39
  %389 = zext i8 %388 to i32
  %390 = icmp eq i32 %389, 3
  br label %391

391:                                              ; preds = %385, %382
  %392 = phi i1 [ false, %382 ], [ %390, %385 ]
  br i1 %392, label %393, label %403

393:                                              ; preds = %391
  %394 = load ptr, ptr %2, align 8, !tbaa !5
  %395 = load ptr, ptr %2, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.png_struct_def, ptr %395, i32 0, i32 46
  %397 = load ptr, ptr %396, align 8, !tbaa !32
  %398 = getelementptr inbounds i8, ptr %397, i64 1
  call void @png_push_have_row(ptr noundef %394, ptr noundef %398)
  %399 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %399)
  br label %400

400:                                              ; preds = %393
  %401 = load i32, ptr %7, align 4, !tbaa !40
  %402 = add nsw i32 %401, 1
  store i32 %402, ptr %7, align 4, !tbaa !40
  br label %382, !llvm.loop !51

403:                                              ; preds = %391
  %404 = load ptr, ptr %2, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.png_struct_def, ptr %404, i32 0, i32 61
  %406 = load i8, ptr %405, align 1, !tbaa !39
  %407 = zext i8 %406 to i32
  %408 = icmp eq i32 %407, 4
  br i1 %408, label %409, label %428

409:                                              ; preds = %403
  store i32 0, ptr %7, align 4, !tbaa !40
  br label %410

410:                                              ; preds = %424, %409
  %411 = load i32, ptr %7, align 4, !tbaa !40
  %412 = icmp slt i32 %411, 2
  br i1 %412, label %413, label %419

413:                                              ; preds = %410
  %414 = load ptr, ptr %2, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.png_struct_def, ptr %414, i32 0, i32 61
  %416 = load i8, ptr %415, align 1, !tbaa !39
  %417 = zext i8 %416 to i32
  %418 = icmp eq i32 %417, 4
  br label %419

419:                                              ; preds = %413, %410
  %420 = phi i1 [ false, %410 ], [ %418, %413 ]
  br i1 %420, label %421, label %427

421:                                              ; preds = %419
  %422 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %422, ptr noundef null)
  %423 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %423)
  br label %424

424:                                              ; preds = %421
  %425 = load i32, ptr %7, align 4, !tbaa !40
  %426 = add nsw i32 %425, 1
  store i32 %426, ptr %7, align 4, !tbaa !40
  br label %410, !llvm.loop !52

427:                                              ; preds = %419
  br label %428

428:                                              ; preds = %427, %403
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %528

429:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !40
  br label %430

430:                                              ; preds = %448, %429
  %431 = load i32, ptr %8, align 4, !tbaa !40
  %432 = icmp slt i32 %431, 2
  br i1 %432, label %433, label %439

433:                                              ; preds = %430
  %434 = load ptr, ptr %2, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.png_struct_def, ptr %434, i32 0, i32 61
  %436 = load i8, ptr %435, align 1, !tbaa !39
  %437 = zext i8 %436 to i32
  %438 = icmp eq i32 %437, 4
  br label %439

439:                                              ; preds = %433, %430
  %440 = phi i1 [ false, %430 ], [ %438, %433 ]
  br i1 %440, label %441, label %451

441:                                              ; preds = %439
  %442 = load ptr, ptr %2, align 8, !tbaa !5
  %443 = load ptr, ptr %2, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.png_struct_def, ptr %443, i32 0, i32 46
  %445 = load ptr, ptr %444, align 8, !tbaa !32
  %446 = getelementptr inbounds i8, ptr %445, i64 1
  call void @png_push_have_row(ptr noundef %442, ptr noundef %446)
  %447 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %447)
  br label %448

448:                                              ; preds = %441
  %449 = load i32, ptr %8, align 4, !tbaa !40
  %450 = add nsw i32 %449, 1
  store i32 %450, ptr %8, align 4, !tbaa !40
  br label %430, !llvm.loop !53

451:                                              ; preds = %439
  store i32 0, ptr %8, align 4, !tbaa !40
  br label %452

452:                                              ; preds = %466, %451
  %453 = load i32, ptr %8, align 4, !tbaa !40
  %454 = icmp slt i32 %453, 2
  br i1 %454, label %455, label %461

455:                                              ; preds = %452
  %456 = load ptr, ptr %2, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.png_struct_def, ptr %456, i32 0, i32 61
  %458 = load i8, ptr %457, align 1, !tbaa !39
  %459 = zext i8 %458 to i32
  %460 = icmp eq i32 %459, 4
  br label %461

461:                                              ; preds = %455, %452
  %462 = phi i1 [ false, %452 ], [ %460, %455 ]
  br i1 %462, label %463, label %469

463:                                              ; preds = %461
  %464 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %464, ptr noundef null)
  %465 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %465)
  br label %466

466:                                              ; preds = %463
  %467 = load i32, ptr %8, align 4, !tbaa !40
  %468 = add nsw i32 %467, 1
  store i32 %468, ptr %8, align 4, !tbaa !40
  br label %452, !llvm.loop !54

469:                                              ; preds = %461
  %470 = load ptr, ptr %2, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.png_struct_def, ptr %470, i32 0, i32 61
  %472 = load i8, ptr %471, align 1, !tbaa !39
  %473 = zext i8 %472 to i32
  %474 = icmp eq i32 %473, 6
  br i1 %474, label %475, label %478

475:                                              ; preds = %469
  %476 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %476, ptr noundef null)
  %477 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %477)
  br label %478

478:                                              ; preds = %475, %469
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %528

479:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !40
  br label %480

480:                                              ; preds = %498, %479
  %481 = load i32, ptr %9, align 4, !tbaa !40
  %482 = icmp slt i32 %481, 2
  br i1 %482, label %483, label %489

483:                                              ; preds = %480
  %484 = load ptr, ptr %2, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.png_struct_def, ptr %484, i32 0, i32 61
  %486 = load i8, ptr %485, align 1, !tbaa !39
  %487 = zext i8 %486 to i32
  %488 = icmp eq i32 %487, 5
  br label %489

489:                                              ; preds = %483, %480
  %490 = phi i1 [ false, %480 ], [ %488, %483 ]
  br i1 %490, label %491, label %501

491:                                              ; preds = %489
  %492 = load ptr, ptr %2, align 8, !tbaa !5
  %493 = load ptr, ptr %2, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.png_struct_def, ptr %493, i32 0, i32 46
  %495 = load ptr, ptr %494, align 8, !tbaa !32
  %496 = getelementptr inbounds i8, ptr %495, i64 1
  call void @png_push_have_row(ptr noundef %492, ptr noundef %496)
  %497 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %497)
  br label %498

498:                                              ; preds = %491
  %499 = load i32, ptr %9, align 4, !tbaa !40
  %500 = add nsw i32 %499, 1
  store i32 %500, ptr %9, align 4, !tbaa !40
  br label %480, !llvm.loop !55

501:                                              ; preds = %489
  %502 = load ptr, ptr %2, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.png_struct_def, ptr %502, i32 0, i32 61
  %504 = load i8, ptr %503, align 1, !tbaa !39
  %505 = zext i8 %504 to i32
  %506 = icmp eq i32 %505, 6
  br i1 %506, label %507, label %510

507:                                              ; preds = %501
  %508 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %508, ptr noundef null)
  %509 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %509)
  br label %510

510:                                              ; preds = %507, %501
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %528

511:                                              ; preds = %170
  br label %512

512:                                              ; preds = %511, %170
  %513 = load ptr, ptr %2, align 8, !tbaa !5
  %514 = load ptr, ptr %2, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.png_struct_def, ptr %514, i32 0, i32 46
  %516 = load ptr, ptr %515, align 8, !tbaa !32
  %517 = getelementptr inbounds i8, ptr %516, i64 1
  call void @png_push_have_row(ptr noundef %513, ptr noundef %517)
  %518 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %518)
  %519 = load ptr, ptr %2, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.png_struct_def, ptr %519, i32 0, i32 61
  %521 = load i8, ptr %520, align 1, !tbaa !39
  %522 = zext i8 %521 to i32
  %523 = icmp ne i32 %522, 6
  br i1 %523, label %524, label %525

524:                                              ; preds = %512
  br label %528

525:                                              ; preds = %512
  %526 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_push_have_row(ptr noundef %526, ptr noundef null)
  %527 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %527)
  br label %528

528:                                              ; preds = %525, %524, %510, %478, %428, %380, %314, %266
  br label %536

529:                                              ; preds = %146, %140
  %530 = load ptr, ptr %2, align 8, !tbaa !5
  %531 = load ptr, ptr %2, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.png_struct_def, ptr %531, i32 0, i32 46
  %533 = load ptr, ptr %532, align 8, !tbaa !32
  %534 = getelementptr inbounds i8, ptr %533, i64 1
  call void @png_push_have_row(ptr noundef %530, ptr noundef %534)
  %535 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_read_push_finish_row(ptr noundef %535)
  br label %536

536:                                              ; preds = %529, %528
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  ret void
}

declare void @png_read_filter_row(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #4

declare void @png_do_read_transformations(ptr noundef, ptr noundef) #4

declare void @png_do_read_interlace(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @png_push_have_row(ptr noalias noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @png_read_push_finish_row(ptr noalias noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 528}
!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, !6, i64 280, !6, i64 288, !7, i64 296, !7, i64 297, !12, i64 300, !12, i64 304, !12, i64 308, !12, i64 312, !13, i64 320, !6, i64 432, !12, i64 440, !12, i64 444, !12, i64 448, !12, i64 452, !12, i64 456, !12, i64 460, !12, i64 464, !12, i64 468, !12, i64 472, !12, i64 476, !12, i64 480, !12, i64 484, !12, i64 488, !12, i64 492, !12, i64 496, !12, i64 500, !12, i64 504, !12, i64 508, !12, i64 512, !12, i64 516, !11, i64 520, !12, i64 528, !12, i64 532, !12, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !11, i64 592, !12, i64 600, !12, i64 604, !6, i64 608, !14, i64 616, !12, i64 620, !14, i64 624, !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, !7, i64 637, !7, i64 638, !7, i64 639, !14, i64 640, !7, i64 642, !12, i64 644, !15, i64 648, !15, i64 658, !6, i64 672, !12, i64 680, !12, i64 684, !12, i64 688, !12, i64 692, !6, i64 696, !6, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !16, i64 744, !16, i64 749, !6, i64 760, !15, i64 768, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !12, i64 856, !12, i64 860, !11, i64 864, !11, i64 872, !11, i64 880, !11, i64 888, !12, i64 896, !12, i64 900, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 921, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !7, i64 968, !7, i64 969, !12, i64 1000, !6, i64 1008, !6, i64 1016, !12, i64 1024, !12, i64 1028, !6, i64 1032, !7, i64 1040, !7, i64 1041, !14, i64 1042, !14, i64 1044, !12, i64 1048, !7, i64 1052, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !6, i64 1088, !6, i64 1096, !6, i64 1104, !7, i64 1112, !12, i64 1116, !12, i64 1120, !12, i64 1124, !11, i64 1128, !17, i64 1136, !11, i64 1168, !6, i64 1176, !11, i64 1184, !12, i64 1192, !12, i64 1196, !6, i64 1200, !7, i64 1208, !18, i64 1240}
!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 = !{!22, !12, i64 0}
!22 = !{!"png_row_info_struct", !12, i64 0, !11, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!23 = !{!10, !7, i64 631}
!24 = !{!22, !7, i64 16}
!25 = !{!10, !7, i64 632}
!26 = !{!22, !7, i64 17}
!27 = !{!10, !7, i64 635}
!28 = !{!22, !7, i64 18}
!29 = !{!10, !7, i64 634}
!30 = !{!22, !7, i64 19}
!31 = !{!22, !11, i64 8}
!32 = !{!10, !6, i64 552}
!33 = !{!7, !7, i64 0}
!34 = !{!10, !6, i64 544}
!35 = !{!10, !12, i64 308}
!36 = !{!10, !7, i64 639}
!37 = !{!10, !7, i64 638}
!38 = !{!10, !7, i64 628}
!39 = !{!10, !7, i64 629}
!40 = !{!12, !12, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = distinct !{!43, !42}
!44 = !{!10, !12, i64 508}
!45 = distinct !{!45, !42}
!46 = distinct !{!46, !42}
!47 = distinct !{!47, !42}
!48 = distinct !{!48, !42}
!49 = distinct !{!49, !42}
!50 = distinct !{!50, !42}
!51 = distinct !{!51, !42}
!52 = distinct !{!52, !42}
!53 = distinct !{!53, !42}
!54 = distinct !{!54, !42}
!55 = distinct !{!55, !42}


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

%struct.png_row_info_struct = type { i32, i64, i8, i8, i8, i8 }

@.str.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @png_error(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
define dso_local void @png_push_process_row(ptr noalias noundef %0) local_unnamed_addr #3 {
  %2 = alloca %struct.png_row_info_struct, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  %3 = getelementptr inbounds i8, ptr %0, i64 528
  %4 = load i32, ptr %3, align 8, !tbaa !5
  store i32 %4, ptr %2, align 8, !tbaa !20
  %5 = getelementptr inbounds i8, ptr %0, i64 631
  %6 = load i8, ptr %5, align 1, !tbaa !22
  %7 = getelementptr inbounds i8, ptr %2, i64 16
  store i8 %6, ptr %7, align 8, !tbaa !23
  %8 = getelementptr inbounds i8, ptr %0, i64 632
  %9 = load i8, ptr %8, align 8, !tbaa !24
  %10 = getelementptr inbounds i8, ptr %2, i64 17
  store i8 %9, ptr %10, align 1, !tbaa !25
  %11 = getelementptr inbounds i8, ptr %0, i64 635
  %12 = load i8, ptr %11, align 1, !tbaa !26
  %13 = getelementptr inbounds i8, ptr %2, i64 18
  store i8 %12, ptr %13, align 2, !tbaa !27
  %14 = getelementptr inbounds i8, ptr %0, i64 634
  %15 = load i8, ptr %14, align 2, !tbaa !28
  %16 = getelementptr inbounds i8, ptr %2, i64 19
  store i8 %15, ptr %16, align 1, !tbaa !29
  %17 = icmp ugt i8 %15, 7
  %18 = zext i32 %4 to i64
  br i1 %17, label %19, label %23

19:                                               ; preds = %1
  %20 = lshr i8 %15, 3
  %21 = zext nneg i8 %20 to i64
  %22 = mul nuw nsw i64 %21, %18
  br label %28

23:                                               ; preds = %1
  %24 = zext nneg i8 %15 to i64
  %25 = mul nuw nsw i64 %24, %18
  %26 = add nuw nsw i64 %25, 7
  %27 = lshr i64 %26, 3
  br label %28

28:                                               ; preds = %23, %19
  %29 = phi i64 [ %22, %19 ], [ %27, %23 ]
  %30 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 %29, ptr %30, align 8, !tbaa !30
  %31 = getelementptr inbounds i8, ptr %0, i64 552
  %32 = load ptr, ptr %31, align 8, !tbaa !31
  %33 = load i8, ptr %32, align 1, !tbaa !32
  %34 = zext i8 %33 to i32
  %.not = icmp eq i8 %33, 0
  br i1 %.not, label %43, label %35

35:                                               ; preds = %28
  %36 = icmp ult i8 %33, 5
  br i1 %36, label %37, label %42

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %32, i64 1
  %39 = getelementptr inbounds i8, ptr %0, i64 544
  %40 = load ptr, ptr %39, align 8, !tbaa !33
  %41 = getelementptr inbounds i8, ptr %40, i64 1
  call void @png_read_filter_row(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %38, ptr noundef nonnull %41, i32 noundef %34) #5
  %.pre = load ptr, ptr %31, align 8, !tbaa !31
  %.pre223 = load i64, ptr %30, align 8, !tbaa !30
  br label %43

42:                                               ; preds = %35
  tail call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.16) #6
  unreachable

43:                                               ; preds = %37, %28
  %44 = phi i64 [ %.pre223, %37 ], [ %29, %28 ]
  %45 = phi ptr [ %.pre, %37 ], [ %32, %28 ]
  %46 = getelementptr inbounds i8, ptr %0, i64 544
  %47 = load ptr, ptr %46, align 8, !tbaa !33
  %48 = add i64 %44, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %47, ptr align 1 %45, i64 %48, i1 false)
  %49 = getelementptr inbounds i8, ptr %0, i64 308
  %50 = load i32, ptr %49, align 4, !tbaa !34
  %.not161 = icmp eq i32 %50, 0
  br i1 %.not161, label %52, label %51

51:                                               ; preds = %43
  call void @png_do_read_transformations(ptr noundef nonnull %0, ptr noundef nonnull %2) #5
  br label %52

52:                                               ; preds = %51, %43
  %53 = getelementptr inbounds i8, ptr %0, i64 639
  %54 = load i8, ptr %53, align 1, !tbaa !35
  %55 = icmp eq i8 %54, 0
  %56 = load i8, ptr %16, align 1, !tbaa !29
  br i1 %55, label %57, label %62

57:                                               ; preds = %52
  store i8 %56, ptr %53, align 1, !tbaa !35
  %58 = getelementptr inbounds i8, ptr %0, i64 638
  %59 = load i8, ptr %58, align 2, !tbaa !36
  %60 = icmp ugt i8 %56, %59
  br i1 %60, label %61, label %64

61:                                               ; preds = %57
  call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.17) #6
  unreachable

62:                                               ; preds = %52
  %.not162 = icmp eq i8 %54, %56
  br i1 %.not162, label %64, label %63

63:                                               ; preds = %62
  call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.18) #6
  unreachable

64:                                               ; preds = %62, %57
  %65 = getelementptr inbounds i8, ptr %0, i64 628
  %66 = load i8, ptr %65, align 4, !tbaa !37
  %.not163 = icmp eq i8 %66, 0
  br i1 %.not163, label %229, label %67

67:                                               ; preds = %64
  %68 = load i32, ptr %49, align 4, !tbaa !34
  %69 = and i32 %68, 2
  %.not164 = icmp eq i32 %69, 0
  br i1 %.not164, label %229, label %70

70:                                               ; preds = %67
  %71 = getelementptr inbounds i8, ptr %0, i64 629
  %72 = load i8, ptr %71, align 1, !tbaa !38
  %73 = icmp ult i8 %72, 6
  br i1 %73, label %74, label %78

74:                                               ; preds = %70
  %75 = zext nneg i8 %72 to i32
  %76 = load ptr, ptr %31, align 8, !tbaa !31
  %77 = getelementptr inbounds i8, ptr %76, i64 1
  call void @png_do_read_interlace(ptr noundef nonnull %2, ptr noundef nonnull %77, i32 noundef %75, i32 noundef %68) #5
  %.pr = load i8, ptr %71, align 1, !tbaa !38
  br label %78

78:                                               ; preds = %74, %70
  %79 = phi i8 [ %.pr, %74 ], [ %72, %70 ]
  %80 = load ptr, ptr %31, align 8, !tbaa !31
  %81 = getelementptr inbounds i8, ptr %80, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %81)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %82 = load i8, ptr %71, align 1, !tbaa !38
  switch i8 %79, label %227 [
    i8 0, label %.preheader175.1
    i8 1, label %.preheader177.1
    i8 2, label %.preheader180.1
    i8 3, label %.preheader183.1
    i8 4, label %.preheader184.1
    i8 5, label %.preheader185.1
  ]

.preheader175.1:                                  ; preds = %78
  %83 = icmp eq i8 %82, 0
  br i1 %83, label %.preheader175.2, label %.critedge

.preheader175.2:                                  ; preds = %.preheader175.1
  %84 = load ptr, ptr %31, align 8, !tbaa !31
  %85 = getelementptr inbounds i8, ptr %84, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %85)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %86 = load i8, ptr %71, align 1, !tbaa !38
  %87 = icmp eq i8 %86, 0
  br i1 %87, label %.preheader175.3, label %.critedge

.preheader175.3:                                  ; preds = %.preheader175.2
  %88 = load ptr, ptr %31, align 8, !tbaa !31
  %89 = getelementptr inbounds i8, ptr %88, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %89)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %90 = load i8, ptr %71, align 1, !tbaa !38
  %91 = icmp eq i8 %90, 0
  br i1 %91, label %.preheader175.4, label %.critedge

.preheader175.4:                                  ; preds = %.preheader175.3
  %92 = load ptr, ptr %31, align 8, !tbaa !31
  %93 = getelementptr inbounds i8, ptr %92, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %93)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %94 = load i8, ptr %71, align 1, !tbaa !38
  %95 = icmp eq i8 %94, 0
  br i1 %95, label %.preheader175.5, label %.critedge

.preheader175.5:                                  ; preds = %.preheader175.4
  %96 = load ptr, ptr %31, align 8, !tbaa !31
  %97 = getelementptr inbounds i8, ptr %96, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %97)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %98 = load i8, ptr %71, align 1, !tbaa !38
  %99 = icmp eq i8 %98, 0
  br i1 %99, label %.preheader175.6, label %.critedge

.preheader175.6:                                  ; preds = %.preheader175.5
  %100 = load ptr, ptr %31, align 8, !tbaa !31
  %101 = getelementptr inbounds i8, ptr %100, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %101)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %102 = load i8, ptr %71, align 1, !tbaa !38
  %103 = icmp eq i8 %102, 0
  br i1 %103, label %.preheader175.7, label %.critedge

.preheader175.7:                                  ; preds = %.preheader175.6
  %104 = load ptr, ptr %31, align 8, !tbaa !31
  %105 = getelementptr inbounds i8, ptr %104, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %105)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %106 = load i8, ptr %71, align 1, !tbaa !38
  %107 = icmp eq i8 %106, 0
  br i1 %107, label %.critedgethread-pre-split, label %.critedge

.critedgethread-pre-split:                        ; preds = %.preheader175.7
  %108 = load ptr, ptr %31, align 8, !tbaa !31
  %109 = getelementptr inbounds i8, ptr %108, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %109)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr166 = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge

.critedge:                                        ; preds = %.preheader175.1, %.preheader175.2, %.preheader175.3, %.preheader175.4, %.preheader175.5, %.preheader175.6, %.preheader175.7, %.critedgethread-pre-split
  %110 = phi i8 [ %.pr166, %.critedgethread-pre-split ], [ %82, %.preheader175.1 ], [ %86, %.preheader175.2 ], [ %90, %.preheader175.3 ], [ %94, %.preheader175.4 ], [ %98, %.preheader175.5 ], [ %102, %.preheader175.6 ], [ %106, %.preheader175.7 ]
  %111 = icmp eq i8 %110, 2
  br i1 %111, label %.preheader174.1, label %.critedge2

.preheader174.1:                                  ; preds = %.critedge
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %112 = load i8, ptr %71, align 1, !tbaa !38
  %113 = icmp eq i8 %112, 2
  br i1 %113, label %.preheader174.2, label %.critedge2

.preheader174.2:                                  ; preds = %.preheader174.1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %114 = load i8, ptr %71, align 1, !tbaa !38
  %115 = icmp eq i8 %114, 2
  br i1 %115, label %.preheader174.3, label %.critedge2

.preheader174.3:                                  ; preds = %.preheader174.2
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %116 = load i8, ptr %71, align 1, !tbaa !38
  %117 = icmp eq i8 %116, 2
  br i1 %117, label %.critedge2thread-pre-split.loopexit, label %.critedge2

.critedge2thread-pre-split.loopexit:              ; preds = %.preheader174.3
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr167.pre = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge2

.critedge2:                                       ; preds = %.preheader174.1, %.preheader174.2, %.preheader174.3, %.critedge, %.critedge2thread-pre-split.loopexit
  %118 = phi i8 [ %.pr167.pre, %.critedge2thread-pre-split.loopexit ], [ %110, %.critedge ], [ %112, %.preheader174.1 ], [ %114, %.preheader174.2 ], [ %116, %.preheader174.3 ]
  %119 = icmp eq i8 %118, 4
  br i1 %119, label %120, label %.critedge4

120:                                              ; preds = %.critedge2
  %121 = getelementptr inbounds i8, ptr %0, i64 508
  %122 = load i32, ptr %121, align 4, !tbaa !39
  %123 = icmp ult i32 %122, 5
  br i1 %123, label %.preheader.1, label %.critedge8

.preheader.1:                                     ; preds = %120
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %124 = load i8, ptr %71, align 1, !tbaa !38
  %125 = icmp eq i8 %124, 4
  br i1 %125, label %.critedge4thread-pre-split.loopexit, label %.critedge4

.critedge4thread-pre-split.loopexit:              ; preds = %.preheader.1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr168.pre = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge4

.critedge4:                                       ; preds = %.preheader.1, %.critedge2, %.critedge4thread-pre-split.loopexit
  %126 = phi i8 [ %.pr168.pre, %.critedge4thread-pre-split.loopexit ], [ %118, %.critedge2 ], [ %124, %.preheader.1 ]
  %127 = icmp eq i8 %126, 6
  br i1 %127, label %128, label %.critedge8

128:                                              ; preds = %.critedge4
  %129 = getelementptr inbounds i8, ptr %0, i64 508
  %130 = load i32, ptr %129, align 4, !tbaa !39
  %131 = icmp ult i32 %130, 5
  br i1 %131, label %132, label %.critedge8

132:                                              ; preds = %128
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  br label %.critedge8.sink.split

.preheader177.1:                                  ; preds = %78
  %133 = icmp eq i8 %82, 1
  br i1 %133, label %.preheader177.2, label %.critedge6

.preheader177.2:                                  ; preds = %.preheader177.1
  %134 = load ptr, ptr %31, align 8, !tbaa !31
  %135 = getelementptr inbounds i8, ptr %134, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %135)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %136 = load i8, ptr %71, align 1, !tbaa !38
  %137 = icmp eq i8 %136, 1
  br i1 %137, label %.preheader177.3, label %.critedge6

.preheader177.3:                                  ; preds = %.preheader177.2
  %138 = load ptr, ptr %31, align 8, !tbaa !31
  %139 = getelementptr inbounds i8, ptr %138, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %139)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %140 = load i8, ptr %71, align 1, !tbaa !38
  %141 = icmp eq i8 %140, 1
  br i1 %141, label %.preheader177.4, label %.critedge6

.preheader177.4:                                  ; preds = %.preheader177.3
  %142 = load ptr, ptr %31, align 8, !tbaa !31
  %143 = getelementptr inbounds i8, ptr %142, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %143)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %144 = load i8, ptr %71, align 1, !tbaa !38
  %145 = icmp eq i8 %144, 1
  br i1 %145, label %.preheader177.5, label %.critedge6

.preheader177.5:                                  ; preds = %.preheader177.4
  %146 = load ptr, ptr %31, align 8, !tbaa !31
  %147 = getelementptr inbounds i8, ptr %146, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %147)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %148 = load i8, ptr %71, align 1, !tbaa !38
  %149 = icmp eq i8 %148, 1
  br i1 %149, label %.preheader177.6, label %.critedge6

.preheader177.6:                                  ; preds = %.preheader177.5
  %150 = load ptr, ptr %31, align 8, !tbaa !31
  %151 = getelementptr inbounds i8, ptr %150, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %151)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %152 = load i8, ptr %71, align 1, !tbaa !38
  %153 = icmp eq i8 %152, 1
  br i1 %153, label %.preheader177.7, label %.critedge6

.preheader177.7:                                  ; preds = %.preheader177.6
  %154 = load ptr, ptr %31, align 8, !tbaa !31
  %155 = getelementptr inbounds i8, ptr %154, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %155)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %156 = load i8, ptr %71, align 1, !tbaa !38
  %157 = icmp eq i8 %156, 1
  br i1 %157, label %.critedge6thread-pre-split, label %.critedge6

.critedge6thread-pre-split:                       ; preds = %.preheader177.7
  %158 = load ptr, ptr %31, align 8, !tbaa !31
  %159 = getelementptr inbounds i8, ptr %158, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %159)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr169 = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge6

.critedge6:                                       ; preds = %.preheader177.1, %.preheader177.2, %.preheader177.3, %.preheader177.4, %.preheader177.5, %.preheader177.6, %.preheader177.7, %.critedge6thread-pre-split
  %160 = phi i8 [ %.pr169, %.critedge6thread-pre-split ], [ %82, %.preheader177.1 ], [ %136, %.preheader177.2 ], [ %140, %.preheader177.3 ], [ %144, %.preheader177.4 ], [ %148, %.preheader177.5 ], [ %152, %.preheader177.6 ], [ %156, %.preheader177.7 ]
  %161 = icmp eq i8 %160, 2
  br i1 %161, label %.preheader176.1, label %.critedge8

.preheader176.1:                                  ; preds = %.critedge6
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %162 = load i8, ptr %71, align 1, !tbaa !38
  %163 = icmp eq i8 %162, 2
  br i1 %163, label %.preheader176.2, label %.critedge8

.preheader176.2:                                  ; preds = %.preheader176.1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %164 = load i8, ptr %71, align 1, !tbaa !38
  %165 = icmp eq i8 %164, 2
  br i1 %165, label %.preheader176.3, label %.critedge8

.preheader176.3:                                  ; preds = %.preheader176.2
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %166 = load i8, ptr %71, align 1, !tbaa !38
  %167 = icmp eq i8 %166, 2
  br i1 %167, label %168, label %.critedge8

168:                                              ; preds = %.preheader176.3
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  br label %.critedge8.sink.split

.preheader180.1:                                  ; preds = %78
  %169 = icmp eq i8 %82, 2
  br i1 %169, label %.preheader180.2, label %.critedge12

.preheader180.2:                                  ; preds = %.preheader180.1
  %170 = load ptr, ptr %31, align 8, !tbaa !31
  %171 = getelementptr inbounds i8, ptr %170, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %171)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %172 = load i8, ptr %71, align 1, !tbaa !38
  %173 = icmp eq i8 %172, 2
  br i1 %173, label %.preheader180.3, label %.critedge12

.preheader180.3:                                  ; preds = %.preheader180.2
  %174 = load ptr, ptr %31, align 8, !tbaa !31
  %175 = getelementptr inbounds i8, ptr %174, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %175)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %176 = load i8, ptr %71, align 1, !tbaa !38
  %177 = icmp eq i8 %176, 2
  br i1 %177, label %.critedge10, label %.critedge12

.critedge10:                                      ; preds = %.preheader180.3
  %178 = load ptr, ptr %31, align 8, !tbaa !31
  %179 = getelementptr inbounds i8, ptr %178, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %179)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pre225 = load i8, ptr %71, align 1, !tbaa !38
  %180 = icmp eq i8 %.pre225, 2
  br i1 %180, label %181, label %.critedge12

181:                                              ; preds = %.critedge10
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %182 = load i8, ptr %71, align 1, !tbaa !38
  %183 = icmp eq i8 %182, 2
  br i1 %183, label %184, label %.critedge12

184:                                              ; preds = %181
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %185 = load i8, ptr %71, align 1, !tbaa !38
  %186 = icmp eq i8 %185, 2
  br i1 %186, label %187, label %.critedge12

187:                                              ; preds = %184
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %188 = load i8, ptr %71, align 1, !tbaa !38
  %189 = icmp eq i8 %188, 2
  br i1 %189, label %.critedge12thread-pre-split, label %.critedge12

.critedge12thread-pre-split:                      ; preds = %187
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr170 = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge12

.critedge12:                                      ; preds = %.preheader180.1, %.preheader180.2, %.preheader180.3, %.critedge10, %181, %184, %187, %.critedge12thread-pre-split
  %190 = phi i8 [ %.pr170, %.critedge12thread-pre-split ], [ %.pre225, %.critedge10 ], [ %182, %181 ], [ %185, %184 ], [ %188, %187 ], [ %82, %.preheader180.1 ], [ %172, %.preheader180.2 ], [ %176, %.preheader180.3 ]
  %191 = icmp eq i8 %190, 4
  br i1 %191, label %.preheader178.1, label %.critedge8

.preheader178.1:                                  ; preds = %.critedge12
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %192 = load i8, ptr %71, align 1, !tbaa !38
  %193 = icmp eq i8 %192, 4
  br i1 %193, label %194, label %.critedge8

194:                                              ; preds = %.preheader178.1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  br label %.critedge8.sink.split

.preheader183.1:                                  ; preds = %78
  %195 = icmp eq i8 %82, 3
  br i1 %195, label %.preheader183.2, label %.critedge16

.preheader183.2:                                  ; preds = %.preheader183.1
  %196 = load ptr, ptr %31, align 8, !tbaa !31
  %197 = getelementptr inbounds i8, ptr %196, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %197)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %198 = load i8, ptr %71, align 1, !tbaa !38
  %199 = icmp eq i8 %198, 3
  br i1 %199, label %.preheader183.3, label %.critedge16

.preheader183.3:                                  ; preds = %.preheader183.2
  %200 = load ptr, ptr %31, align 8, !tbaa !31
  %201 = getelementptr inbounds i8, ptr %200, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %201)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %202 = load i8, ptr %71, align 1, !tbaa !38
  %203 = icmp eq i8 %202, 3
  br i1 %203, label %.critedge16thread-pre-split, label %.critedge16

.critedge16thread-pre-split:                      ; preds = %.preheader183.3
  %204 = load ptr, ptr %31, align 8, !tbaa !31
  %205 = getelementptr inbounds i8, ptr %204, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %205)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr171 = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge16

.critedge16:                                      ; preds = %.preheader183.1, %.preheader183.2, %.preheader183.3, %.critedge16thread-pre-split
  %206 = phi i8 [ %.pr171, %.critedge16thread-pre-split ], [ %82, %.preheader183.1 ], [ %198, %.preheader183.2 ], [ %202, %.preheader183.3 ]
  %207 = icmp eq i8 %206, 4
  br i1 %207, label %.preheader181.1, label %.critedge8

.preheader181.1:                                  ; preds = %.critedge16
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %208 = load i8, ptr %71, align 1, !tbaa !38
  %209 = icmp eq i8 %208, 4
  br i1 %209, label %210, label %.critedge8

210:                                              ; preds = %.preheader181.1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  br label %.critedge8.sink.split

.preheader184.1:                                  ; preds = %78
  %211 = icmp eq i8 %82, 4
  br i1 %211, label %.critedge20, label %.critedge22

.critedge20:                                      ; preds = %.preheader184.1
  %212 = load ptr, ptr %31, align 8, !tbaa !31
  %213 = getelementptr inbounds i8, ptr %212, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %213)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pre224 = load i8, ptr %71, align 1, !tbaa !38
  %214 = icmp eq i8 %.pre224, 4
  br i1 %214, label %215, label %.critedge22

215:                                              ; preds = %.critedge20
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %216 = load i8, ptr %71, align 1, !tbaa !38
  %217 = icmp eq i8 %216, 4
  br i1 %217, label %.critedge22thread-pre-split, label %.critedge22

.critedge22thread-pre-split:                      ; preds = %215
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr172 = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge22

.critedge22:                                      ; preds = %.preheader184.1, %.critedge20, %215, %.critedge22thread-pre-split
  %218 = phi i8 [ %.pr172, %.critedge22thread-pre-split ], [ %.pre224, %.critedge20 ], [ %216, %215 ], [ %82, %.preheader184.1 ]
  %219 = icmp eq i8 %218, 6
  br i1 %219, label %220, label %.critedge8

220:                                              ; preds = %.critedge22
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  br label %.critedge8.sink.split

.preheader185.1:                                  ; preds = %78
  %221 = icmp eq i8 %82, 5
  br i1 %221, label %.critedge24thread-pre-split, label %.critedge24

.critedge24thread-pre-split:                      ; preds = %.preheader185.1
  %222 = load ptr, ptr %31, align 8, !tbaa !31
  %223 = getelementptr inbounds i8, ptr %222, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %223)
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  %.pr173 = load i8, ptr %71, align 1, !tbaa !38
  br label %.critedge24

.critedge24:                                      ; preds = %.preheader185.1, %.critedge24thread-pre-split
  %224 = phi i8 [ %.pr173, %.critedge24thread-pre-split ], [ %82, %.preheader185.1 ]
  %225 = icmp eq i8 %224, 6
  br i1 %225, label %226, label %.critedge8

226:                                              ; preds = %.critedge24
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  br label %.critedge8.sink.split

227:                                              ; preds = %78
  %.not165 = icmp eq i8 %82, 6
  br i1 %.not165, label %228, label %.critedge8

228:                                              ; preds = %227
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef null)
  br label %.critedge8.sink.split

229:                                              ; preds = %67, %64
  %230 = load ptr, ptr %31, align 8, !tbaa !31
  %231 = getelementptr inbounds i8, ptr %230, i64 1
  call void @png_push_have_row(ptr noundef nonnull %0, ptr noundef nonnull %231)
  br label %.critedge8.sink.split

.critedge8.sink.split:                            ; preds = %229, %228, %132, %220, %226, %168, %194, %210
  call void @png_read_push_finish_row(ptr noundef nonnull %0)
  br label %.critedge8

.critedge8:                                       ; preds = %.critedge8.sink.split, %120, %.preheader181.1, %.preheader178.1, %.preheader176.1, %.preheader176.2, %.preheader176.3, %.critedge24, %.critedge22, %.critedge16, %.critedge12, %.critedge6, %.critedge4, %128, %227
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  ret void
}

declare void @png_read_filter_row(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare void @png_do_read_transformations(ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @png_do_read_interlace(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @png_push_have_row(ptr noalias noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @png_read_push_finish_row(ptr noalias noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 528}
!6 = !{!"png_struct_def", !7, i64 0, !9, i64 200, !9, i64 208, !10, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !7, i64 296, !7, i64 297, !11, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !12, i64 320, !9, i64 432, !11, i64 440, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !11, i64 488, !11, i64 492, !11, i64 496, !11, i64 500, !11, i64 504, !11, i64 508, !11, i64 512, !11, i64 516, !10, i64 520, !11, i64 528, !11, i64 532, !11, i64 536, !9, i64 544, !9, i64 552, !9, i64 560, !9, i64 568, !9, i64 576, !9, i64 584, !10, i64 592, !11, i64 600, !11, i64 604, !9, i64 608, !13, i64 616, !11, i64 620, !13, i64 624, !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, !7, i64 637, !7, i64 638, !7, i64 639, !13, i64 640, !7, i64 642, !11, i64 644, !14, i64 648, !14, i64 658, !9, i64 672, !11, i64 680, !11, i64 684, !11, i64 688, !11, i64 692, !9, i64 696, !9, i64 704, !9, i64 712, !9, i64 720, !9, i64 728, !9, i64 736, !15, i64 744, !15, i64 749, !9, i64 760, !14, i64 768, !9, i64 784, !9, i64 792, !9, i64 800, !9, i64 808, !9, i64 816, !9, i64 824, !9, i64 832, !9, i64 840, !9, i64 848, !11, i64 856, !11, i64 860, !10, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !11, i64 896, !11, i64 900, !9, i64 904, !9, i64 912, !7, i64 920, !7, i64 921, !9, i64 928, !9, i64 936, !9, i64 944, !9, i64 952, !9, i64 960, !7, i64 968, !7, i64 969, !11, i64 1000, !9, i64 1008, !9, i64 1016, !11, i64 1024, !11, i64 1028, !9, i64 1032, !7, i64 1040, !7, i64 1041, !13, i64 1042, !13, i64 1044, !11, i64 1048, !7, i64 1052, !9, i64 1056, !9, i64 1064, !9, i64 1072, !9, i64 1080, !9, i64 1088, !9, i64 1096, !9, i64 1104, !7, i64 1112, !11, i64 1116, !11, i64 1120, !11, i64 1124, !10, i64 1128, !16, i64 1136, !10, i64 1168, !9, i64 1176, !10, i64 1184, !11, i64 1192, !11, i64 1196, !9, i64 1200, !7, i64 1208, !17, i64 1240}
!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 = !{!21, !11, i64 0}
!21 = !{!"png_row_info_struct", !11, i64 0, !10, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!22 = !{!6, !7, i64 631}
!23 = !{!21, !7, i64 16}
!24 = !{!6, !7, i64 632}
!25 = !{!21, !7, i64 17}
!26 = !{!6, !7, i64 635}
!27 = !{!21, !7, i64 18}
!28 = !{!6, !7, i64 634}
!29 = !{!21, !7, i64 19}
!30 = !{!21, !10, i64 8}
!31 = !{!6, !9, i64 552}
!32 = !{!7, !7, i64 0}
!33 = !{!6, !9, i64 544}
!34 = !{!6, !11, i64 308}
!35 = !{!6, !7, i64 639}
!36 = !{!6, !7, i64 638}
!37 = !{!6, !7, i64 628}
!38 = !{!6, !7, i64 629}
!39 = !{!6, !11, i64 508}


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