; 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_sPLT_struct = type { ptr, i8, ptr, i64 }
%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_sPLT_entry_struct = type { i16, i16, i16, i16, i16 }

@.str.57 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [36 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 zeroext i16 @png_get_uint_16(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

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

; Function Attrs: nounwind uwtable
define dso_local void @png_handle_sPLT(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 ptr, align 8
  %8 = alloca %struct.png_sPLT_struct, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  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 32, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store i64 0, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.png_struct_def, ptr %16, i32 0, i32 12
  %18 = load i64, ptr %17, align 8, !tbaa !11
  %19 = and i64 %18, 1
  %20 = icmp ne i64 %19, 0
  br i1 %20, label %23, label %21

21:                                               ; preds = %3
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_error(ptr noundef %22, ptr noundef @.str.57)
  br label %35

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

29:                                               ; preds = %23
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %30, ptr noundef @.str.58)
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = load i64, ptr %6, align 8, !tbaa !9
  %33 = call i32 @png_crc_finish(ptr noundef %31, i64 noundef %32)
  store i32 1, ptr %14, align 4
  br label %248

34:                                               ; preds = %23
  br label %35

35:                                               ; preds = %34, %21
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.png_struct_def, ptr %37, i32 0, i32 137
  %39 = load ptr, ptr %38, align 8, !tbaa !21
  call void @png_free(ptr noundef %36, ptr noundef %39)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = load i64, ptr %6, align 8, !tbaa !9
  %42 = add i64 %41, 1
  %43 = call ptr @png_malloc(ptr noundef %40, i64 noundef %42)
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.png_struct_def, ptr %44, i32 0, i32 137
  store ptr %43, ptr %45, align 8, !tbaa !21
  %46 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %46, ptr %13, align 8, !tbaa !9
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.png_struct_def, ptr %48, i32 0, i32 137
  %50 = load ptr, ptr %49, align 8, !tbaa !21
  %51 = load i64, ptr %13, align 8, !tbaa !9
  call void @png_crc_read(ptr noundef %47, ptr noundef %50, i64 noundef %51)
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = load i64, ptr %12, align 8, !tbaa !9
  %54 = call i32 @png_crc_finish(ptr noundef %52, i64 noundef %53)
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %63

56:                                               ; preds = %35
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.png_struct_def, ptr %58, i32 0, i32 137
  %60 = load ptr, ptr %59, align 8, !tbaa !21
  call void @png_free(ptr noundef %57, ptr noundef %60)
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.png_struct_def, ptr %61, i32 0, i32 137
  store ptr null, ptr %62, align 8, !tbaa !21
  store i32 1, ptr %14, align 4
  br label %248

63:                                               ; preds = %35
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.png_struct_def, ptr %64, i32 0, i32 137
  %66 = load ptr, ptr %65, align 8, !tbaa !21
  %67 = load i64, ptr %13, align 8, !tbaa !9
  %68 = getelementptr inbounds i8, ptr %66, i64 %67
  store i8 0, ptr %68, align 1, !tbaa !22
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.png_struct_def, ptr %69, i32 0, i32 137
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  store ptr %71, ptr %7, align 8, !tbaa !5
  br label %72

72:                                               ; preds = %77, %63
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load i8, ptr %73, align 1, !tbaa !22
  %75 = icmp ne i8 %74, 0
  br i1 %75, label %76, label %80

76:                                               ; preds = %72
  br label %77

77:                                               ; preds = %76
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i32 1
  store ptr %79, ptr %7, align 8, !tbaa !5
  br label %72, !llvm.loop !23

80:                                               ; preds = %72
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i32 1
  store ptr %82, ptr %7, align 8, !tbaa !5
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.png_struct_def, ptr %84, i32 0, i32 137
  %86 = load ptr, ptr %85, align 8, !tbaa !21
  %87 = load i64, ptr %13, align 8, !tbaa !9
  %88 = getelementptr inbounds i8, ptr %86, i64 %87
  %89 = getelementptr inbounds i8, ptr %88, i64 -2
  %90 = icmp ugt ptr %83, %89
  br i1 %90, label %91, label %99

91:                                               ; preds = %80
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.png_struct_def, ptr %93, i32 0, i32 137
  %95 = load ptr, ptr %94, align 8, !tbaa !21
  call void @png_free(ptr noundef %92, ptr noundef %95)
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.png_struct_def, ptr %96, i32 0, i32 137
  store ptr null, ptr %97, align 8, !tbaa !21
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %98, ptr noundef @.str.59)
  store i32 1, ptr %14, align 4
  br label %248

99:                                               ; preds = %80
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i32 1
  store ptr %101, ptr %7, align 8, !tbaa !5
  %102 = load i8, ptr %100, align 1, !tbaa !22
  %103 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 1
  store i8 %102, ptr %103, align 8, !tbaa !25
  %104 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 1
  %105 = load i8, ptr %104, align 8, !tbaa !25
  %106 = zext i8 %105 to i32
  %107 = icmp eq i32 %106, 8
  %108 = zext i1 %107 to i64
  %109 = select i1 %107, i32 6, i32 10
  store i32 %109, ptr %10, align 4, !tbaa !27
  %110 = load i64, ptr %13, align 8, !tbaa !9
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.png_struct_def, ptr %112, i32 0, i32 137
  %114 = load ptr, ptr %113, align 8, !tbaa !21
  %115 = ptrtoint ptr %111 to i64
  %116 = ptrtoint ptr %114 to i64
  %117 = sub i64 %115, %116
  %118 = sub i64 %110, %117
  %119 = trunc i64 %118 to i32
  store i32 %119, ptr %9, align 4, !tbaa !27
  %120 = load i32, ptr %9, align 4, !tbaa !27
  %121 = load i32, ptr %10, align 4, !tbaa !27
  %122 = srem i32 %120, %121
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %132

124:                                              ; preds = %99
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.png_struct_def, ptr %126, i32 0, i32 137
  %128 = load ptr, ptr %127, align 8, !tbaa !21
  call void @png_free(ptr noundef %125, ptr noundef %128)
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.png_struct_def, ptr %129, i32 0, i32 137
  store ptr null, ptr %130, align 8, !tbaa !21
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %131, ptr noundef @.str.60)
  store i32 1, ptr %14, align 4
  br label %248

