; LLVM IR from niessner/Matterport :: code/gaps/pkgs/png (pngread)

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

%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.png_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i32, i32, i32, %struct.z_stream_s, ptr, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_row_info_struct, i32, i32, 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, i32, i32, 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, i32, i32, i64, i64, i64, i64, i32, i32, i64, i64, ptr, ptr, ptr, ptr, ptr, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, ptr, i8, i16, i16, i16, i32, i32, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i32, i32, %struct.png_unknown_chunk_t, i32, i32, ptr, i32 }
%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 { i32, 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 }

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @png_read_destroy(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca [1 x %struct.__jmp_buf_tag], align 16
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %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 ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 200, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %23

20:                                               ; preds = %3
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  call void @png_info_destroy(ptr noundef %21, ptr noundef %22)
  br label %23

23:                                               ; preds = %20, %3
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %29

26:                                               ; preds = %23
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  call void @png_info_destroy(ptr noundef %27, ptr noundef %28)
  br label %29

29:                                               ; preds = %26, %23
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.png_struct_def, ptr %31, i32 0, i32 17
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  call void @png_free(ptr noundef %30, ptr noundef %33)
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.png_struct_def, ptr %35, i32 0, i32 125
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  call void @png_free(ptr noundef %34, ptr noundef %37)
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.png_struct_def, ptr %39, i32 0, i32 32
  %41 = load ptr, ptr %40, align 8, !tbaa !21
  call void @png_free(ptr noundef %38, ptr noundef %41)
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.png_struct_def, ptr %43, i32 0, i32 136
  %45 = load ptr, ptr %44, align 8, !tbaa !22
  call void @png_free(ptr noundef %42, ptr noundef %45)
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.png_struct_def, ptr %47, i32 0, i32 99
  %49 = load ptr, ptr %48, align 8, !tbaa !23
  call void @png_free(ptr noundef %46, ptr noundef %49)
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.png_struct_def, ptr %51, i32 0, i32 100
  %53 = load ptr, ptr %52, align 8, !tbaa !24
  call void @png_free(ptr noundef %50, ptr noundef %53)
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.png_struct_def, ptr %55, i32 0, i32 68
  %57 = load ptr, ptr %56, align 8, !tbaa !25
  call void @png_free(ptr noundef %54, ptr noundef %57)
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.png_struct_def, ptr %59, i32 0, i32 69
  %61 = load ptr, ptr %60, align 8, !tbaa !26
  call void @png_free(ptr noundef %58, ptr noundef %61)
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.png_struct_def, ptr %63, i32 0, i32 70
  %65 = load ptr, ptr %64, align 8, !tbaa !27
  call void @png_free(ptr noundef %62, ptr noundef %65)
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.png_struct_def, ptr %66, i32 0, i32 110
  %68 = load i32, ptr %67, align 8, !tbaa !28
  %69 = and i32 %68, 4096
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %76

71:                                               ; preds = %29
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.png_struct_def, ptr %73, i32 0, i32 41
  %75 = load ptr, ptr %74, align 8, !tbaa !29
  call void @png_zfree(ptr noundef %72, ptr noundef %75)
  br label %76

76:                                               ; preds = %71, %29
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.png_struct_def, ptr %77, i32 0, i32 110
  %79 = load i32, ptr %78, align 8, !tbaa !28
  %80 = and i32 %79, -4097
  store i32 %80, ptr %78, align 8, !tbaa !28
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.png_struct_def, ptr %81, i32 0, i32 110
  %83 = load i32, ptr %82, align 8, !tbaa !28
  %84 = and i32 %83, 8192
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %91

86:                                               ; preds = %76
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.png_struct_def, ptr %88, i32 0, i32 76
  %90 = load ptr, ptr %89, align 8, !tbaa !30
  call void @png_free(ptr noundef %87, ptr noundef %90)
  br label %91

91:                                               ; preds = %86, %76
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.png_struct_def, ptr %92, i32 0, i32 110
  %94 = load i32, ptr %93, align 8, !tbaa !28
  %95 = and i32 %94, -8193
  store i32 %95, ptr %93, align 8, !tbaa !28
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.png_struct_def, ptr %96, i32 0, i32 110
  %98 = load i32, ptr %97, align 8, !tbaa !28
  %99 = and i32 %98, 8
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %106

101:                                              ; preds = %91
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.png_struct_def, ptr %103, i32 0, i32 101
  %105 = load ptr, ptr %104, align 8, !tbaa !31
  call void @png_free(ptr noundef %102, ptr noundef %105)
  br label %106

106:                                              ; preds = %101, %91
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.png_struct_def, ptr %107, i32 0, i32 110
  %109 = load i32, ptr %108, align 8, !tbaa !28
  %110 = and i32 %109, -9
  store i32 %110, ptr %108, align 8, !tbaa !28
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.png_struct_def, ptr %111, i32 0, i32 71
  %113 = load ptr, ptr %112, align 8, !tbaa !32
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %142

115:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.png_struct_def, ptr %116, i32 0, i32 65
  %118 = load i32, ptr %117, align 8, !tbaa !33
  %119 = sub nsw i32 8, %118
  %120 = shl i32 1, %119
  store i32 %120, ptr %13, align 4, !tbaa !34
  store i32 0, ptr %12, align 4, !tbaa !34
  br label %121

121:                                              ; preds = %134, %115
  %122 = load i32, ptr %12, align 4, !tbaa !34
  %123 = load i32, ptr %13, align 4, !tbaa !34
  %124 = icmp slt i32 %122, %123
  br i1 %124, label %125, label %137

125:                                              ; preds = %121
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.png_struct_def, ptr %127, i32 0, i32 71
  %129 = load ptr, ptr %128, align 8, !tbaa !32
  %130 = load i32, ptr %12, align 4, !tbaa !34
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds ptr, ptr %129, i64 %131
  %133 = load ptr, ptr %132, align 8, !tbaa !5
  call void @png_free(ptr noundef %126, ptr noundef %133)
  br label %134

134:                                              ; preds = %125
  %135 = load i32, ptr %12, align 4, !tbaa !34
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %12, align 4, !tbaa !34
  br label %121, !llvm.loop !35

137:                                              ; preds = %121
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.png_struct_def, ptr %139, i32 0, i32 71
  %141 = load ptr, ptr %140, align 8, !tbaa !32
  call void @png_free(ptr noundef %138, ptr noundef %141)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %142

142:                                              ; preds = %137, %106
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.png_struct_def, ptr %143, i32 0, i32 72
  %145 = load ptr, ptr %144, align 8, !tbaa !37
  %146 = icmp ne ptr %145, null
  br i1 %146, label %147, label %174

147:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.png_struct_def, ptr %148, i32 0, i32 65
  %150 = load i32, ptr %149, align 8, !tbaa !33
  %151 = sub nsw i32 8, %150
  %152 = shl i32 1, %151
  store i32 %152, ptr %15, align 4, !tbaa !34
  store i32 0, ptr %14, align 4, !tbaa !34
  br label %153

153:                                              ; preds = %166, %147
  %154 = load i32, ptr %14, align 4, !tbaa !34
  %155 = load i32, ptr %15, align 4, !tbaa !34
  %156 = icmp slt i32 %154, %155
  br i1 %156, label %157, label %169

157:                                              ; preds = %153
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.png_struct_def, ptr %159, i32 0, i32 72
  %161 = load ptr, ptr %160, align 8, !tbaa !37
  %162 = load i32, ptr %14, align 4, !tbaa !34
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds ptr, ptr %161, i64 %163
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  call void @png_free(ptr noundef %158, ptr noundef %165)
  br label %166

166:                                              ; preds = %157
  %167 = load i32, ptr %14, align 4, !tbaa !34
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %14, align 4, !tbaa !34
  br label %153, !llvm.loop !38

169:                                              ; preds = %153
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.png_struct_def, ptr %171, i32 0, i32 72
  %173 = load ptr, ptr %172, align 8, !tbaa !37
  call void @png_free(ptr noundef %170, ptr noundef %173)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %174

174:                                              ; preds = %169, %142
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.png_struct_def, ptr %175, i32 0, i32 73
  %177 = load ptr, ptr %176, align 8, !tbaa !39
  %178 = icmp ne ptr %177, null
  br i1 %178, label %179, label %206

179:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.png_struct_def, ptr %180, i32 0, i32 65
  %182 = load i32, ptr %181, align 8, !tbaa !33
  %183 = sub nsw i32 8, %182
  %184 = shl i32 1, %183
  store i32 %184, ptr %17, align 4, !tbaa !34
  store i32 0, ptr %16, align 4, !tbaa !34
  br label %185

185:                                              ; preds = %198, %179
  %186 = load i32, ptr %16, align 4, !tbaa !34
  %187 = load i32, ptr %17, align 4, !tbaa !34
  %188 = icmp slt i32 %186, %187
  br i1 %188, label %189, label %201

189:                                              ; preds = %185
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.png_struct_def, ptr %191, i32 0, i32 73
  %193 = load ptr, ptr %192, align 8, !tbaa !39
  %194 = load i32, ptr %16, align 4, !tbaa !34
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds ptr, ptr %193, i64 %195
  %197 = load ptr, ptr %196, align 8, !tbaa !5
  call void @png_free(ptr noundef %190, ptr noundef %197)
  br label %198

198:                                              ; preds = %189
  %199 = load i32, ptr %16, align 4, !tbaa !34
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %16, align 4, !tbaa !34
  br label %185, !llvm.loop !40

201:                                              ; preds = %185
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.png_struct_def, ptr %203, i32 0, i32 73
  %205 = load ptr, ptr %204, align 8, !tbaa !39
  call void @png_free(ptr noundef %202, ptr noundef %205)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %206

206:                                              ; preds = %201, %174
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.png_struct_def, ptr %208, i32 0, i32 109
  %210 = load ptr, ptr %209, align 8, !tbaa !41
  call void @png_free(ptr noundef %207, ptr noundef %210)
  %211 = load ptr, ptr %4, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.png_struct_def, ptr %211, i32 0, i32 16
  %213 = call i32 @inflateEnd(ptr noundef %212)
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = load ptr, ptr %4, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.png_struct_def, ptr %215, i32 0, i32 84
  %217 = load ptr, ptr %216, align 8, !tbaa !42
  call void @png_free(ptr noundef %214, ptr noundef %217)
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.png_struct_def, ptr %219, i32 0, i32 97
  %221 = load ptr, ptr %220, align 8, !tbaa !43
  call void @png_free(ptr noundef %218, ptr noundef %221)
  %222 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %7, i64 0, i64 0
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.png_struct_def, ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %224, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %222, ptr align 8 %225, i64 200, i1 false)
  %226 = load ptr, ptr %4, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.png_struct_def, ptr %226, i32 0, i32 2
  %228 = load ptr, ptr %227, align 8, !tbaa !44
  store ptr %228, ptr %8, align 8, !tbaa !5
  %229 = load ptr, ptr %4, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.png_struct_def, ptr %229, i32 0, i32 3
  %231 = load ptr, ptr %230, align 8, !tbaa !45
  store ptr %231, ptr %9, align 8, !tbaa !5
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.png_struct_def, ptr %232, i32 0, i32 4
  %234 = load ptr, ptr %233, align 8, !tbaa !46
  store ptr %234, ptr %10, align 8, !tbaa !5
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.png_struct_def, ptr %235, i32 0, i32 124
  %237 = load ptr, ptr %236, align 8, !tbaa !47
  store ptr %237, ptr %11, align 8, !tbaa !5
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %238, i8 0, i64 1176, i1 false)
  %239 = load ptr, ptr %8, 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 2
  store ptr %239, ptr %241, align 8, !tbaa !44
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.png_struct_def, ptr %243, i32 0, i32 3
  store ptr %242, ptr %244, align 8, !tbaa !45
  %245 = load ptr, ptr %10, align 8, !tbaa !5
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.png_struct_def, ptr %246, i32 0, i32 4
  store ptr %245, ptr %247, align 8, !tbaa !46
  %248 = load ptr, ptr %11, align 8, !tbaa !5
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.png_struct_def, ptr %249, i32 0, i32 124
  store ptr %248, ptr %250, align 8, !tbaa !47
  %251 = load ptr, ptr %4, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.png_struct_def, ptr %251, i32 0, i32 0
  %253 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %252, i64 0, i64 0
  %254 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %7, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %253, ptr align 16 %254, i64 200, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr %7) #5
  ret void
}

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

declare i32 @inflateEnd(ptr noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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, !6, i64 408}
!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, !6, i64 272, !7, i64 280, !7, i64 281, !11, i64 284, !11, i64 288, !11, i64 292, !12, i64 296, !6, i64 408, !13, i64 416, !11, i64 424, !11, i64 428, !11, i64 432, !11, i64 436, !11, i64 440, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !13, i64 464, !13, i64 472, !11, i64 480, !11, i64 484, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !14, i64 536, !11, i64 560, !11, i64 564, !6, i64 568, !15, i64 576, !15, i64 578, !7, i64 580, !7, i64 585, !7, i64 586, !7, i64 587, !7, i64 588, !7, i64 589, !7, i64 590, !7, i64 591, !7, i64 592, !7, i64 593, !7, i64 594, !7, i64 595, !7, i64 596, !15, i64 598, !7, i64 600, !16, i64 604, !17, i64 608, !17, i64 618, !6, i64 632, !11, i64 640, !11, i64 644, !11, i64 648, !16, i64 652, !16, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !18, i64 712, !18, i64 717, !6, i64 728, !17, i64 736, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !11, i64 824, !11, i64 828, !13, i64 832, !13, i64 840, !13, i64 848, !13, i64 856, !11, i64 864, !11, i64 868, !13, i64 872, !13, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !7, i64 928, !7, i64 929, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !11, i64 984, !6, i64 992, !6, i64 1000, !11, i64 1008, !6, i64 1016, !7, i64 1024, !15, i64 1026, !15, i64 1028, !15, i64 1030, !11, i64 1032, !11, i64 1036, !7, i64 1040, !6, i64 1048, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !6, i64 1088, !6, i64 1096, !7, i64 1104, !11, i64 1108, !11, i64 1112, !11, i64 1116, !19, i64 1120, !11, i64 1152, !11, i64 1156, !6, i64 1160, !11, i64 1168}
!11 = !{!"int", !7, i64 0}
!12 = !{!"z_stream_s", !6, i64 0, !11, i64 8, !13, i64 16, !6, i64 24, !11, i64 32, !13, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !13, i64 96, !13, i64 104}
!13 = !{!"long", !7, i64 0}
!14 = !{!"png_row_info_struct", !11, i64 0, !13, 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, !13, i64 16, !7, i64 24}
!20 = !{!10, !6, i64 1072}
!21 = !{!10, !6, i64 488}
!22 = !{!10, !6, i64 1160}
!23 = !{!10, !6, i64 904}
!24 = !{!10, !6, i64 912}
!25 = !{!10, !6, i64 664}
!26 = !{!10, !6, i64 672}
!27 = !{!10, !6, i64 680}
!28 = !{!10, !11, i64 984}
!29 = !{!10, !6, i64 568}
!30 = !{!10, !6, i64 728}
!31 = !{!10, !6, i64 920}
!32 = !{!10, !6, i64 688}
!33 = !{!10, !11, i64 648}
!34 = !{!11, !11, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!10, !6, i64 696}
!38 = distinct !{!38, !36}
!39 = !{!10, !6, i64 704}
!40 = distinct !{!40, !36}
!41 = !{!10, !6, i64 976}
!42 = !{!10, !6, i64 800}
!43 = !{!10, !6, i64 888}
!44 = !{!10, !6, i64 208}
!45 = !{!10, !6, i64 216}
!46 = !{!10, !6, i64 224}
!47 = !{!10, !6, i64 1064}


; 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.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @png_read_destroy(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 {
  %.sroa.0 = alloca %struct.__jmp_buf_tag, align 16
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %.sroa.0)
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %5, label %4

4:                                                ; preds = %3
  tail call void @png_info_destroy(ptr noundef %0, ptr noundef nonnull %1) #6
  br label %5

5:                                                ; preds = %4, %3
  %.not91 = icmp eq ptr %2, null
  br i1 %.not91, label %7, label %6

6:                                                ; preds = %5
  tail call void @png_info_destroy(ptr noundef %0, ptr noundef nonnull %2) #6
  br label %7

7:                                                ; preds = %6, %5
  %8 = getelementptr inbounds i8, ptr %0, i64 408
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  tail call void @png_free(ptr noundef %0, ptr noundef %9) #6
  %10 = getelementptr inbounds i8, ptr %0, i64 1072
  %11 = load ptr, ptr %10, align 8, !tbaa !19
  tail call void @png_free(ptr noundef %0, ptr noundef %11) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 488
  %13 = load ptr, ptr %12, align 8, !tbaa !20
  tail call void @png_free(ptr noundef %0, ptr noundef %13) #6
  %14 = getelementptr inbounds i8, ptr %0, i64 1160
  %15 = load ptr, ptr %14, align 8, !tbaa !21
  tail call void @png_free(ptr noundef %0, ptr noundef %15) #6
  %16 = getelementptr inbounds i8, ptr %0, i64 904
  %17 = load ptr, ptr %16, align 8, !tbaa !22
  tail call void @png_free(ptr noundef %0, ptr noundef %17) #6
  %18 = getelementptr inbounds i8, ptr %0, i64 912
  %19 = load ptr, ptr %18, align 8, !tbaa !23
  tail call void @png_free(ptr noundef %0, ptr noundef %19) #6
  %20 = getelementptr inbounds i8, ptr %0, i64 664
  %21 = load ptr, ptr %20, align 8, !tbaa !24
  tail call void @png_free(ptr noundef %0, ptr noundef %21) #6
  %22 = getelementptr inbounds i8, ptr %0, i64 672
  %23 = load ptr, ptr %22, align 8, !tbaa !25
  tail call void @png_free(ptr noundef %0, ptr noundef %23) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 680
  %25 = load ptr, ptr %24, align 8, !tbaa !26
  tail call void @png_free(ptr noundef %0, ptr noundef %25) #6
  %26 = getelementptr inbounds i8, ptr %0, i64 984
  %27 = load i32, ptr %26, align 8, !tbaa !27
  %28 = and i32 %27, 4096
  %.not92 = icmp eq i32 %28, 0
  br i1 %.not92, label %32, label %29

29:                                               ; preds = %7
  %30 = getelementptr inbounds i8, ptr %0, i64 568
  %31 = load ptr, ptr %30, align 8, !tbaa !28
  tail call void @png_zfree(ptr noundef nonnull %0, ptr noundef %31) #6
  %.pre = load i32, ptr %26, align 8, !tbaa !27
  br label %32

32:                                               ; preds = %29, %7
  %33 = phi i32 [ %.pre, %29 ], [ %27, %7 ]
  %34 = and i32 %33, -4097
  store i32 %34, ptr %26, align 8, !tbaa !27
  %35 = and i32 %33, 8192
  %.not93 = icmp eq i32 %35, 0
  br i1 %.not93, label %39, label %36

36:                                               ; preds = %32
  %37 = getelementptr inbounds i8, ptr %0, i64 728
  %38 = load ptr, ptr %37, align 8, !tbaa !29
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %38) #6
  %.pre123 = load i32, ptr %26, align 8, !tbaa !27
  br label %39

39:                                               ; preds = %36, %32
  %40 = phi i32 [ %.pre123, %36 ], [ %34, %32 ]
  %41 = and i32 %40, -8193
  store i32 %41, ptr %26, align 8, !tbaa !27
  %42 = and i32 %40, 8
  %.not94 = icmp eq i32 %42, 0
  br i1 %.not94, label %46, label %43

43:                                               ; preds = %39
  %44 = getelementptr inbounds i8, ptr %0, i64 920
  %45 = load ptr, ptr %44, align 8, !tbaa !30
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %45) #6
  %.pre124 = load i32, ptr %26, align 8, !tbaa !27
  br label %46

46:                                               ; preds = %43, %39
  %47 = phi i32 [ %.pre124, %43 ], [ %41, %39 ]
  %48 = and i32 %47, -9
  store i32 %48, ptr %26, align 8, !tbaa !27
  %49 = getelementptr inbounds i8, ptr %0, i64 688
  %50 = load ptr, ptr %49, align 8, !tbaa !31
  %.not95 = icmp eq ptr %50, null
  br i1 %.not95, label %60, label %51

51:                                               ; preds = %46
  %52 = getelementptr inbounds i8, ptr %0, i64 648
  %53 = load i32, ptr %52, align 8, !tbaa !32
  %.not107 = icmp eq i32 %53, -23
  br i1 %.not107, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %51
  %54 = sub nsw i32 8, %53
  %55 = shl nuw i32 1, %54
  %smax = tail call i32 @llvm.smax.i32(i32 %55, i32 1)
  %wide.trip.count = zext nneg i32 %smax to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %56 = load ptr, ptr %49, align 8, !tbaa !31
  %57 = getelementptr inbounds ptr, ptr %56, i64 %indvars.iv
  %58 = load ptr, ptr %57, align 8, !tbaa !33
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %58) #6
  %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_edge.loopexit, label %.lr.ph, !llvm.loop !34

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre125 = load ptr, ptr %49, align 8, !tbaa !31
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %51
  %59 = phi ptr [ %.pre125, %._crit_edge.loopexit ], [ %50, %51 ]
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %59) #6
  br label %60

60:                                               ; preds = %._crit_edge, %46
  %61 = getelementptr inbounds i8, ptr %0, i64 696
  %62 = load ptr, ptr %61, align 8, !tbaa !36
  %.not96 = icmp eq ptr %62, null
  br i1 %.not96, label %72, label %63

63:                                               ; preds = %60
  %64 = getelementptr inbounds i8, ptr %0, i64 648
  %65 = load i32, ptr %64, align 8, !tbaa !32
  %.not108 = icmp eq i32 %65, -23
  br i1 %.not108, label %._crit_edge102, label %.lr.ph101.preheader

.lr.ph101.preheader:                              ; preds = %63
  %66 = sub nsw i32 8, %65
  %67 = shl nuw i32 1, %66
  %smax114 = tail call i32 @llvm.smax.i32(i32 %67, i32 1)
  %wide.trip.count115 = zext nneg i32 %smax114 to i64
  br label %.lr.ph101

.lr.ph101:                                        ; preds = %.lr.ph101.preheader, %.lr.ph101
  %indvars.iv111 = phi i64 [ 0, %.lr.ph101.preheader ], [ %indvars.iv.next112, %.lr.ph101 ]
  %68 = load ptr, ptr %61, align 8, !tbaa !36
  %69 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv111
  %70 = load ptr, ptr %69, align 8, !tbaa !33
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %70) #6
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %exitcond116.not = icmp eq i64 %indvars.iv.next112, %wide.trip.count115
  br i1 %exitcond116.not, label %._crit_edge102.loopexit, label %.lr.ph101, !llvm.loop !37

._crit_edge102.loopexit:                          ; preds = %.lr.ph101
  %.pre126 = load ptr, ptr %61, align 8, !tbaa !36
  br label %._crit_edge102

._crit_edge102:                                   ; preds = %._crit_edge102.loopexit, %63
  %71 = phi ptr [ %.pre126, %._crit_edge102.loopexit ], [ %62, %63 ]
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %71) #6
  br label %72

72:                                               ; preds = %._crit_edge102, %60
  %73 = getelementptr inbounds i8, ptr %0, i64 704
  %74 = load ptr, ptr %73, align 8, !tbaa !38
  %.not97 = icmp eq ptr %74, null
  br i1 %.not97, label %84, label %75

75:                                               ; preds = %72
  %76 = getelementptr inbounds i8, ptr %0, i64 648
  %77 = load i32, ptr %76, align 8, !tbaa !32
  %.not109 = icmp eq i32 %77, -23
  br i1 %.not109, label %._crit_edge106, label %.lr.ph105.preheader

.lr.ph105.preheader:                              ; preds = %75
  %78 = sub nsw i32 8, %77
  %79 = shl nuw i32 1, %78
  %smax120 = tail call i32 @llvm.smax.i32(i32 %79, i32 1)
  %wide.trip.count121 = zext nneg i32 %smax120 to i64
  br label %.lr.ph105

.lr.ph105:                                        ; preds = %.lr.ph105.preheader, %.lr.ph105
  %indvars.iv117 = phi i64 [ 0, %.lr.ph105.preheader ], [ %indvars.iv.next118, %.lr.ph105 ]
  %80 = load ptr, ptr %73, align 8, !tbaa !38
  %81 = getelementptr inbounds ptr, ptr %80, i64 %indvars.iv117
  %82 = load ptr, ptr %81, align 8, !tbaa !33
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %82) #6
  %indvars.iv.next118 = add nuw nsw i64 %indvars.iv117, 1
  %exitcond122.not = icmp eq i64 %indvars.iv.next118, %wide.trip.count121
  br i1 %exitcond122.not, label %._crit_edge106.loopexit, label %.lr.ph105, !llvm.loop !39

._crit_edge106.loopexit:                          ; preds = %.lr.ph105
  %.pre127 = load ptr, ptr %73, align 8, !tbaa !38
  br label %._crit_edge106

._crit_edge106:                                   ; preds = %._crit_edge106.loopexit, %75
  %83 = phi ptr [ %.pre127, %._crit_edge106.loopexit ], [ %74, %75 ]
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %83) #6
  br label %84

84:                                               ; preds = %._crit_edge106, %72
  %85 = getelementptr inbounds i8, ptr %0, i64 976
  %86 = load ptr, ptr %85, align 8, !tbaa !40
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %86) #6
  %87 = getelementptr inbounds i8, ptr %0, i64 296
  %88 = tail call i32 @inflateEnd(ptr noundef nonnull %87) #6
  %89 = getelementptr inbounds i8, ptr %0, i64 800
  %90 = load ptr, ptr %89, align 8, !tbaa !41
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %90) #6
  %91 = getelementptr inbounds i8, ptr %0, i64 888
  %92 = load ptr, ptr %91, align 8, !tbaa !42
  tail call void @png_free(ptr noundef nonnull %0, ptr noundef %92) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(200) %.sroa.0, ptr noundef nonnull align 8 dereferenceable(200) %0, i64 200, i1 false)
  %93 = getelementptr inbounds i8, ptr %0, i64 208
  %94 = getelementptr inbounds i8, ptr %0, i64 224
  %95 = load ptr, ptr %94, align 8, !tbaa !43
  %96 = getelementptr inbounds i8, ptr %0, i64 1064
  %97 = load ptr, ptr %96, align 8, !tbaa !44
  %98 = getelementptr inbounds i8, ptr %0, i64 200
  %99 = load <2 x ptr>, ptr %93, align 8, !tbaa !33
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1176) %98, i8 0, i64 976, i1 false)
  store <2 x ptr> %99, ptr %93, align 8, !tbaa !33
  store ptr %95, ptr %94, align 8, !tbaa !43
  store ptr %97, ptr %96, align 8, !tbaa !44
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 16 dereferenceable(200) %.sroa.0, i64 200, i1 false)
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %.sroa.0)
  ret void
}

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

declare i32 @inflateEnd(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !9, i64 408}
!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, !9, i64 272, !7, i64 280, !7, i64 281, !10, i64 284, !10, i64 288, !10, i64 292, !11, i64 296, !9, i64 408, !12, i64 416, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !12, i64 464, !12, i64 472, !10, i64 480, !10, i64 484, !9, i64 488, !9, i64 496, !9, i64 504, !9, i64 512, !9, i64 520, !9, i64 528, !13, i64 536, !10, i64 560, !10, i64 564, !9, i64 568, !14, i64 576, !14, i64 578, !7, i64 580, !7, i64 585, !7, i64 586, !7, i64 587, !7, i64 588, !7, i64 589, !7, i64 590, !7, i64 591, !7, i64 592, !7, i64 593, !7, i64 594, !7, i64 595, !7, i64 596, !14, i64 598, !7, i64 600, !15, i64 604, !16, i64 608, !16, i64 618, !9, i64 632, !10, i64 640, !10, i64 644, !10, i64 648, !15, i64 652, !15, i64 656, !9, i64 664, !9, i64 672, !9, i64 680, !9, i64 688, !9, i64 696, !9, i64 704, !17, i64 712, !17, i64 717, !9, i64 728, !16, i64 736, !9, i64 752, !9, i64 760, !9, i64 768, !9, i64 776, !9, i64 784, !9, i64 792, !9, i64 800, !9, i64 808, !9, i64 816, !10, i64 824, !10, i64 828, !12, i64 832, !12, i64 840, !12, i64 848, !12, i64 856, !10, i64 864, !10, i64 868, !12, i64 872, !12, i64 880, !9, i64 888, !9, i64 896, !9, i64 904, !9, i64 912, !9, i64 920, !7, i64 928, !7, i64 929, !9, i64 936, !9, i64 944, !9, i64 952, !9, i64 960, !9, i64 968, !9, i64 976, !10, i64 984, !9, i64 992, !9, i64 1000, !10, i64 1008, !9, i64 1016, !7, i64 1024, !14, i64 1026, !14, i64 1028, !14, i64 1030, !10, i64 1032, !10, i64 1036, !7, i64 1040, !9, i64 1048, !9, i64 1056, !9, i64 1064, !9, i64 1072, !9, i64 1080, !9, i64 1088, !9, i64 1096, !7, i64 1104, !10, i64 1108, !10, i64 1112, !10, i64 1116, !18, i64 1120, !10, i64 1152, !10, i64 1156, !9, i64 1160, !10, i64 1168}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!"z_stream_s", !9, i64 0, !10, i64 8, !12, i64 16, !9, i64 24, !10, i64 32, !12, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !10, i64 88, !12, i64 96, !12, i64 104}
!12 = !{!"long", !7, i64 0}
!13 = !{!"png_row_info_struct", !10, i64 0, !12, 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, !12, i64 16, !7, i64 24}
!19 = !{!6, !9, i64 1072}
!20 = !{!6, !9, i64 488}
!21 = !{!6, !9, i64 1160}
!22 = !{!6, !9, i64 904}
!23 = !{!6, !9, i64 912}
!24 = !{!6, !9, i64 664}
!25 = !{!6, !9, i64 672}
!26 = !{!6, !9, i64 680}
!27 = !{!6, !10, i64 984}
!28 = !{!6, !9, i64 568}
!29 = !{!6, !9, i64 728}
!30 = !{!6, !9, i64 920}
!31 = !{!6, !9, i64 688}
!32 = !{!6, !10, i64 648}
!33 = !{!9, !9, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!6, !9, i64 696}
!37 = distinct !{!37, !35}
!38 = !{!6, !9, i64 704}
!39 = distinct !{!39, !35}
!40 = !{!6, !9, i64 976}
!41 = !{!6, !9, i64 800}
!42 = !{!6, !9, i64 888}
!43 = !{!6, !9, i64 224}
!44 = !{!6, !9, i64 1064}


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