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

; 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 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @png_write_info_before_PLTE(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = icmp eq ptr %7, null
  br i1 %8, label %12, label %9

9:                                                ; preds = %2
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %13

12:                                               ; preds = %9, %2
  br label %250

13:                                               ; preds = %9
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.png_struct_def, ptr %14, i32 0, i32 12
  %16 = load i64, ptr %15, align 8, !tbaa !9
  %17 = and i64 %16, 1024
  %18 = icmp ne i64 %17, 0
  br i1 %18, label %250, label %19

19:                                               ; preds = %13
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_sig(ptr noundef %20)
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.png_struct_def, ptr %21, i32 0, i32 12
  %23 = load i64, ptr %22, align 8, !tbaa !9
  %24 = and i64 %23, 4096
  %25 = icmp ne i64 %24, 0
  br i1 %25, label %26, label %35

26:                                               ; preds = %19
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.png_struct_def, ptr %27, i32 0, i32 118
  %29 = load i64, ptr %28, align 8, !tbaa !20
  %30 = icmp ne i64 %29, 0
  br i1 %30, label %31, label %35

31:                                               ; preds = %26
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_warning(ptr noundef %32, ptr noundef @.str)
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.png_struct_def, ptr %33, i32 0, i32 118
  store i64 0, ptr %34, align 8, !tbaa !20
  br label %35

35:                                               ; preds = %31, %26, %19
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.png_info_struct, ptr %37, i32 0, i32 0
  %39 = load i64, ptr %38, align 8, !tbaa !21
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.png_info_struct, ptr %40, i32 0, i32 1
  %42 = load i64, ptr %41, align 8, !tbaa !25
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.png_info_struct, ptr %43, i32 0, i32 7
  %45 = load i8, ptr %44, align 4, !tbaa !26
  %46 = zext i8 %45 to i32
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.png_info_struct, ptr %47, i32 0, i32 8
  %49 = load i8, ptr %48, align 1, !tbaa !27
  %50 = zext i8 %49 to i32
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.png_info_struct, ptr %51, i32 0, i32 9
  %53 = load i8, ptr %52, align 2, !tbaa !28
  %54 = zext i8 %53 to i32
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.png_info_struct, ptr %55, i32 0, i32 10
  %57 = load i8, ptr %56, align 1, !tbaa !29
  %58 = zext i8 %57 to i32
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.png_info_struct, ptr %59, i32 0, i32 11
  %61 = load i8, ptr %60, align 8, !tbaa !30
  %62 = zext i8 %61 to i32
  call void @png_write_IHDR(ptr noundef %36, i64 noundef %39, i64 noundef %42, i32 noundef %46, i32 noundef %50, i32 noundef %54, i32 noundef %58, i32 noundef %62)
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.png_info_struct, ptr %63, i32 0, i32 2
  %65 = load i64, ptr %64, align 8, !tbaa !31
  %66 = and i64 %65, 1
  %67 = icmp ne i64 %66, 0
  br i1 %67, label %68, label %74

68:                                               ; preds = %35
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.png_info_struct, ptr %70, i32 0, i32 16
  %72 = load float, ptr %71, align 4, !tbaa !32
  %73 = fpext float %72 to double
  call void @png_write_gAMA(ptr noundef %69, double noundef %73)
  br label %74

74:                                               ; preds = %68, %35
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.png_info_struct, ptr %75, i32 0, i32 2
  %77 = load i64, ptr %76, align 8, !tbaa !31
  %78 = and i64 %77, 2048
  %79 = icmp ne i64 %78, 0
  br i1 %79, label %80, label %86

80:                                               ; preds = %74
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.png_info_struct, ptr %82, i32 0, i32 17
  %84 = load i8, ptr %83, align 8, !tbaa !33
  %85 = zext i8 %84 to i32
  call void @png_write_sRGB(ptr noundef %81, i32 noundef %85)
  br label %86

86:                                               ; preds = %80, %74
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.png_info_struct, ptr %87, i32 0, i32 2
  %89 = load i64, ptr %88, align 8, !tbaa !31
  %90 = and i64 %89, 4096
  %91 = icmp ne i64 %90, 0
  br i1 %91, label %92, label %104

92:                                               ; preds = %86
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.png_info_struct, ptr %94, i32 0, i32 51
  %96 = load ptr, ptr %95, align 8, !tbaa !34
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.png_info_struct, ptr %97, i32 0, i32 52
  %99 = load ptr, ptr %98, align 8, !tbaa !35
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.png_info_struct, ptr %100, i32 0, i32 53
  %102 = load i64, ptr %101, align 8, !tbaa !36
  %103 = trunc i64 %102 to i32
  call void @png_write_iCCP(ptr noundef %93, ptr noundef %96, i32 noundef 0, ptr noundef %99, i32 noundef %103)
  br label %104

104:                                              ; preds = %92, %86
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.png_info_struct, ptr %105, i32 0, i32 2
  %107 = load i64, ptr %106, align 8, !tbaa !31
  %108 = and i64 %107, 2
  %109 = icmp ne i64 %108, 0
  br i1 %109, label %110, label %118

110:                                              ; preds = %104
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.png_info_struct, ptr %112, i32 0, i32 22
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.png_info_struct, ptr %114, i32 0, i32 8
  %116 = load i8, ptr %115, align 1, !tbaa !27
  %117 = zext i8 %116 to i32
  call void @png_write_sBIT(ptr noundef %111, ptr noundef %113, i32 noundef %117)
  br label %118

118:                                              ; preds = %110, %104
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.png_info_struct, ptr %119, i32 0, i32 2
  %121 = load i64, ptr %120, align 8, !tbaa !31
  %122 = and i64 %121, 4
  %123 = icmp ne i64 %122, 0
  br i1 %123, label %124, label %158

124:                                              ; preds = %118
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.png_info_struct, ptr %126, i32 0, i32 33
  %128 = load float, ptr %127, align 8, !tbaa !37
  %129 = fpext float %128 to double
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.png_info_struct, ptr %130, i32 0, i32 34
  %132 = load float, ptr %131, align 4, !tbaa !38
  %133 = fpext float %132 to double
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.png_info_struct, ptr %134, i32 0, i32 35
  %136 = load float, ptr %135, align 8, !tbaa !39
  %137 = fpext float %136 to double
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.png_info_struct, ptr %138, i32 0, i32 36
  %140 = load float, ptr %139, align 4, !tbaa !40
  %141 = fpext float %140 to double
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.png_info_struct, ptr %142, i32 0, i32 37
  %144 = load float, ptr %143, align 8, !tbaa !41
  %145 = fpext float %144 to double
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.png_info_struct, ptr %146, i32 0, i32 38
  %148 = load float, ptr %147, align 4, !tbaa !42
  %149 = fpext float %148 to double
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.png_info_struct, ptr %150, i32 0, i32 39
  %152 = load float, ptr %151, align 8, !tbaa !43
  %153 = fpext float %152 to double
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.png_info_struct, ptr %154, i32 0, i32 40
  %156 = load float, ptr %155, align 4, !tbaa !44
  %157 = fpext float %156 to double
  call void @png_write_cHRM(ptr noundef %125, double noundef %129, double noundef %133, double noundef %137, double noundef %141, double noundef %145, double noundef %149, double noundef %153, double noundef %157)
  br label %158

158:                                              ; preds = %124, %118
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.png_info_struct, ptr %159, i32 0, i32 50
  %161 = load i64, ptr %160, align 8, !tbaa !45
  %162 = icmp ne i64 %161, 0
  br i1 %162, label %163, label %245

163:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.png_info_struct, ptr %164, i32 0, i32 49
  %166 = load ptr, ptr %165, align 8, !tbaa !46
  store ptr %166, ptr %5, align 8, !tbaa !5
  br label %167

167:                                              ; preds = %241, %163
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.png_info_struct, ptr %169, i32 0, i32 49
  %171 = load ptr, ptr %170, align 8, !tbaa !46
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.png_info_struct, ptr %172, i32 0, i32 50
  %174 = load i64, ptr %173, align 8, !tbaa !45
  %175 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %171, i64 %174
  %176 = icmp ult ptr %168, %175
  br i1 %176, label %177, label %244

177:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %179, i32 0, i32 0
  %181 = getelementptr inbounds [5 x i8], ptr %180, i64 0, i64 0
  %182 = call i32 @png_handle_as_unknown(ptr noundef %178, ptr noundef %181)
  store i32 %182, ptr %6, align 4, !tbaa !47
  %183 = load i32, ptr %6, align 4, !tbaa !47
  %184 = icmp ne i32 %183, 1
  br i1 %184, label %185, label %240

185:                                              ; preds = %177
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %186, i32 0, i32 3
  %188 = load i8, ptr %187, align 8, !tbaa !48
  %189 = zext i8 %188 to i32
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %240

191:                                              ; preds = %185
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %192, i32 0, i32 3
  %194 = load i8, ptr %193, align 8, !tbaa !48
  %195 = zext i8 %194 to i32
  %196 = and i32 %195, 2
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %240, label %198

198:                                              ; preds = %191
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %199, i32 0, i32 3
  %201 = load i8, ptr %200, align 8, !tbaa !48
  %202 = zext i8 %201 to i32
  %203 = and i32 %202, 4
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %240, label %205

205:                                              ; preds = %198
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %206, i32 0, i32 0
  %208 = getelementptr inbounds [5 x i8], ptr %207, i64 0, i64 3
  %209 = load i8, ptr %208, align 1, !tbaa !49
  %210 = zext i8 %209 to i32
  %211 = and i32 %210, 32
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %222, label %213

213:                                              ; preds = %205
  %214 = load i32, ptr %6, align 4, !tbaa !47
  %215 = icmp eq i32 %214, 3
  br i1 %215, label %222, label %216

216:                                              ; preds = %213
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.png_struct_def, ptr %217, i32 0, i32 13
  %219 = load i64, ptr %218, align 8, !tbaa !50
  %220 = and i64 %219, 65536
  %221 = icmp ne i64 %220, 0
  br i1 %221, label %222, label %240

222:                                              ; preds = %216, %213, %205
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %223, i32 0, i32 2
  %225 = load i64, ptr %224, align 8, !tbaa !51
  %226 = icmp eq i64 %225, 0
  br i1 %226, label %227, label %229

227:                                              ; preds = %222
  %228 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_warning(ptr noundef %228, ptr noundef @.str.1)
  br label %229

229:                                              ; preds = %227, %222
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds [5 x i8], ptr %232, i64 0, i64 0
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %234, i32 0, i32 1
  %236 = load ptr, ptr %235, align 8, !tbaa !52
  %237 = load ptr, ptr %5, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %237, i32 0, i32 2
  %239 = load i64, ptr %238, align 8, !tbaa !51
  call void @png_write_chunk(ptr noundef %230, ptr noundef %233, ptr noundef %236, i64 noundef %239)
  br label %240

240:                                              ; preds = %229, %216, %198, %191, %185, %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %241

241:                                              ; preds = %240
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %242, i32 1
  store ptr %243, ptr %5, align 8, !tbaa !5
  br label %167, !llvm.loop !53

244:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  br label %245

245:                                              ; preds = %244, %158
  %246 = load ptr, ptr %3, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.png_struct_def, ptr %246, i32 0, i32 12
  %248 = load i64, ptr %247, align 8, !tbaa !9
  %249 = or i64 %248, 1024
  store i64 %249, ptr %247, align 8, !tbaa !9
  br label %250

250:                                              ; preds = %245, %13, %12
  ret void
}

declare void @png_write_sig(ptr noundef) #1

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

declare void @png_write_IHDR(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @png_write_gAMA(ptr noundef, double noundef) #1

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

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

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

declare void @png_write_cHRM(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1

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

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

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

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

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


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

%struct.png_unknown_chunk_t = type { [5 x i8], ptr, i64, i8 }

@.str = external hidden unnamed_addr constant [49 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @png_write_info_before_PLTE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = icmp eq ptr %0, null
  %4 = icmp eq ptr %1, null
  %or.cond = or i1 %3, %4
  br i1 %or.cond, label %136, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 280
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = and i64 %7, 1024
  %.not = icmp eq i64 %8, 0
  br i1 %.not, label %9, label %136

9:                                                ; preds = %5
  tail call void @png_write_sig(ptr noundef nonnull %0) #2
  %10 = load i64, ptr %6, align 8, !tbaa !5
  %11 = and i64 %10, 4096
  %.not69 = icmp eq i64 %11, 0
  br i1 %.not69, label %16, label %12

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 1088
  %14 = load i64, ptr %13, align 8, !tbaa !19
  %.not70 = icmp eq i64 %14, 0
  br i1 %.not70, label %16, label %15

15:                                               ; preds = %12
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
  store i64 0, ptr %13, align 8, !tbaa !19
  br label %16

16:                                               ; preds = %15, %12, %9
  %17 = load i64, ptr %1, align 8, !tbaa !20
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = load i64, ptr %18, align 8, !tbaa !24
  %20 = getelementptr inbounds i8, ptr %1, i64 44
  %21 = load i8, ptr %20, align 4, !tbaa !25
  %22 = zext i8 %21 to i32
  %23 = getelementptr inbounds i8, ptr %1, i64 45
  %24 = load i8, ptr %23, align 1, !tbaa !26
  %25 = zext i8 %24 to i32
  %26 = getelementptr inbounds i8, ptr %1, i64 46
  %27 = load i8, ptr %26, align 2, !tbaa !27
  %28 = zext i8 %27 to i32
  %29 = getelementptr inbounds i8, ptr %1, i64 47
  %30 = load i8, ptr %29, align 1, !tbaa !28
  %31 = zext i8 %30 to i32
  %32 = getelementptr inbounds i8, ptr %1, i64 48
  %33 = load i8, ptr %32, align 8, !tbaa !29
  %34 = zext i8 %33 to i32
  tail call void @png_write_IHDR(ptr noundef nonnull %0, i64 noundef %17, i64 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28, i32 noundef %31, i32 noundef %34) #2
  %35 = getelementptr inbounds i8, ptr %1, i64 16
  %36 = load i64, ptr %35, align 8, !tbaa !30
  %37 = and i64 %36, 1
  %.not71 = icmp eq i64 %37, 0
  br i1 %.not71, label %42, label %38

38:                                               ; preds = %16
  %39 = getelementptr inbounds i8, ptr %1, i64 60
  %40 = load float, ptr %39, align 4, !tbaa !31
  %41 = fpext float %40 to double
  tail call void @png_write_gAMA(ptr noundef nonnull %0, double noundef %41) #2
  %.pre = load i64, ptr %35, align 8, !tbaa !30
  br label %42

42:                                               ; preds = %38, %16
  %43 = phi i64 [ %.pre, %38 ], [ %36, %16 ]
  %44 = and i64 %43, 2048
  %.not72 = icmp eq i64 %44, 0
  br i1 %.not72, label %49, label %45

45:                                               ; preds = %42
  %46 = getelementptr inbounds i8, ptr %1, i64 64
  %47 = load i8, ptr %46, align 8, !tbaa !32
  %48 = zext i8 %47 to i32
  tail call void @png_write_sRGB(ptr noundef nonnull %0, i32 noundef %48) #2
  %.pre85 = load i64, ptr %35, align 8, !tbaa !30
  br label %49

49:                                               ; preds = %45, %42
  %50 = phi i64 [ %.pre85, %45 ], [ %43, %42 ]
  %51 = and i64 %50, 4096
  %.not73 = icmp eq i64 %51, 0
  br i1 %.not73, label %60, label %52

52:                                               ; preds = %49
  %53 = getelementptr inbounds i8, ptr %1, i64 296
  %54 = load ptr, ptr %53, align 8, !tbaa !33
  %55 = getelementptr inbounds i8, ptr %1, i64 304
  %56 = load ptr, ptr %55, align 8, !tbaa !34
  %57 = getelementptr inbounds i8, ptr %1, i64 312
  %58 = load i64, ptr %57, align 8, !tbaa !35
  %59 = trunc i64 %58 to i32
  tail call void @png_write_iCCP(ptr noundef nonnull %0, ptr noundef %54, i32 noundef 0, ptr noundef %56, i32 noundef %59) #2
  %.pre86 = load i64, ptr %35, align 8, !tbaa !30
  br label %60

60:                                               ; preds = %52, %49
  %61 = phi i64 [ %.pre86, %52 ], [ %50, %49 ]
  %62 = and i64 %61, 2
  %.not74 = icmp eq i64 %62, 0
  br i1 %.not74, label %67, label %63

63:                                               ; preds = %60
  %64 = getelementptr inbounds i8, ptr %1, i64 96
  %65 = load i8, ptr %23, align 1, !tbaa !26
  %66 = zext i8 %65 to i32
  tail call void @png_write_sBIT(ptr noundef nonnull %0, ptr noundef nonnull %64, i32 noundef %66) #2
  %.pre87 = load i64, ptr %35, align 8, !tbaa !30
  br label %67

67:                                               ; preds = %63, %60
  %68 = phi i64 [ %.pre87, %63 ], [ %61, %60 ]
  %69 = and i64 %68, 4
  %.not75 = icmp eq i64 %69, 0
  br i1 %.not75, label %95, label %70

70:                                               ; preds = %67
  %71 = getelementptr inbounds i8, ptr %1, i64 192
  %72 = load float, ptr %71, align 8, !tbaa !36
  %73 = fpext float %72 to double
  %74 = getelementptr inbounds i8, ptr %1, i64 196
  %75 = load float, ptr %74, align 4, !tbaa !37
  %76 = fpext float %75 to double
  %77 = getelementptr inbounds i8, ptr %1, i64 200
  %78 = load float, ptr %77, align 8, !tbaa !38
  %79 = fpext float %78 to double
  %80 = getelementptr inbounds i8, ptr %1, i64 204
  %81 = load float, ptr %80, align 4, !tbaa !39
  %82 = fpext float %81 to double
  %83 = getelementptr inbounds i8, ptr %1, i64 208
  %84 = load float, ptr %83, align 8, !tbaa !40
  %85 = fpext float %84 to double
  %86 = getelementptr inbounds i8, ptr %1, i64 212
  %87 = load float, ptr %86, align 4, !tbaa !41
  %88 = fpext float %87 to double
  %89 = getelementptr inbounds i8, ptr %1, i64 216
  %90 = load float, ptr %89, align 8, !tbaa !42
  %91 = fpext float %90 to double
  %92 = getelementptr inbounds i8, ptr %1, i64 220
  %93 = load float, ptr %92, align 4, !tbaa !43
  %94 = fpext float %93 to double
  tail call void @png_write_cHRM(ptr noundef nonnull %0, double noundef %73, double noundef %76, double noundef %79, double noundef %82, double noundef %85, double noundef %88, double noundef %91, double noundef %94) #2
  br label %95

95:                                               ; preds = %70, %67
  %96 = getelementptr inbounds i8, ptr %1, i64 288
  %97 = load i64, ptr %96, align 8, !tbaa !44
  %.not76 = icmp eq i64 %97, 0
  br i1 %.not76, label %.loopexit, label %98

98:                                               ; preds = %95
  %99 = getelementptr inbounds i8, ptr %1, i64 280
  %100 = icmp sgt i64 %97, 0
  br i1 %100, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %98
  %101 = load ptr, ptr %99, align 8, !tbaa !45
  %102 = getelementptr inbounds i8, ptr %0, i64 288
  br label %103

103:                                              ; preds = %.lr.ph, %128
  %.084 = phi ptr [ %101, %.lr.ph ], [ %129, %128 ]
  %104 = tail call i32 @png_handle_as_unknown(ptr noundef %0, ptr noundef %.084) #2
  %.not77 = icmp eq i32 %104, 1
  br i1 %.not77, label %128, label %105

105:                                              ; preds = %103
  %106 = getelementptr inbounds i8, ptr %.084, i64 24
  %107 = load i8, ptr %106, align 8, !tbaa !46
  %.not78 = icmp ne i8 %107, 0
  %108 = and i8 %107, 6
  %109 = icmp eq i8 %108, 0
  %or.cond83 = and i1 %.not78, %109
  br i1 %or.cond83, label %110, label %128

110:                                              ; preds = %105
  %111 = getelementptr inbounds i8, ptr %.084, i64 3
  %112 = load i8, ptr %111, align 1, !tbaa !47
  %113 = and i8 %112, 32
  %114 = icmp ne i8 %113, 0
  %115 = icmp eq i32 %104, 3
  %or.cond3 = or i1 %115, %114
  br i1 %or.cond3, label %119, label %116

116:                                              ; preds = %110
  %117 = load i64, ptr %102, align 8, !tbaa !48
  %118 = and i64 %117, 65536
  %.not81 = icmp eq i64 %118, 0
  br i1 %.not81, label %128, label %119

119:                                              ; preds = %116, %110
  %120 = getelementptr inbounds i8, ptr %.084, i64 16
  %121 = load i64, ptr %120, align 8, !tbaa !49
  %122 = icmp eq i64 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %119
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.1) #2
  %.pre88 = load i64, ptr %120, align 8, !tbaa !49
  br label %124

124:                                              ; preds = %123, %119
  %125 = phi i64 [ %.pre88, %123 ], [ %121, %119 ]
  %126 = getelementptr inbounds i8, ptr %.084, i64 8
  %127 = load ptr, ptr %126, align 8, !tbaa !50
  tail call void @png_write_chunk(ptr noundef %0, ptr noundef nonnull %.084, ptr noundef %127, i64 noundef %125) #2
  br label %128

128:                                              ; preds = %124, %116, %105, %103
  %129 = getelementptr inbounds i8, ptr %.084, i64 32
  %130 = load ptr, ptr %99, align 8, !tbaa !45
  %131 = load i64, ptr %96, align 8, !tbaa !44
  %132 = getelementptr inbounds %struct.png_unknown_chunk_t, ptr %130, i64 %131
  %133 = icmp ult ptr %129, %132
  br i1 %133, label %103, label %.loopexit, !llvm.loop !51

.loopexit:                                        ; preds = %128, %98, %95
  %134 = load i64, ptr %6, align 8, !tbaa !5
  %135 = or i64 %134, 1024
  store i64 %135, ptr %6, align 8, !tbaa !5
  br label %136

136:                                              ; preds = %2, %.loopexit, %5
  ret void
}

declare void @png_write_sig(ptr noundef) local_unnamed_addr #1

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

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

declare void @png_write_gAMA(ptr noundef, double noundef) local_unnamed_addr #1

declare void @png_write_sRGB(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_write_iCCP(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_write_sBIT(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @png_write_cHRM(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #1

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!6, !10, i64 1088}
!20 = !{!21, !10, i64 0}
!21 = !{!"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, !22, 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, !23, i64 352, !23, 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}
!22 = !{!"png_time_struct", !14, i64 0, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6}
!23 = !{!"double", !7, i64 0}
!24 = !{!21, !10, i64 8}
!25 = !{!21, !7, i64 44}
!26 = !{!21, !7, i64 45}
!27 = !{!21, !7, i64 46}
!28 = !{!21, !7, i64 47}
!29 = !{!21, !7, i64 48}
!30 = !{!21, !10, i64 16}
!31 = !{!21, !15, i64 60}
!32 = !{!21, !7, i64 64}
!33 = !{!21, !9, i64 296}
!34 = !{!21, !9, i64 304}
!35 = !{!21, !10, i64 312}
!36 = !{!21, !15, i64 192}
!37 = !{!21, !15, i64 196}
!38 = !{!21, !15, i64 200}
!39 = !{!21, !15, i64 204}
!40 = !{!21, !15, i64 208}
!41 = !{!21, !15, i64 212}
!42 = !{!21, !15, i64 216}
!43 = !{!21, !15, i64 220}
!44 = !{!21, !10, i64 288}
!45 = !{!21, !9, i64 280}
!46 = !{!18, !7, i64 24}
!47 = !{!7, !7, i64 0}
!48 = !{!6, !10, i64 288}
!49 = !{!18, !10, i64 16}
!50 = !{!18, !9, i64 8}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}


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