132:                                              ; preds = %99
  %133 = load i32, ptr %9, align 4, !tbaa !27
  %134 = load i32, ptr %10, align 4, !tbaa !27
  %135 = sdiv i32 %133, %134
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 3
  store i64 %136, ptr %137, align 8, !tbaa !28
  %138 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 3
  %139 = load i64, ptr %138, align 8, !tbaa !28
  %140 = icmp ugt i64 %139, 1844674407370955161
  br i1 %140, label %141, label %143

141:                                              ; preds = %132
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %142, ptr noundef @.str.61)
  store i32 1, ptr %14, align 4
  br label %248

143:                                              ; preds = %132
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 3
  %146 = load i64, ptr %145, align 8, !tbaa !28
  %147 = mul i64 %146, 10
  %148 = call ptr @png_malloc_warn(ptr noundef %144, i64 noundef %147)
  %149 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 2
  store ptr %148, ptr %149, align 8, !tbaa !29
  %150 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 2
  %151 = load ptr, ptr %150, align 8, !tbaa !29
  %152 = icmp eq ptr %151, null
  br i1 %152, label %153, label %155

153:                                              ; preds = %143
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  call void @png_warning(ptr noundef %154, ptr noundef @.str.62)
  store i32 1, ptr %14, align 4
  br label %248

155:                                              ; preds = %143
  store i32 0, ptr %11, align 4, !tbaa !27
  br label %156

156:                                              ; preds = %229, %155
  %157 = load i32, ptr %11, align 4, !tbaa !27
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 3
  %160 = load i64, ptr %159, align 8, !tbaa !28
  %161 = icmp slt i64 %158, %160
  br i1 %161, label %162, label %232

162:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %163 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 2
  %164 = load ptr, ptr %163, align 8, !tbaa !29
  %165 = load i32, ptr %11, align 4, !tbaa !27
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %164, i64 %166
  store ptr %167, ptr %15, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 1
  %169 = load i8, ptr %168, align 8, !tbaa !25
  %170 = zext i8 %169 to i32
  %171 = icmp eq i32 %170, 8
  br i1 %171, label %172, label %197

172:                                              ; preds = %162
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %173, i32 1
  store ptr %174, ptr %7, align 8, !tbaa !5
  %175 = load i8, ptr %173, align 1, !tbaa !22
  %176 = zext i8 %175 to i16
  %177 = load ptr, ptr %15, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %177, i32 0, i32 0
  store i16 %176, ptr %178, align 2, !tbaa !30
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  %180 = getelementptr inbounds i8, ptr %179, i32 1
  store ptr %180, ptr %7, align 8, !tbaa !5
  %181 = load i8, ptr %179, align 1, !tbaa !22
  %182 = zext i8 %181 to i16
  %183 = load ptr, ptr %15, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %183, i32 0, i32 1
  store i16 %182, ptr %184, align 2, !tbaa !32
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds i8, ptr %185, i32 1
  store ptr %186, ptr %7, align 8, !tbaa !5
  %187 = load i8, ptr %185, align 1, !tbaa !22
  %188 = zext i8 %187 to i16
  %189 = load ptr, ptr %15, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %189, i32 0, i32 2
  store i16 %188, ptr %190, align 2, !tbaa !33
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = getelementptr inbounds i8, ptr %191, i32 1
  store ptr %192, ptr %7, align 8, !tbaa !5
  %193 = load i8, ptr %191, align 1, !tbaa !22
  %194 = zext i8 %193 to i16
  %195 = load ptr, ptr %15, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %195, i32 0, i32 3
  store i16 %194, ptr %196, align 2, !tbaa !34
  br label %222

197:                                              ; preds = %162
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = call zeroext i16 @png_get_uint_16(ptr noundef %198)
  %200 = load ptr, ptr %15, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %200, i32 0, i32 0
  store i16 %199, ptr %201, align 2, !tbaa !30
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %202, i64 2
  store ptr %203, ptr %7, align 8, !tbaa !5
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = call zeroext i16 @png_get_uint_16(ptr noundef %204)
  %206 = load ptr, ptr %15, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %206, i32 0, i32 1
  store i16 %205, ptr %207, align 2, !tbaa !32
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = getelementptr inbounds i8, ptr %208, i64 2
  store ptr %209, ptr %7, align 8, !tbaa !5
  %210 = load ptr, ptr %7, align 8, !tbaa !5
  %211 = call zeroext i16 @png_get_uint_16(ptr noundef %210)
  %212 = load ptr, ptr %15, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %212, i32 0, i32 2
  store i16 %211, ptr %213, align 2, !tbaa !33
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = getelementptr inbounds i8, ptr %214, i64 2
  store ptr %215, ptr %7, align 8, !tbaa !5
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = call zeroext i16 @png_get_uint_16(ptr noundef %216)
  %218 = load ptr, ptr %15, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %218, i32 0, i32 3
  store i16 %217, ptr %219, align 2, !tbaa !34
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = getelementptr inbounds i8, ptr %220, i64 2
  store ptr %221, ptr %7, align 8, !tbaa !5
  br label %222

222:                                              ; preds = %197, %172
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = call zeroext i16 @png_get_uint_16(ptr noundef %223)
  %225 = load ptr, ptr %15, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %225, i32 0, i32 4
  store i16 %224, ptr %226, align 2, !tbaa !35
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  %228 = getelementptr inbounds i8, ptr %227, i64 2
  store ptr %228, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  br label %229

229:                                              ; preds = %222
  %230 = load i32, ptr %11, align 4, !tbaa !27
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %11, align 4, !tbaa !27
  br label %156, !llvm.loop !36

232:                                              ; preds = %156
  %233 = load ptr, ptr %4, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.png_struct_def, ptr %233, i32 0, i32 137
  %235 = load ptr, ptr %234, align 8, !tbaa !21
  %236 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 0
  store ptr %235, ptr %236, align 8, !tbaa !37
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  call void @png_set_sPLT(ptr noundef %237, ptr noundef %238, ptr noundef %8, i32 noundef 1)
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.png_struct_def, ptr %240, i32 0, i32 137
  %242 = load ptr, ptr %241, align 8, !tbaa !21
  call void @png_free(ptr noundef %239, ptr noundef %242)
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.png_struct_def, ptr %243, i32 0, i32 137
  store ptr null, ptr %244, align 8, !tbaa !21
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.png_sPLT_struct, ptr %8, i32 0, i32 2
  %247 = load ptr, ptr %246, align 8, !tbaa !29
  call void @png_free(ptr noundef %245, ptr noundef %247)
  store i32 0, ptr %14, align 4
  br label %248

248:                                              ; preds = %232, %153, %141, %124, %91, %56, %29
  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 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %249 = load i32, ptr %14, align 4
  switch i32 %249, label %251 [
    i32 0, label %250
    i32 1, label %250
  ]

250:                                              ; preds = %248, %248
  ret void

251:                                              ; preds = %248
  unreachable
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !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 = !{!12, !6, i64 1256}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !7, i64 8}
!26 = !{!"png_sPLT_struct", !6, i64 0, !7, i64 8, !6, i64 16, !10, i64 24}
!27 = !{!14, !14, i64 0}
!28 = !{!26, !10, i64 24}
!29 = !{!26, !6, i64 16}
!30 = !{!31, !16, i64 0}
!31 = !{!"png_sPLT_entry_struct", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8}
!32 = !{!31, !16, i64 2}
!33 = !{!31, !16, i64 4}
!34 = !{!31, !16, i64 6}
!35 = !{!31, !16, i64 8}
!36 = distinct !{!36, !24}
!37 = !{!26, !6, i64 0}


; 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_sPLT_struct = type { ptr, i8, ptr, i64 }
%struct.png_sPLT_entry_struct = type { i16, i16, i16, i16, i16 }

@.str.57 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [36 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i16 @png_get_uint_16(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @png_handle_sPLT(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #2 {
  %4 = alloca %struct.png_sPLT_struct, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 280
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = and i64 %6, 1
  %.not = icmp eq i64 %7, 0
  br i1 %.not, label %8, label %9

8:                                                ; preds = %3
  tail call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.57) #3
  br label %13

9:                                                ; preds = %3
  %10 = and i64 %6, 4
  %.not84 = icmp eq i64 %10, 0
  br i1 %.not84, label %13, label %11

11:                                               ; preds = %9
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.58) #3
  %12 = tail call i32 @png_crc_finish(ptr noundef nonnull %0, i64 noundef %2)
  br label %93

13:                                               ; preds = %9, %8
  %14 = getelementptr inbounds i8, ptr %0, i64 1256
  %15 = load ptr, ptr %14, align 8, !tbaa !19
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %15) #3
  %16 = add i64 %2, 1
  %17 = tail call ptr @png_malloc(ptr noundef nonnull %0, i64 noundef %16) #3
  store ptr %17, ptr %14, align 8, !tbaa !19
  tail call void @png_crc_read(ptr noundef nonnull %0, ptr noundef %17, i64 noundef %2)
  %18 = tail call i32 @png_crc_finish(ptr noundef nonnull %0, i64 noundef 0)
  %.not85 = icmp eq i32 %18, 0
  %19 = load ptr, ptr %14, align 8, !tbaa !19
  br i1 %.not85, label %21, label %20

20:                                               ; preds = %13
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %19) #3
  store ptr null, ptr %14, align 8, !tbaa !19
  br label %93

21:                                               ; preds = %13
  %22 = getelementptr inbounds i8, ptr %19, i64 %2
  store i8 0, ptr %22, align 1, !tbaa !20
  %23 = load ptr, ptr %14, align 8, !tbaa !19
  br label %24

24:                                               ; preds = %24, %21
  %.0 = phi ptr [ %23, %21 ], [ %26, %24 ]
  %25 = load i8, ptr %.0, align 1, !tbaa !20
  %.not86 = icmp eq i8 %25, 0
  %26 = getelementptr inbounds i8, ptr %.0, i64 1
  br i1 %.not86, label %27, label %24, !llvm.loop !21

27:                                               ; preds = %24
  %28 = getelementptr inbounds i8, ptr %23, i64 %2
  %29 = getelementptr inbounds i8, ptr %28, i64 -2
  %30 = icmp ugt ptr %26, %29
  br i1 %30, label %31, label %32

31:                                               ; preds = %27
  tail call void @png_free(ptr noundef %0, ptr noundef %23) #3
  store ptr null, ptr %14, align 8, !tbaa !19
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.59) #3
  br label %93

32:                                               ; preds = %27
  %33 = getelementptr inbounds i8, ptr %.0, i64 2
  %34 = load i8, ptr %26, align 1, !tbaa !20
  %35 = getelementptr inbounds i8, ptr %4, i64 8
  store i8 %34, ptr %35, align 8, !tbaa !23
  %36 = icmp eq i8 %34, 8
  %37 = select i1 %36, i32 6, i32 10
  %38 = ptrtoint ptr %33 to i64
  %39 = ptrtoint ptr %23 to i64
  %.neg = add i64 %39, %2
  %40 = sub i64 %.neg, %38
  %41 = trunc i64 %40 to i32
  %42 = srem i32 %41, %37
  %43 = sdiv i32 %41, %37
  %.not87 = icmp eq i32 %42, 0
  br i1 %.not87, label %45, label %44

44:                                               ; preds = %32
  tail call void @png_free(ptr noundef %0, ptr noundef %23) #3
  store ptr null, ptr %14, align 8, !tbaa !19
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.60) #3
  br label %93

45:                                               ; preds = %32
  %46 = sext i32 %43 to i64
  %47 = getelementptr inbounds i8, ptr %4, i64 24
  store i64 %46, ptr %47, align 8, !tbaa !25
  %48 = icmp slt i32 %43, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %45
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.61) #3
  br label %93

50:                                               ; preds = %45
  %51 = mul nuw nsw i64 %46, 10
  %52 = tail call ptr @png_malloc_warn(ptr noundef %0, i64 noundef %51) #3
  %53 = getelementptr inbounds i8, ptr %4, i64 16
  store ptr %52, ptr %53, align 8, !tbaa !26
  %54 = icmp eq ptr %52, null
  br i1 %54, label %74, label %.preheader

.preheader:                                       ; preds = %50
  %.not97 = icmp eq i32 %43, 0
  br i1 %.not97, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  br i1 %36, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.lr.ph.split.us
  %indvars.iv93 = phi i64 [ %indvars.iv.next94, %.lr.ph.split.us ], [ 0, %.lr.ph ]
  %.190.us = phi ptr [ %73, %.lr.ph.split.us ], [ %33, %.lr.ph ]
  %55 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %52, i64 %indvars.iv93
  %56 = getelementptr inbounds i8, ptr %.190.us, i64 1
  %57 = load i8, ptr %.190.us, align 1, !tbaa !20
  %58 = zext i8 %57 to i16
  store i16 %58, ptr %55, align 2, !tbaa !27
  %59 = getelementptr inbounds i8, ptr %.190.us, i64 2
  %60 = load i8, ptr %56, align 1, !tbaa !20
  %61 = zext i8 %60 to i16
  %62 = getelementptr inbounds i8, ptr %55, i64 2
  store i16 %61, ptr %62, align 2, !tbaa !29
  %63 = getelementptr inbounds i8, ptr %.190.us, i64 3
  %64 = load i8, ptr %59, align 1, !tbaa !20
  %65 = zext i8 %64 to i16
  %66 = getelementptr inbounds i8, ptr %55, i64 4
  store i16 %65, ptr %66, align 2, !tbaa !30
  %67 = getelementptr inbounds i8, ptr %.190.us, i64 4
  %68 = load i8, ptr %63, align 1, !tbaa !20
  %69 = zext i8 %68 to i16
  %70 = getelementptr inbounds i8, ptr %55, i64 6
  store i16 %69, ptr %70, align 2, !tbaa !31
  %71 = tail call zeroext i16 @png_get_uint_16(ptr noundef nonnull %67)
  %72 = getelementptr inbounds i8, ptr %55, i64 8
  store i16 %71, ptr %72, align 2, !tbaa !32
  %73 = getelementptr inbounds i8, ptr %.190.us, i64 6
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  %exitcond96.not = icmp eq i64 %indvars.iv.next94, %46
  br i1 %exitcond96.not, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !33

74:                                               ; preds = %50
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.62) #3
  br label %93

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph.split ], [ 0, %.lr.ph ]
  %.190 = phi ptr [ %89, %.lr.ph.split ], [ %33, %.lr.ph ]
  %75 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %52, i64 %indvars.iv
  %76 = tail call zeroext i16 @png_get_uint_16(ptr noundef nonnull %.190)
  store i16 %76, ptr %75, align 2, !tbaa !27
  %77 = getelementptr inbounds i8, ptr %.190, i64 2
  %78 = tail call zeroext i16 @png_get_uint_16(ptr noundef nonnull %77)
  %79 = getelementptr inbounds i8, ptr %75, i64 2
  store i16 %78, ptr %79, align 2, !tbaa !29
  %80 = getelementptr inbounds i8, ptr %.190, i64 4
  %81 = tail call zeroext i16 @png_get_uint_16(ptr noundef nonnull %80)
  %82 = getelementptr inbounds i8, ptr %75, i64 4
  store i16 %81, ptr %82, align 2, !tbaa !30
  %83 = getelementptr inbounds i8, ptr %.190, i64 6
  %84 = tail call zeroext i16 @png_get_uint_16(ptr noundef nonnull %83)
  %85 = getelementptr inbounds i8, ptr %75, i64 6
  store i16 %84, ptr %85, align 2, !tbaa !31
  %86 = getelementptr inbounds i8, ptr %.190, i64 8
  %87 = tail call zeroext i16 @png_get_uint_16(ptr noundef nonnull %86)
  %88 = getelementptr inbounds i8, ptr %75, i64 8
  store i16 %87, ptr %88, align 2, !tbaa !32
  %89 = getelementptr inbounds i8, ptr %.190, i64 10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %46
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !33

._crit_edge:                                      ; preds = %.lr.ph.split, %.lr.ph.split.us, %.preheader
  %90 = load ptr, ptr %14, align 8, !tbaa !19
  store ptr %90, ptr %4, align 8, !tbaa !34
  call void @png_set_sPLT(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %4, i32 noundef 1) #3
  %91 = load ptr, ptr %14, align 8, !tbaa !19
  call void @png_free(ptr noundef %0, ptr noundef %91) #3
  store ptr null, ptr %14, align 8, !tbaa !19
  %92 = load ptr, ptr %53, align 8, !tbaa !26
  call void @png_free(ptr noundef %0, ptr noundef %92) #3
  br label %93

93:                                               ; preds = %._crit_edge, %74, %49, %44, %31, %20, %11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  ret void
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !9, i64 1256}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !7, i64 8}
!24 = !{!"png_sPLT_struct", !9, i64 0, !7, i64 8, !9, i64 16, !10, i64 24}
!25 = !{!24, !10, i64 24}
!26 = !{!24, !9, i64 16}
!27 = !{!28, !14, i64 0}
!28 = !{!"png_sPLT_entry_struct", !14, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8}
!29 = !{!28, !14, i64 2}
!30 = !{!28, !14, i64 4}
!31 = !{!28, !14, i64 6}
!32 = !{!28, !14, i64 8}
!33 = distinct !{!33, !22}
!34 = !{!24, !9, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass