; LLVM IR from rdguez-mariano/fast_imas_IPOL :: io_png/libs/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.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 }

@png_libpng_ver = external constant [18 x i8], align 16
@.str = external hidden unnamed_addr constant [54 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @png_create_read_struct_2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca [80 x i8], align 16
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %20 = load ptr, ptr %14, align 8, !tbaa !5
  %21 = load ptr, ptr %13, align 8, !tbaa !5
  %22 = call ptr @png_create_struct_2(i32 noundef 1, ptr noundef %20, ptr noundef %21)
  store volatile ptr %22, ptr %16, align 8, !tbaa !5
  %23 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %7
  store ptr null, ptr %8, align 8
  store i32 1, ptr %18, align 4
  br label %203

26:                                               ; preds = %7
  %27 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.png_struct_def, ptr %27, i32 0, i32 132
  store i64 1000000, ptr %28, align 8, !tbaa !9
  %29 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.png_struct_def, ptr %29, i32 0, i32 133
  store i64 1000000, ptr %30, align 8, !tbaa !20
  %31 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.png_struct_def, ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %32, i64 0, i64 0
  %34 = call i32 @_setjmp(ptr noundef %33) #7
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %46

36:                                               ; preds = %26
  %37 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %38 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.png_struct_def, ptr %38, i32 0, i32 16
  %40 = load ptr, ptr %39, align 8, !tbaa !21
  call void @png_free(ptr noundef %37, ptr noundef %40)
  %41 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.png_struct_def, ptr %41, i32 0, i32 16
  store ptr null, ptr %42, align 8, !tbaa !21
  %43 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %44 = load ptr, ptr %15, align 8, !tbaa !5
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  call void @png_destroy_struct_2(ptr noundef %43, ptr noundef %44, ptr noundef %45)
  store ptr null, ptr %8, align 8
  store i32 1, ptr %18, align 4
  br label %203

46:                                               ; preds = %26
  %47 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  %50 = load ptr, ptr %15, align 8, !tbaa !5
  call void @png_set_mem_fn(ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50)
  %51 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  call void @png_set_error_fn(ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54)
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %85

57:                                               ; preds = %46
  store i32 0, ptr %17, align 4, !tbaa !22
  br label %58

58:                                               ; preds = %77, %57
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = load i32, ptr %17, align 4, !tbaa !22
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds i8, ptr %59, i64 %61
  %63 = load i8, ptr %62, align 1, !tbaa !23
  %64 = sext i8 %63 to i32
  %65 = load i32, ptr %17, align 4, !tbaa !22
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [18 x i8], ptr @png_libpng_ver, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !23
  %69 = sext i8 %68 to i32
  %70 = icmp ne i32 %64, %69
  br i1 %70, label %71, label %76

71:                                               ; preds = %58
  %72 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.png_struct_def, ptr %72, i32 0, i32 13
  %74 = load i64, ptr %73, align 8, !tbaa !24
  %75 = or i64 %74, 131072
  store i64 %75, ptr %73, align 8, !tbaa !24
  br label %76

76:                                               ; preds = %71, %58
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %17, align 4, !tbaa !22
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %17, align 4, !tbaa !22
  %80 = sext i32 %78 to i64
  %81 = getelementptr inbounds [18 x i8], ptr @png_libpng_ver, i64 0, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !23
  %83 = icmp ne i8 %82, 0
  br i1 %83, label %58, label %84, !llvm.loop !25

84:                                               ; preds = %77
  br label %90

85:                                               ; preds = %46
  %86 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.png_struct_def, ptr %86, i32 0, i32 13
  %88 = load i64, ptr %87, align 8, !tbaa !24
  %89 = or i64 %88, 131072
  store i64 %89, ptr %87, align 8, !tbaa !24
  br label %90

90:                                               ; preds = %85, %84
  %91 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.png_struct_def, ptr %91, i32 0, i32 13
  %93 = load i64, ptr %92, align 8, !tbaa !24
  %94 = and i64 %93, 131072
  %95 = icmp ne i64 %94, 0
  br i1 %95, label %96, label %151

96:                                               ; preds = %90
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = icmp eq ptr %97, null
  br i1 %98, label %133, label %99

99:                                               ; preds = %96
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 0
  %102 = load i8, ptr %101, align 1, !tbaa !23
  %103 = sext i8 %102 to i32
  %104 = load i8, ptr @png_libpng_ver, align 16, !tbaa !23
  %105 = sext i8 %104 to i32
  %106 = icmp ne i32 %103, %105
  br i1 %106, label %133, label %107

107:                                              ; preds = %99
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 0
  %110 = load i8, ptr %109, align 1, !tbaa !23
  %111 = sext i8 %110 to i32
  %112 = icmp eq i32 %111, 49
  br i1 %112, label %113, label %121

113:                                              ; preds = %107
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %114, i64 2
  %116 = load i8, ptr %115, align 1, !tbaa !23
  %117 = sext i8 %116 to i32
  %118 = load i8, ptr getelementptr inbounds ([18 x i8], ptr @png_libpng_ver, i64 0, i64 2), align 2, !tbaa !23
  %119 = sext i8 %118 to i32
  %120 = icmp ne i32 %117, %119
  br i1 %120, label %133, label %121

121:                                              ; preds = %113, %107
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 0
  %124 = load i8, ptr %123, align 1, !tbaa !23
  %125 = sext i8 %124 to i32
  %126 = icmp eq i32 %125, 48
  br i1 %126, label %127, label %150

127:                                              ; preds = %121
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 2
  %130 = load i8, ptr %129, align 1, !tbaa !23
  %131 = sext i8 %130 to i32
  %132 = icmp slt i32 %131, 57
  br i1 %132, label %133, label %150

133:                                              ; preds = %127, %113, %99, %96
  call void @llvm.lifetime.start.p0(i64 80, ptr %19) #6
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = icmp ne ptr %134, null
  br i1 %135, label %136, label %142

136:                                              ; preds = %133
  %137 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %137, i64 noundef 80, ptr noundef @.str, ptr noundef %138) #6
  %140 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %141 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
  call void @png_warning(ptr noundef %140, ptr noundef %141)
  br label %142

