; LLVM IR from rdguez-mariano/fast_imas_IPOL :: io_png/libs/png (pngrutil)

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

%struct.png_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i64, i64, i64, %struct.z_stream_s, ptr, i64, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_row_info_struct, i64, i64, ptr, i16, i16, [5 x i8], i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, float, %struct.png_color_16_struct, %struct.png_color_16_struct, ptr, i64, i64, i32, float, float, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_color_8_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, i32, i32, i64, i64, ptr, ptr, ptr, ptr, ptr, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, ptr, i32, ptr, i8, i16, i16, i16, i64, i64, i8, i8, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i64, i64, %struct.png_unknown_chunk_t, i64, i64, ptr }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.z_stream_s = type { ptr, i32, i64, ptr, i32, i64, ptr, ptr, ptr, ptr, ptr, i32, i64, i64 }
%struct.png_row_info_struct = type { i64, i64, i8, i8, i8, i8 }
%struct.png_color_8_struct = type { i8, i8, i8, i8, i8 }
%struct.png_color_16_struct = type { i8, i16, i16, i16, i16 }
%struct.png_unknown_chunk_t = type { [5 x i8], ptr, i64, i8 }
%struct.png_info_struct = type { i64, i64, i64, i64, ptr, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, [8 x i8], float, i8, i32, i32, ptr, %struct.png_time_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, %struct.png_color_16_struct, i64, i64, i8, i64, i64, i8, ptr, float, float, float, float, float, float, float, float, ptr, i64, i64, ptr, ptr, i8, i8, i64, ptr, i64, ptr, ptr, i64, i8, ptr, i64, i8, double, double, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.png_time_struct = type { i16, i8, i8, i8, i8, i8 }

@.str.89 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [27 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @png_get_int_32(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @png_crc_read(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @png_crc_finish(ptr noundef, i64 noundef) #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @png_handle_pCAL(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.png_struct_def, ptr %18, i32 0, i32 12
  %20 = load i64, ptr %19, align 8, !tbaa !11
  %21 = and i64 %20, 1
  %22 = icmp ne i64 %21, 0
  br i1 %22, label %25, label %23

23:                                               ; preds = %3
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_error(ptr noundef %24, ptr noundef @.str.89)
  br label %52

25:                                               ; preds = %3
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.png_struct_def, ptr %26, i32 0, i32 12
  %28 = load i64, ptr %27, align 8, !tbaa !11
  %29 = and i64 %28, 4
  %30 = icmp ne i64 %29, 0
  br i1 %30, label %31, label %36

31:                                               ; preds = %25
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %32, ptr noundef @.str.90)
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = load i64, ptr %6, align 8, !tbaa !9
  %35 = call i32 @png_crc_finish(ptr noundef %33, i64 noundef %34)
  store i32 1, ptr %17, align 4
  br label %277

36:                                               ; preds = %25
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %50

39:                                               ; preds = %36
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.png_info_struct, ptr %40, i32 0, i32 2
  %42 = load i64, ptr %41, align 8, !tbaa !21
  %43 = and i64 %42, 1024
  %44 = icmp ne i64 %43, 0
  br i1 %44, label %45, label %50

45:                                               ; preds = %39
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %46, ptr noundef @.str.91)
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = load i64, ptr %6, align 8, !tbaa !9
  %49 = call i32 @png_crc_finish(ptr noundef %47, i64 noundef %48)
  store i32 1, ptr %17, align 4
  br label %277

50:                                               ; preds = %39, %36
  br label %51

51:                                               ; preds = %50
  br label %52

52:                                               ; preds = %51, %23
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.png_struct_def, ptr %54, i32 0, i32 137
  %56 = load ptr, ptr %55, align 8, !tbaa !25
  call void @png_free(ptr noundef %53, ptr noundef %56)
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load i64, ptr %6, align 8, !tbaa !9
  %59 = add i64 %58, 1
  %60 = call ptr @png_malloc_warn(ptr noundef %57, i64 noundef %59)
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.png_struct_def, ptr %61, i32 0, i32 137
  store ptr %60, ptr %62, align 8, !tbaa !25
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.png_struct_def, ptr %63, i32 0, i32 137
  %65 = load ptr, ptr %64, align 8, !tbaa !25
  %66 = icmp eq ptr %65, null
  br i1 %66, label %67, label %69

67:                                               ; preds = %52
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %68, ptr noundef @.str.92)
  store i32 1, ptr %17, align 4
  br label %277

69:                                               ; preds = %52
  %70 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %70, ptr %15, align 8, !tbaa !9
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.png_struct_def, ptr %72, i32 0, i32 137
  %74 = load ptr, ptr %73, align 8, !tbaa !25
  %75 = load i64, ptr %15, align 8, !tbaa !9
  call void @png_crc_read(ptr noundef %71, ptr noundef %74, i64 noundef %75)
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = call i32 @png_crc_finish(ptr noundef %76, i64 noundef 0)
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %86

79:                                               ; preds = %69
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.png_struct_def, ptr %81, i32 0, i32 137
  %83 = load ptr, ptr %82, align 8, !tbaa !25
  call void @png_free(ptr noundef %80, ptr noundef %83)
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.png_struct_def, ptr %84, i32 0, i32 137
  store ptr null, ptr %85, align 8, !tbaa !25
  store i32 1, ptr %17, align 4
  br label %277

86:                                               ; preds = %69
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.png_struct_def, ptr %87, i32 0, i32 137
  %89 = load ptr, ptr %88, align 8, !tbaa !25
  %90 = load i64, ptr %15, align 8, !tbaa !9
  %91 = getelementptr inbounds i8, ptr %89, i64 %90
  store i8 0, ptr %91, align 1, !tbaa !26
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.png_struct_def, ptr %92, i32 0, i32 137
  %94 = load ptr, ptr %93, align 8, !tbaa !25
  store ptr %94, ptr %11, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %100, %86
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = load i8, ptr %96, align 1, !tbaa !26
  %98 = icmp ne i8 %97, 0
  br i1 %98, label %99, label %103

99:                                               ; preds = %95
  br label %100

100:                                              ; preds = %99
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i32 1
  store ptr %102, ptr %11, align 8, !tbaa !5
  br label %95, !llvm.loop !27

103:                                              ; preds = %95
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.png_struct_def, ptr %104, i32 0, i32 137
  %106 = load ptr, ptr %105, align 8, !tbaa !25
  %107 = load i64, ptr %15, align 8, !tbaa !9
  %108 = getelementptr inbounds i8, ptr %106, i64 %107
  store ptr %108, ptr %13, align 8, !tbaa !5
  %109 = load ptr, ptr %13, align 8, !tbaa !5
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 12
  %112 = icmp ule ptr %109, %111
  br i1 %112, label %113, label %121

113:                                              ; preds = %103
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %114, ptr noundef @.str.93)
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.png_struct_def, ptr %116, i32 0, i32 137
  %118 = load ptr, ptr %117, align 8, !tbaa !25
  call void @png_free(ptr noundef %115, ptr noundef %118)
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.png_struct_def, ptr %119, i32 0, i32 137
  store ptr null, ptr %120, align 8, !tbaa !25
  store i32 1, ptr %17, align 4
  br label %277

121:                                              ; preds = %103
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 1
  %124 = call i64 @png_get_int_32(ptr noundef %123)
  store i64 %124, ptr %7, align 8, !tbaa !9
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %125, i64 5
  %127 = call i64 @png_get_int_32(ptr noundef %126)
  store i64 %127, ptr %8, align 8, !tbaa !9
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 9
  %130 = load i8, ptr %129, align 1, !tbaa !26
  store i8 %130, ptr %9, align 1, !tbaa !26
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i64 10
  %133 = load i8, ptr %132, align 1, !tbaa !26
  store i8 %133, ptr %10, align 1, !tbaa !26
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i64 11
  store ptr %135, ptr %12, align 8, !tbaa !5
  %136 = load i8, ptr %9, align 1, !tbaa !26
  %137 = zext i8 %136 to i32
  %138 = icmp eq i32 %137, 0
  br i1 %138, label %139, label %143

139:                                              ; preds = %121
  %140 = load i8, ptr %10, align 1, !tbaa !26
  %141 = zext i8 %140 to i32
  %142 = icmp ne i32 %141, 2
  br i1 %142, label %167, label %143

143:                                              ; preds = %139, %121
  %144 = load i8, ptr %9, align 1, !tbaa !26
  %145 = zext i8 %144 to i32
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %147, label %151

147:                                              ; preds = %143
  %148 = load i8, ptr %10, align 1, !tbaa !26
  %149 = zext i8 %148 to i32
  %150 = icmp ne i32 %149, 3
  br i1 %150, label %167, label %151

151:                                              ; preds = %147, %143
  %152 = load i8, ptr %9, align 1, !tbaa !26
  %153 = zext i8 %152 to i32
  %154 = icmp eq i32 %153, 2
  br i1 %154, label %155, label %159

155:                                              ; preds = %151
  %156 = load i8, ptr %10, align 1, !tbaa !26
  %157 = zext i8 %156 to i32
  %158 = icmp ne i32 %157, 3
  br i1 %158, label %167, label %159

159:                                              ; preds = %155, %151
  %160 = load i8, ptr %9, align 1, !tbaa !26
  %161 = zext i8 %160 to i32
  %162 = icmp eq i32 %161, 3
  br i1 %162, label %163, label %175

163:                                              ; preds = %159
  %164 = load i8, ptr %10, align 1, !tbaa !26
  %165 = zext i8 %164 to i32
  %166 = icmp ne i32 %165, 4
  br i1 %166, label %167, label %175

167:                                              ; preds = %163, %155, %147, %139
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %168, ptr noundef @.str.94)
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.png_struct_def, ptr %170, i32 0, i32 137
  %172 = load ptr, ptr %171, align 8, !tbaa !25
  call void @png_free(ptr noundef %169, ptr noundef %172)
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.png_struct_def, ptr %173, i32 0, i32 137
  store ptr null, ptr %174, align 8, !tbaa !25
  store i32 1, ptr %17, align 4
  br label %277

175:                                              ; preds = %163, %159
  %176 = load i8, ptr %9, align 1, !tbaa !26
  %177 = zext i8 %176 to i32
  %178 = icmp sge i32 %177, 4
  br i1 %178, label %179, label %181

179:                                              ; preds = %175
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %180, ptr noundef @.str.95)
  br label %181

181:                                              ; preds = %179, %175
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %183, ptr %11, align 8, !tbaa !5
  br label %184

184:                                              ; preds = %189, %182
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = load i8, ptr %185, align 1, !tbaa !26
  %187 = icmp ne i8 %186, 0
  br i1 %187, label %188, label %192

188:                                              ; preds = %184
  br label %189

189:                                              ; preds = %188
  %190 = load ptr, ptr %11, align 8, !tbaa !5
  %191 = getelementptr inbounds i8, ptr %190, i32 1
  store ptr %191, ptr %11, align 8, !tbaa !5
  br label %184, !llvm.loop !29

192:                                              ; preds = %184
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = load i8, ptr %10, align 1, !tbaa !26
  %195 = zext i8 %194 to i64
  %196 = mul i64 %195, 8
  %197 = call ptr @png_malloc_warn(ptr noundef %193, i64 noundef %196)
  store ptr %197, ptr %14, align 8, !tbaa !5
  %198 = load ptr, ptr %14, align 8, !tbaa !5
  %199 = icmp eq ptr %198, null
  br i1 %199, label %200, label %208

200:                                              ; preds = %192
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.png_struct_def, ptr %202, i32 0, i32 137
  %204 = load ptr, ptr %203, align 8, !tbaa !25
  call void @png_free(ptr noundef %201, ptr noundef %204)
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.png_struct_def, ptr %205, i32 0, i32 137
  store ptr null, ptr %206, align 8, !tbaa !25
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %207, ptr noundef @.str.96)
  store i32 1, ptr %17, align 4
  br label %277

208:                                              ; preds = %192
  store i32 0, ptr %16, align 4, !tbaa !30
  br label %209

209:                                              ; preds = %252, %208
  %210 = load i32, ptr %16, align 4, !tbaa !30
  %211 = load i8, ptr %10, align 1, !tbaa !26
  %212 = zext i8 %211 to i32
  %213 = icmp slt i32 %210, %212
  br i1 %213, label %214, label %255

214:                                              ; preds = %209
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = getelementptr inbounds i8, ptr %215, i32 1
  store ptr %216, ptr %11, align 8, !tbaa !5
  %217 = load ptr, ptr %11, align 8, !tbaa !5
  %218 = load ptr, ptr %14, align 8, !tbaa !5
  %219 = load i32, ptr %16, align 4, !tbaa !30
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds ptr, ptr %218, i64 %220
  store ptr %217, ptr %221, align 8, !tbaa !5
  br label %222

222:                                              ; preds = %234, %214
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = icmp ule ptr %223, %224
  br i1 %225, label %226, label %231

226:                                              ; preds = %222
  %227 = load ptr, ptr %11, align 8, !tbaa !5
  %228 = load i8, ptr %227, align 1, !tbaa !26
  %229 = sext i8 %228 to i32
  %230 = icmp ne i32 %229, 0
  br label %231

231:                                              ; preds = %226, %222
  %232 = phi i1 [ false, %222 ], [ %230, %226 ]
  br i1 %232, label %233, label %237

233:                                              ; preds = %231
  br label %234

234:                                              ; preds = %233
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  %236 = getelementptr inbounds i8, ptr %235, i32 1
  store ptr %236, ptr %11, align 8, !tbaa !5
  br label %222, !llvm.loop !31

237:                                              ; preds = %231
  %238 = load ptr, ptr %11, align 8, !tbaa !5
  %239 = load ptr, ptr %13, align 8, !tbaa !5
  %240 = icmp ugt ptr %238, %239
  br i1 %240, label %241, label %251

241:                                              ; preds = %237
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %242, ptr noundef @.str.93)
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = load ptr, ptr %4, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.png_struct_def, ptr %244, i32 0, i32 137
  %246 = load ptr, ptr %245, align 8, !tbaa !25
  call void @png_free(ptr noundef %243, ptr noundef %246)
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.png_struct_def, ptr %247, i32 0, i32 137
  store ptr null, ptr %248, align 8, !tbaa !25
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = load ptr, ptr %14, align 8, !tbaa !5
  call void @png_free(ptr noundef %249, ptr noundef %250)
  store i32 1, ptr %17, align 4
  br label %277

251:                                              ; preds = %237
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %16, align 4, !tbaa !30
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %16, align 4, !tbaa !30
  br label %209, !llvm.loop !32

255:                                              ; preds = %209
  %256 = load ptr, ptr %4, align 8, !tbaa !5
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.png_struct_def, ptr %258, i32 0, i32 137
  %260 = load ptr, ptr %259, align 8, !tbaa !25
  %261 = load i64, ptr %7, align 8, !tbaa !9
  %262 = load i64, ptr %8, align 8, !tbaa !9
  %263 = load i8, ptr %9, align 1, !tbaa !26
  %264 = zext i8 %263 to i32
  %265 = load i8, ptr %10, align 1, !tbaa !26
  %266 = zext i8 %265 to i32
  %267 = load ptr, ptr %12, align 8, !tbaa !5
  %268 = load ptr, ptr %14, align 8, !tbaa !5
  call void @png_set_pCAL(ptr noundef %256, ptr noundef %257, ptr noundef %260, i64 noundef %261, i64 noundef %262, i32 noundef %264, i32 noundef %266, ptr noundef %267, ptr noundef %268)
  %269 = load ptr, ptr %4, align 8, !tbaa !5
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.png_struct_def, ptr %270, i32 0, i32 137
  %272 = load ptr, ptr %271, align 8, !tbaa !25
  call void @png_free(ptr noundef %269, ptr noundef %272)
  %273 = load ptr, ptr %4, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.png_struct_def, ptr %273, i32 0, i32 137
  store ptr null, ptr %274, align 8, !tbaa !25
  %275 = load ptr, ptr %4, align 8, !tbaa !5
  %276 = load ptr, ptr %14, align 8, !tbaa !5
  call void @png_free(ptr noundef %275, ptr noundef %276)
  store i32 0, ptr %17, align 4
  br label %277

277:                                              ; preds = %255, %241, %200, %167, %113, %79, %67, %45, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %278 = load i32, ptr %17, align 4
  switch i32 %278, label %280 [
    i32 0, label %279
    i32 1, label %279
  ]

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

280:                                              ; preds = %277
  unreachable
}

declare void @png_set_pCAL(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 280}
!12 = !{!"png_struct_def", !7, i64 0, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !7, i64 272, !7, i64 273, !10, i64 280, !10, i64 288, !10, i64 296, !13, i64 304, !6, i64 416, !10, i64 424, !14, i64 432, !14, i64 436, !14, i64 440, !14, i64 444, !14, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !15, i64 568, !10, i64 592, !10, i64 600, !6, i64 608, !16, i64 616, !16, i64 618, !7, i64 620, !7, i64 625, !7, i64 626, !7, i64 627, !7, i64 628, !7, i64 629, !7, i64 630, !7, i64 631, !7, i64 632, !7, i64 633, !7, i64 634, !7, i64 635, !7, i64 636, !16, i64 638, !7, i64 640, !17, i64 644, !18, i64 648, !18, i64 658, !6, i64 672, !10, i64 680, !10, i64 688, !14, i64 696, !17, i64 700, !17, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !6, i64 744, !6, i64 752, !19, i64 760, !19, i64 765, !6, i64 776, !18, i64 784, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !14, i64 920, !14, i64 924, !10, i64 928, !10, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !7, i64 984, !7, i64 985, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !10, i64 1040, !6, i64 1048, !6, i64 1056, !14, i64 1064, !6, i64 1072, !7, i64 1080, !16, i64 1082, !16, i64 1084, !16, i64 1086, !10, i64 1088, !10, i64 1096, !7, i64 1104, !7, i64 1105, !10, i64 1112, !10, i64 1120, !6, i64 1128, !6, i64 1136, !6, i64 1144, !6, i64 1152, !6, i64 1160, !6, i64 1168, !6, i64 1176, !7, i64 1184, !10, i64 1192, !10, i64 1200, !20, i64 1208, !10, i64 1240, !10, i64 1248, !6, i64 1256}
!13 = !{!"z_stream_s", !6, i64 0, !14, i64 8, !10, i64 16, !6, i64 24, !14, i64 32, !10, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !14, i64 88, !10, i64 96, !10, i64 104}
!14 = !{!"int", !7, i64 0}
!15 = !{!"png_row_info_struct", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!16 = !{!"short", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!"png_color_16_struct", !7, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8}
!19 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!20 = !{!"png_unknown_chunk_t", !7, i64 0, !6, i64 8, !10, i64 16, !7, i64 24}
!21 = !{!22, !10, i64 16}
!22 = !{!"png_info_struct", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !6, i64 32, !16, i64 40, !16, i64 42, !7, i64 44, !7, i64 45, !7, i64 46, !7, i64 47, !7, i64 48, !7, i64 49, !7, i64 50, !7, i64 51, !7, i64 52, !17, i64 60, !7, i64 64, !14, i64 68, !14, i64 72, !6, i64 80, !23, i64 88, !19, i64 96, !6, i64 104, !18, i64 112, !18, i64 122, !10, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !10, i64 168, !7, i64 176, !6, i64 184, !17, i64 192, !17, i64 196, !17, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !17, i64 220, !6, i64 224, !10, i64 232, !10, i64 240, !6, i64 248, !6, i64 256, !7, i64 264, !7, i64 265, !10, i64 272, !6, i64 280, !10, i64 288, !6, i64 296, !6, i64 304, !10, i64 312, !7, i64 320, !6, i64 328, !10, i64 336, !7, i64 344, !24, i64 352, !24, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456}
!23 = !{!"png_time_struct", !16, i64 0, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6}
!24 = !{!"double", !7, i64 0}
!25 = !{!12, !6, i64 1256}
!26 = !{!7, !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = !{!14, !14, i64 0}
!31 = distinct !{!31, !28}
!32 = distinct !{!32, !28}


; 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.89 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [27 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @png_get_int_32(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @png_crc_read(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @png_crc_finish(ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare ptr @png_malloc_warn(ptr noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @png_handle_pCAL(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #1 {
  %4 = getelementptr inbounds i8, ptr %0, i64 280
  %5 = load i64, ptr %4, align 8, !tbaa !5
  %6 = and i64 %5, 1
  %.not = icmp eq i64 %6, 0
  br i1 %.not, label %7, label %8

7:                                                ; preds = %3
  tail call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.89) #2
  br label %19

8:                                                ; preds = %3
  %9 = and i64 %5, 4
  %.not117 = icmp eq i64 %9, 0
  br i1 %.not117, label %12, label %10

10:                                               ; preds = %8
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.90) #2
  %11 = tail call i32 @png_crc_finish(ptr noundef nonnull %0, i64 noundef %2)
  br label %84

12:                                               ; preds = %8
  %.not118 = icmp eq ptr %1, null
  br i1 %.not118, label %19, label %13

13:                                               ; preds = %12
  %14 = getelementptr inbounds i8, ptr %1, i64 16
  %15 = load i64, ptr %14, align 8, !tbaa !19
  %16 = and i64 %15, 1024
  %.not119 = icmp eq i64 %16, 0
  br i1 %.not119, label %19, label %17

17:                                               ; preds = %13
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.91) #2
  %18 = tail call i32 @png_crc_finish(ptr noundef nonnull %0, i64 noundef %2)
  br label %84

19:                                               ; preds = %13, %12, %7
  %20 = getelementptr inbounds i8, ptr %0, i64 1256
  %21 = load ptr, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %21) #2
  %22 = add i64 %2, 1
  %23 = tail call ptr @png_malloc_warn(ptr noundef nonnull %0, i64 noundef %22) #2
  store ptr %23, ptr %20, align 8, !tbaa !23
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %19
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.92) #2
  br label %84

26:                                               ; preds = %19
  tail call void @png_crc_read(ptr noundef nonnull %0, ptr noundef nonnull %23, i64 noundef %2)
  %27 = tail call i32 @png_crc_finish(ptr noundef nonnull %0, i64 noundef 0)
  %.not120 = icmp eq i32 %27, 0
  %28 = load ptr, ptr %20, align 8, !tbaa !23
  br i1 %.not120, label %30, label %29

29:                                               ; preds = %26
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %28) #2
  store ptr null, ptr %20, align 8, !tbaa !23
  br label %84

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %28, i64 %2
  store i8 0, ptr %31, align 1, !tbaa !24
  %32 = load ptr, ptr %20, align 8, !tbaa !23
  br label %33

33:                                               ; preds = %33, %30
  %.0111 = phi ptr [ %32, %30 ], [ %35, %33 ]
  %34 = load i8, ptr %.0111, align 1, !tbaa !24
  %.not121 = icmp eq i8 %34, 0
  %35 = getelementptr inbounds i8, ptr %.0111, i64 1
  br i1 %.not121, label %36, label %33, !llvm.loop !25

36:                                               ; preds = %33
  %37 = getelementptr inbounds i8, ptr %32, i64 %2
  %38 = getelementptr inbounds i8, ptr %.0111, i64 12
  %.not122 = icmp ugt ptr %37, %38
  br i1 %.not122, label %41, label %39

39:                                               ; preds = %36
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.93) #2
  %40 = load ptr, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef %40) #2
  store ptr null, ptr %20, align 8, !tbaa !23
  br label %84

41:                                               ; preds = %36
  %42 = tail call i64 @png_get_int_32(ptr noundef nonnull %35)
  %43 = getelementptr inbounds i8, ptr %.0111, i64 5
  %44 = tail call i64 @png_get_int_32(ptr noundef nonnull %43)
  %45 = getelementptr inbounds i8, ptr %.0111, i64 9
  %46 = load i8, ptr %45, align 1, !tbaa !24
  %47 = getelementptr inbounds i8, ptr %.0111, i64 10
  %48 = load i8, ptr %47, align 1, !tbaa !24
  %49 = getelementptr inbounds i8, ptr %.0111, i64 11
  %50 = zext i8 %46 to i32
  %51 = icmp eq i8 %46, 0
  %52 = zext i8 %48 to i32
  %53 = icmp ne i8 %48, 2
  %or.cond = select i1 %51, i1 %53, i1 false
  br i1 %or.cond, label %61, label %54

54:                                               ; preds = %41
  %55 = icmp ne i8 %48, 3
  %56 = add i8 %46, -1
  %57 = icmp ult i8 %56, 2
  %or.cond126 = select i1 %57, i1 %55, i1 false
  br i1 %or.cond126, label %61, label %58

58:                                               ; preds = %54
  %59 = icmp eq i8 %46, 3
  %60 = icmp ne i8 %48, 4
  %or.cond11 = select i1 %59, i1 %60, i1 false
  br i1 %or.cond11, label %61, label %63

61:                                               ; preds = %58, %54, %41
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.94) #2
  %62 = load ptr, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef %62) #2
  store ptr null, ptr %20, align 8, !tbaa !23
  br label %84

63:                                               ; preds = %58
  %64 = icmp ugt i8 %46, 3
  br i1 %64, label %65, label %.preheader145

65:                                               ; preds = %63
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.95) #2
  br label %.preheader145

.preheader145:                                    ; preds = %63, %65
  br label %66

66:                                               ; preds = %.preheader145, %66
  %.1 = phi ptr [ %68, %66 ], [ %49, %.preheader145 ]
  %67 = load i8, ptr %.1, align 1, !tbaa !24
  %.not123 = icmp eq i8 %67, 0
  %68 = getelementptr inbounds i8, ptr %.1, i64 1
  br i1 %.not123, label %69, label %66, !llvm.loop !27

69:                                               ; preds = %66
  %70 = zext i8 %48 to i64
  %71 = shl nuw nsw i64 %70, 3
  %72 = tail call ptr @png_malloc_warn(ptr noundef %0, i64 noundef %71) #2
  %73 = icmp eq ptr %72, null
  br i1 %73, label %74, label %.preheader

.preheader:                                       ; preds = %69
  %.not135 = icmp eq i8 %48, 0
  br i1 %.not135, label %._crit_edge134, label %.lr.ph133.preheader

.lr.ph133.preheader:                              ; preds = %.preheader
  %wide.trip.count = zext i8 %48 to i64
  br label %.lr.ph133

74:                                               ; preds = %69
  %75 = load ptr, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef %75) #2
  store ptr null, ptr %20, align 8, !tbaa !23
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.96) #2
  br label %84

.lr.ph133:                                        ; preds = %.lr.ph133.preheader, %.critedge
  %indvars.iv = phi i64 [ 0, %.lr.ph133.preheader ], [ %indvars.iv.next, %.critedge ]
  %.2131 = phi ptr [ %.1, %.lr.ph133.preheader ], [ %.3129, %.critedge ]
  %76 = getelementptr inbounds i8, ptr %.2131, i64 1
  %77 = getelementptr inbounds ptr, ptr %72, i64 %indvars.iv
  store ptr %76, ptr %77, align 8, !tbaa !28
  %.not124128 = icmp ugt ptr %76, %37
  br i1 %.not124128, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph133, %79
  %.3129 = phi ptr [ %80, %79 ], [ %76, %.lr.ph133 ]
  %78 = load i8, ptr %.3129, align 1, !tbaa !24
  %.not125 = icmp eq i8 %78, 0
  br i1 %.not125, label %.critedge, label %79

79:                                               ; preds = %.lr.ph
  %80 = getelementptr inbounds i8, ptr %.3129, i64 1
  %.not124 = icmp ugt ptr %80, %37
  br i1 %.not124, label %._crit_edge, label %.lr.ph, !llvm.loop !29

._crit_edge:                                      ; preds = %.lr.ph133, %79
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.93) #2
  %81 = load ptr, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef %81) #2
  store ptr null, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef nonnull %72) #2
  br label %84

.critedge:                                        ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge134, label %.lr.ph133, !llvm.loop !30

._crit_edge134:                                   ; preds = %.critedge, %.preheader
  %82 = load ptr, ptr %20, align 8, !tbaa !23
  tail call void @png_set_pCAL(ptr noundef %0, ptr noundef %1, ptr noundef %82, i64 noundef %42, i64 noundef %44, i32 noundef %50, i32 noundef %52, ptr noundef nonnull %49, ptr noundef nonnull %72) #2
  %83 = load ptr, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef %83) #2
  store ptr null, ptr %20, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef nonnull %72) #2
  br label %84

84:                                               ; preds = %._crit_edge134, %._crit_edge, %74, %61, %39, %29, %25, %17, %10
  ret void
}

declare void @png_set_pCAL(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr 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, !10, i64 280}
!6 = !{!"png_struct_def", !7, i64 0, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !7, i64 272, !7, i64 273, !10, i64 280, !10, i64 288, !10, i64 296, !11, i64 304, !9, i64 416, !10, i64 424, !12, i64 432, !12, i64 436, !12, i64 440, !12, i64 444, !12, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !9, i64 520, !9, i64 528, !9, i64 536, !9, i64 544, !9, i64 552, !9, i64 560, !13, i64 568, !10, i64 592, !10, i64 600, !9, i64 608, !14, i64 616, !14, i64 618, !7, i64 620, !7, i64 625, !7, i64 626, !7, i64 627, !7, i64 628, !7, i64 629, !7, i64 630, !7, i64 631, !7, i64 632, !7, i64 633, !7, i64 634, !7, i64 635, !7, i64 636, !14, i64 638, !7, i64 640, !15, i64 644, !16, i64 648, !16, i64 658, !9, i64 672, !10, i64 680, !10, i64 688, !12, i64 696, !15, i64 700, !15, i64 704, !9, i64 712, !9, i64 720, !9, i64 728, !9, i64 736, !9, i64 744, !9, i64 752, !17, i64 760, !17, i64 765, !9, i64 776, !16, i64 784, !9, i64 800, !9, i64 808, !9, i64 816, !9, i64 824, !9, i64 832, !9, i64 840, !9, i64 848, !9, i64 856, !9, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !12, i64 920, !12, i64 924, !10, i64 928, !10, i64 936, !9, i64 944, !9, i64 952, !9, i64 960, !9, i64 968, !9, i64 976, !7, i64 984, !7, i64 985, !9, i64 992, !9, i64 1000, !9, i64 1008, !9, i64 1016, !9, i64 1024, !9, i64 1032, !10, i64 1040, !9, i64 1048, !9, i64 1056, !12, i64 1064, !9, i64 1072, !7, i64 1080, !14, i64 1082, !14, i64 1084, !14, i64 1086, !10, i64 1088, !10, i64 1096, !7, i64 1104, !7, i64 1105, !10, i64 1112, !10, i64 1120, !9, i64 1128, !9, i64 1136, !9, i64 1144, !9, i64 1152, !9, i64 1160, !9, i64 1168, !9, i64 1176, !7, i64 1184, !10, i64 1192, !10, i64 1200, !18, i64 1208, !10, i64 1240, !10, i64 1248, !9, i64 1256}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!"z_stream_s", !9, i64 0, !12, i64 8, !10, i64 16, !9, i64 24, !12, i64 32, !10, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !12, i64 88, !10, i64 96, !10, i64 104}
!12 = !{!"int", !7, i64 0}
!13 = !{!"png_row_info_struct", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!14 = !{!"short", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"png_color_16_struct", !7, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8}
!17 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!18 = !{!"png_unknown_chunk_t", !7, i64 0, !9, i64 8, !10, i64 16, !7, i64 24}
!19 = !{!20, !10, i64 16}
!20 = !{!"png_info_struct", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !9, i64 32, !14, i64 40, !14, i64 42, !7, i64 44, !7, i64 45, !7, i64 46, !7, i64 47, !7, i64 48, !7, i64 49, !7, i64 50, !7, i64 51, !7, i64 52, !15, i64 60, !7, i64 64, !12, i64 68, !12, i64 72, !9, i64 80, !21, i64 88, !17, i64 96, !9, i64 104, !16, i64 112, !16, i64 122, !10, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !10, i64 168, !7, i64 176, !9, i64 184, !15, i64 192, !15, i64 196, !15, i64 200, !15, i64 204, !15, i64 208, !15, i64 212, !15, i64 216, !15, i64 220, !9, i64 224, !10, i64 232, !10, i64 240, !9, i64 248, !9, i64 256, !7, i64 264, !7, i64 265, !10, i64 272, !9, i64 280, !10, i64 288, !9, i64 296, !9, i64 304, !10, i64 312, !7, i64 320, !9, i64 328, !10, i64 336, !7, i64 344, !22, i64 352, !22, i64 360, !9, i64 368, !9, i64 376, !9, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456}
!21 = !{!"png_time_struct", !14, i64 0, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6}
!22 = !{!"double", !7, i64 0}
!23 = !{!6, !9, i64 1256}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!9, !9, i64 0}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}


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