142:                                              ; preds = %136, %133
  %143 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
  %144 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %143, i64 noundef 80, ptr noundef @.str.1, ptr noundef @png_libpng_ver) #6
  %145 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %146 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
  call void @png_warning(ptr noundef %145, ptr noundef %146)
  %147 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.png_struct_def, ptr %147, i32 0, i32 13
  store i64 0, ptr %148, align 8, !tbaa !24
  %149 = load volatile ptr, ptr %16, align 8, !tbaa !5
  call void @png_error(ptr noundef %149, ptr noundef @.str.2)
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #6
  br label %150

150:                                              ; preds = %142, %127, %121
  br label %151

151:                                              ; preds = %150, %90
  %152 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.png_struct_def, ptr %152, i32 0, i32 17
  store i64 8192, ptr %153, align 8, !tbaa !27
  %154 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %155 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.png_struct_def, ptr %155, i32 0, i32 17
  %157 = load i64, ptr %156, align 8, !tbaa !27
  %158 = call ptr @png_malloc(ptr noundef %154, i64 noundef %157)
  %159 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.png_struct_def, ptr %159, i32 0, i32 16
  store ptr %158, ptr %160, align 8, !tbaa !21
  %161 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.png_struct_def, ptr %161, i32 0, i32 15
  %163 = getelementptr inbounds %struct.z_stream_s, ptr %162, i32 0, i32 8
  store ptr @png_zalloc, ptr %163, align 8, !tbaa !28
  %164 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.png_struct_def, ptr %164, i32 0, i32 15
  %166 = getelementptr inbounds %struct.z_stream_s, ptr %165, i32 0, i32 9
  store ptr @png_zfree, ptr %166, align 8, !tbaa !29
  %167 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %168 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.png_struct_def, ptr %168, i32 0, i32 15
  %170 = getelementptr inbounds %struct.z_stream_s, ptr %169, i32 0, i32 10
  store ptr %167, ptr %170, align 8, !tbaa !30
  %171 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.png_struct_def, ptr %171, i32 0, i32 15
  %173 = call i32 @inflateInit_(ptr noundef %172, ptr noundef @.str.3, i32 noundef 112)
  switch i32 %173, label %178 [
    i32 0, label %180
    i32 -4, label %174
    i32 -2, label %174
    i32 -6, label %176
  ]

174:                                              ; preds = %151, %151
  %175 = load volatile ptr, ptr %16, align 8, !tbaa !5
  call void @png_error(ptr noundef %175, ptr noundef @.str.4)
  br label %180

176:                                              ; preds = %151
  %177 = load volatile ptr, ptr %16, align 8, !tbaa !5
  call void @png_error(ptr noundef %177, ptr noundef @.str.5)
  br label %180

178:                                              ; preds = %151
  %179 = load volatile ptr, ptr %16, align 8, !tbaa !5
  call void @png_error(ptr noundef %179, ptr noundef @.str.6)
  br label %180

180:                                              ; preds = %178, %176, %174, %151
  %181 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.png_struct_def, ptr %181, i32 0, i32 16
  %183 = load ptr, ptr %182, align 8, !tbaa !21
  %184 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.png_struct_def, ptr %184, i32 0, i32 15
  %186 = getelementptr inbounds %struct.z_stream_s, ptr %185, i32 0, i32 3
  store ptr %183, ptr %186, align 8, !tbaa !31
  %187 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.png_struct_def, ptr %187, i32 0, i32 17
  %189 = load i64, ptr %188, align 8, !tbaa !27
  %190 = trunc i64 %189 to i32
  %191 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.png_struct_def, ptr %191, i32 0, i32 15
  %193 = getelementptr inbounds %struct.z_stream_s, ptr %192, i32 0, i32 4
  store i32 %190, ptr %193, align 8, !tbaa !32
  %194 = load volatile ptr, ptr %16, align 8, !tbaa !5
  call void @png_set_read_fn(ptr noundef %194, ptr noundef null, ptr noundef null)
  %195 = load volatile ptr, ptr %16, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.png_struct_def, ptr %195, i32 0, i32 0
  %197 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %196, i64 0, i64 0
  %198 = call i32 @_setjmp(ptr noundef %197) #7
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %201

200:                                              ; preds = %180
  call void @abort() #8
  unreachable

201:                                              ; preds = %180
  %202 = load volatile ptr, ptr %16, align 8, !tbaa !5
  store ptr %202, ptr %8, align 8
  store i32 1, ptr %18, align 4
  br label %203

203:                                              ; preds = %201, %36, %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %204 = load ptr, ptr %8, align 8
  ret ptr %204
}

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

declare ptr @png_create_struct_2(i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) #3

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

declare void @png_destroy_struct_2(ptr noundef, ptr noundef, ptr noundef) #2

declare void @png_set_mem_fn(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @png_set_error_fn(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #4

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

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

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

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

declare ptr @png_zalloc(ptr noundef, i32 noundef, i32 noundef) #2

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

declare i32 @inflateInit_(ptr noundef, ptr noundef, i32 noundef) #2

declare void @png_set_read_fn(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @abort() #5

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 returns_twice "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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "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 #6 = { nounwind }
attributes #7 = { nounwind returns_twice }
attributes #8 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 1192}
!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 1200}
!21 = !{!10, !6, i64 416}
!22 = !{!13, !13, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{!10, !11, i64 288}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!10, !11, i64 424}
!28 = !{!10, !6, i64 368}
!29 = !{!10, !6, i64 376}
!30 = !{!10, !6, i64 384}
!31 = !{!10, !6, i64 328}
!32 = !{!10, !13, i64 336}


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

@png_libpng_ver = external constant [18 x i8], align 16
@.str = external hidden unnamed_addr constant [54 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @png_create_read_struct_2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
  %8 = alloca ptr, align 8
  %9 = alloca [80 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8)
  %10 = call ptr @png_create_struct_2(i32 noundef 1, ptr noundef %5, ptr noundef %4) #6
  store volatile ptr %10, ptr %8, align 8, !tbaa !5
  %.0..0..0..0. = load volatile ptr, ptr %8, align 8, !tbaa !5
  %11 = icmp eq ptr %.0..0..0..0., null
  br i1 %11, label %81, label %12

12:                                               ; preds = %7
  %.0..0..0..0.3 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %.0..0..0..0.3, i64 1192
  store i64 1000000, ptr %13, align 8, !tbaa !9
  %.0..0..0..0.4 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %.0..0..0..0.4, i64 1200
  store i64 1000000, ptr %14, align 8, !tbaa !20
  %.0..0..0..0.5 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %15 = call i32 @_setjmp(ptr noundef %.0..0..0..0.5) #7
  %.not = icmp eq i32 %15, 0
  %.0..0..0..0.10 = load volatile ptr, ptr %8, align 8, !tbaa !5
  br i1 %.not, label %20, label %16

16:                                               ; preds = %12
  %.0..0..0..0.7 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %.0..0..0..0.7, i64 416
  %18 = load ptr, ptr %17, align 8, !tbaa !21
  call void @png_free(ptr noundef %.0..0..0..0.10, ptr noundef %18) #6
  %.0..0..0..0.8 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %.0..0..0..0.8, i64 416
  store ptr null, ptr %19, align 8, !tbaa !21
  %.0..0..0..0.9 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_destroy_struct_2(ptr noundef %.0..0..0..0.9, ptr noundef %6, ptr noundef %4) #6
  br label %81

20:                                               ; preds = %12
  call void @png_set_mem_fn(ptr noundef %.0..0..0..0.10, ptr noundef %4, ptr noundef %5, ptr noundef %6) #6
  %.0..0..0..0.11 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_set_error_fn(ptr noundef %.0..0..0..0.11, ptr noundef %1, ptr noundef %2, ptr noundef %3) #6
  %.not62 = icmp eq ptr %0, null
  br i1 %.not62, label %.thread, label %.preheader

.preheader:                                       ; preds = %20, %29
  %indvars.iv = phi i64 [ %indvars.iv.next, %29 ], [ 0, %20 ]
  %21 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv
  %22 = load i8, ptr %21, align 1, !tbaa !22
  %23 = getelementptr inbounds [18 x i8], ptr @png_libpng_ver, i64 0, i64 %indvars.iv
  %24 = load i8, ptr %23, align 1, !tbaa !22
  %.not63 = icmp eq i8 %22, %24
  br i1 %.not63, label %29, label %25

25:                                               ; preds = %.preheader
  %.0..0..0..0.12 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %.0..0..0..0.12, i64 288
  %27 = load i64, ptr %26, align 8, !tbaa !23
  %28 = or i64 %27, 131072
  store i64 %28, ptr %26, align 8, !tbaa !23
  br label %29

29:                                               ; preds = %.preheader, %25
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not64 = icmp eq i8 %24, 0
  br i1 %.not64, label %30, label %.preheader, !llvm.loop !24

30:                                               ; preds = %29
  %.0..0..0..0.14 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %.0..0..0..0.14, i64 288
  %32 = load i64, ptr %31, align 8, !tbaa !23
  %33 = and i64 %32, 131072
  %.not65 = icmp eq i64 %33, 0
  br i1 %.not65, label %.thread72, label %40

.thread:                                          ; preds = %20
  %.0..0..0..0.13 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %.0..0..0..0.13, i64 288
  %35 = load i64, ptr %34, align 8, !tbaa !23
  %36 = or i64 %35, 131072
  store i64 %36, ptr %34, align 8, !tbaa !23
  %.0..0..0..0.1469 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %.0..0..0..0.1469, i64 288
  %38 = load i64, ptr %37, align 8, !tbaa !23
  %39 = and i64 %38, 131072
  %.not6570 = icmp eq i64 %39, 0
  br i1 %.not6570, label %.thread72, label %.thread71

40:                                               ; preds = %30
  %41 = load i8, ptr %0, align 1, !tbaa !22
  %42 = load i8, ptr @png_libpng_ver, align 16, !tbaa !22
  %.not66 = icmp eq i8 %41, %42
  br i1 %.not66, label %43, label %52

43:                                               ; preds = %40
  switch i8 %41, label %.thread72 [
    i8 49, label %44
    i8 48, label %48
  ]

44:                                               ; preds = %43
  %45 = getelementptr inbounds i8, ptr %0, i64 2
  %46 = load i8, ptr %45, align 1, !tbaa !22
  %47 = load i8, ptr getelementptr inbounds (i8, ptr @png_libpng_ver, i64 2), align 2, !tbaa !22
  %.not67 = icmp eq i8 %46, %47
  br i1 %.not67, label %.thread72, label %52

48:                                               ; preds = %43
  %49 = getelementptr inbounds i8, ptr %0, i64 2
  %50 = load i8, ptr %49, align 1, !tbaa !22
  %51 = icmp slt i8 %50, 57
  br i1 %51, label %52, label %.thread72

.thread71:                                        ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #6
  br label %54

52:                                               ; preds = %48, %44, %40
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #6
  %53 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 80, ptr noundef nonnull @.str, ptr noundef nonnull %0) #6
  %.0..0..0..0.15 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_warning(ptr noundef %.0..0..0..0.15, ptr noundef nonnull %9) #6
  br label %54

54:                                               ; preds = %.thread71, %52
  %55 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 80, ptr noundef nonnull @.str.1, ptr noundef nonnull @png_libpng_ver) #6
  %.0..0..0..0.16 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_warning(ptr noundef %.0..0..0..0.16, ptr noundef nonnull %9) #6
  %.0..0..0..0.17 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %.0..0..0..0.17, i64 288
  store i64 0, ptr %56, align 8, !tbaa !23
  %.0..0..0..0.18 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_error(ptr noundef %.0..0..0..0.18, ptr noundef nonnull @.str.2) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %9) #6
  br label %.thread72

.thread72:                                        ; preds = %43, %44, %.thread, %48, %54, %30
  %.0..0..0..0.19 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %.0..0..0..0.19, i64 424
  store i64 8192, ptr %57, align 8, !tbaa !26
  %.0..0..0..0.20 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %.0..0..0..0.21 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %.0..0..0..0.21, i64 424
  %59 = load i64, ptr %58, align 8, !tbaa !26
  %60 = call ptr @png_malloc(ptr noundef %.0..0..0..0.20, i64 noundef %59) #6
  %.0..0..0..0.22 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %.0..0..0..0.22, i64 416
  store ptr %60, ptr %61, align 8, !tbaa !21
  %.0..0..0..0.23 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %.0..0..0..0.23, i64 368
  store ptr @png_zalloc, ptr %62, align 8, !tbaa !27
  %.0..0..0..0.24 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %.0..0..0..0.24, i64 376
  store ptr @png_zfree, ptr %63, align 8, !tbaa !28
  %.0..0..0..0.25 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %.0..0..0..0.26 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %.0..0..0..0.26, i64 384
  store ptr %.0..0..0..0.25, ptr %64, align 8, !tbaa !29
  %.0..0..0..0.27 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %.0..0..0..0.27, i64 304
  %66 = call i32 @inflateInit_(ptr noundef nonnull %65, ptr noundef nonnull @.str.3, i32 noundef 112) #6
  switch i32 %66, label %69 [
    i32 0, label %70
    i32 -4, label %67
    i32 -2, label %67
    i32 -6, label %68
  ]

67:                                               ; preds = %.thread72, %.thread72
  %.0..0..0..0.28 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_error(ptr noundef %.0..0..0..0.28, ptr noundef nonnull @.str.4) #6
  br label %70

68:                                               ; preds = %.thread72
  %.0..0..0..0.29 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_error(ptr noundef %.0..0..0..0.29, ptr noundef nonnull @.str.5) #6
  br label %70

69:                                               ; preds = %.thread72
  %.0..0..0..0.30 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_error(ptr noundef %.0..0..0..0.30, ptr noundef nonnull @.str.6) #6
  br label %70

70:                                               ; preds = %69, %68, %67, %.thread72
  %.0..0..0..0.31 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %.0..0..0..0.31, i64 416
  %72 = load ptr, ptr %71, align 8, !tbaa !21
  %.0..0..0..0.32 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %.0..0..0..0.32, i64 328
  store ptr %72, ptr %73, align 8, !tbaa !30
  %.0..0..0..0.33 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %.0..0..0..0.33, i64 424
  %75 = load i64, ptr %74, align 8, !tbaa !26
  %76 = trunc i64 %75 to i32
  %.0..0..0..0.34 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %.0..0..0..0.34, i64 336
  store i32 %76, ptr %77, align 8, !tbaa !31
  %.0..0..0..0.35 = load volatile ptr, ptr %8, align 8, !tbaa !5
  call void @png_set_read_fn(ptr noundef %.0..0..0..0.35, ptr noundef null, ptr noundef null) #6
  %.0..0..0..0.36 = load volatile ptr, ptr %8, align 8, !tbaa !5
  %78 = call i32 @_setjmp(ptr noundef %.0..0..0..0.36) #7
  %.not68 = icmp eq i32 %78, 0
  br i1 %.not68, label %80, label %79

79:                                               ; preds = %70
  call void @abort() #8
  unreachable

80:                                               ; preds = %70
  %.0..0..0..0.37 = load volatile ptr, ptr %8, align 8, !tbaa !5
  br label %81

81:                                               ; preds = %7, %80, %16
  %.059 = phi ptr [ null, %16 ], [ %.0..0..0..0.37, %80 ], [ null, %7 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8)
  ret ptr %.059
}

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

declare ptr @png_create_struct_2(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) local_unnamed_addr #3

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

declare void @png_destroy_struct_2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @png_set_mem_fn(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @png_set_error_fn(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

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

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

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

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

declare ptr @png_zalloc(ptr noundef, i32 noundef, i32 noundef) #2

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

declare i32 @inflateInit_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @png_set_read_fn(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #5

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 returns_twice "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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "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 #6 = { nounwind }
attributes #7 = { nounwind returns_twice }
attributes #8 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 1192}
!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 1200}
!21 = !{!10, !6, i64 416}
!22 = !{!7, !7, i64 0}
!23 = !{!10, !11, i64 288}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!10, !11, i64 424}
!27 = !{!10, !6, i64 368}
!28 = !{!10, !6, i64 376}
!29 = !{!10, !6, i64 384}
!30 = !{!10, !6, i64 328}
!31 = !{!10, !13, i64 336}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass