; LLVM IR from Try/Tempest :: Engine/thirdparty/libpng (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_image = type { ptr, i32, i32, i32, i32, i32, i32, i32, [64 x i8] }
%struct.png_control = type { ptr, ptr, ptr, ptr, i64, i8 }
%struct.png_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i32, i32, i32, i32, %struct.z_stream_s, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, ptr, ptr, ptr, ptr, i64, i32, i32, ptr, i16, i32, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, i32, %struct.png_color_16_struct, %struct.png_color_16_struct, ptr, i32, i32, i32, i32, 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, ptr, ptr, i32, [29 x i8], i32, ptr, ptr, i32, i32, ptr, i8, i8, i16, i16, i32, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i32, i32, i64, %struct.png_unknown_chunk_t, i64, ptr, i64, i32, i32, ptr, [4 x ptr], %struct.png_colorspace }
%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_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_colorspace = type { i32, %struct.png_xy, %struct.png_XYZ, i16, i16 }
%struct.png_xy = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.png_XYZ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [60 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

; 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 hidden i32 @png_image_read_init(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_header(ptr noundef) #1

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

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

10:                                               ; preds = %2
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.png_image, ptr %11, i32 0, i32 1
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = icmp eq i32 %13, 1
  br i1 %14, label %15, label %62

15:                                               ; preds = %10
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %58

18:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = call noalias ptr @fopen(ptr noundef %19, ptr noundef @.str.16)
  store ptr %20, ptr %6, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %48

23:                                               ; preds = %18
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = call i32 @png_image_read_init(ptr noundef %24)
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %45

27:                                               ; preds = %23
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.png_image, ptr %29, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8, !tbaa !12
  %32 = getelementptr inbounds %struct.png_control, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  %34 = getelementptr inbounds %struct.png_struct_def, ptr %33, i32 0, i32 9
  store ptr %28, ptr %34, align 8, !tbaa !16
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.png_image, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !12
  %38 = getelementptr inbounds %struct.png_control, ptr %37, i32 0, i32 5
  %39 = load i8, ptr %38, align 8
  %40 = and i8 %39, -3
  %41 = or i8 %40, 2
  store i8 %41, ptr %38, align 8
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = call i32 @png_safe_execute(ptr noundef %42, ptr noundef @png_image_read_header, ptr noundef %43)
  store i32 %44, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %55

45:                                               ; preds = %23
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = call i32 @fclose(ptr noundef %46)
  br label %54

48:                                               ; preds = %18
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = call ptr @__errno_location() #6
  %51 = load i32, ptr %50, align 4, !tbaa !26
  %52 = call ptr @strerror(i32 noundef %51) #5
  %53 = call i32 @png_image_error(ptr noundef %49, ptr noundef %52)
  store i32 %53, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %55

54:                                               ; preds = %45
  store i32 0, ptr %7, align 4
  br label %55

55:                                               ; preds = %54, %48, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %56 = load i32, ptr %7, align 4
  switch i32 %56, label %72 [
    i32 0, label %57
    i32 1, label %70
  ]

57:                                               ; preds = %55
  br label %61

58:                                               ; preds = %15
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = call i32 @png_image_error(ptr noundef %59, ptr noundef @.str.17)
  store i32 %60, ptr %3, align 4
  br label %70

61:                                               ; preds = %57
  br label %69

62:                                               ; preds = %10, %2
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %68

65:                                               ; preds = %62
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = call i32 @png_image_error(ptr noundef %66, ptr noundef @.str.18)
  store i32 %67, ptr %3, align 4
  br label %70

68:                                               ; preds = %62
  br label %69

69:                                               ; preds = %68, %61
  store i32 0, ptr %3, align 4
  br label %70

70:                                               ; preds = %69, %65, %58, %55
  %71 = load i32, ptr %3, align 4
  ret i32 %71

72:                                               ; preds = %55
  unreachable
}

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

declare i32 @fclose(ptr noundef) #2

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

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #4

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

!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 8}
!10 = !{!"", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !7, i64 36}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"png_control", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !15, i64 32, !11, i64 40, !11, i64 40}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !6, i64 264}
!17 = !{!"png_struct_def", !7, i64 0, !6, i64 200, !6, i64 208, !15, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !7, i64 296, !7, i64 297, !11, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !18, i64 320, !6, i64 432, !11, i64 440, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !11, i64 488, !11, i64 492, !11, i64 496, !11, i64 500, !11, i64 504, !11, i64 508, !11, i64 512, !11, i64 516, !15, i64 520, !11, i64 528, !11, i64 532, !11, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !15, i64 576, !11, i64 584, !11, i64 588, !6, i64 592, !19, i64 600, !11, i64 604, !19, i64 608, !7, i64 610, !7, i64 611, !7, i64 612, !7, i64 613, !7, i64 614, !7, i64 615, !7, i64 616, !7, i64 617, !7, i64 618, !7, i64 619, !7, i64 620, !7, i64 621, !7, i64 622, !7, i64 623, !7, i64 624, !19, i64 626, !7, i64 628, !11, i64 632, !20, i64 636, !20, i64 646, !6, i64 656, !11, i64 664, !11, i64 668, !11, i64 672, !11, i64 676, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !6, i64 712, !6, i64 720, !21, i64 728, !21, i64 733, !6, i64 744, !20, i64 752, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !11, i64 840, !11, i64 844, !15, i64 848, !15, i64 856, !15, i64 864, !15, i64 872, !11, i64 880, !11, i64 884, !6, i64 888, !6, i64 896, !11, i64 904, !7, i64 908, !11, i64 940, !6, i64 944, !6, i64 952, !11, i64 960, !11, i64 964, !6, i64 968, !7, i64 976, !7, i64 977, !19, i64 978, !19, i64 980, !11, i64 984, !7, i64 988, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !7, i64 1048, !11, i64 1052, !11, i64 1056, !11, i64 1060, !15, i64 1064, !22, i64 1072, !15, i64 1104, !6, i64 1112, !15, i64 1120, !11, i64 1128, !11, i64 1132, !6, i64 1136, !7, i64 1144, !23, i64 1176}
!18 = !{!"z_stream_s", !6, i64 0, !11, i64 8, !15, i64 16, !6, i64 24, !11, i64 32, !15, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !15, i64 96, !15, i64 104}
!19 = !{!"short", !7, i64 0}
!20 = !{!"png_color_16_struct", !7, i64 0, !19, i64 2, !19, i64 4, !19, i64 6, !19, i64 8}
!21 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!22 = !{!"png_unknown_chunk_t", !7, i64 0, !6, i64 8, !15, i64 16, !7, i64 24}
!23 = !{!"png_colorspace", !11, i64 0, !24, i64 4, !25, i64 36, !19, i64 72, !19, i64 74}
!24 = !{!"png_xy", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!25 = !{!"png_XYZ", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!26 = !{!11, !11, 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"

@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [60 x i8], align 1

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_init(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_header(ptr noundef) #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @png_image_begin_read_from_file(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.critedge, label %3

3:                                                ; preds = %2
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = icmp eq i32 %5, 1
  br i1 %6, label %7, label %29

7:                                                ; preds = %3
  %.not22 = icmp eq ptr %1, null
  br i1 %.not22, label %27, label %8

8:                                                ; preds = %7
  %9 = tail call noalias ptr @fopen(ptr noundef nonnull %1, ptr noundef nonnull @.str.16)
  %.not23 = icmp eq ptr %9, null
  br i1 %.not23, label %20, label %10

10:                                               ; preds = %8
  %11 = tail call i32 @png_image_read_init(ptr noundef nonnull %0)
  %.not24 = icmp eq i32 %11, 0
  br i1 %.not24, label %25, label %12

12:                                               ; preds = %10
  %13 = load ptr, ptr %0, align 8, !tbaa !11
  %14 = load ptr, ptr %13, align 8, !tbaa !12
  %15 = getelementptr inbounds i8, ptr %14, i64 264
  store ptr %9, ptr %15, align 8, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %13, i64 40
  %17 = load i8, ptr %16, align 8
  %18 = or i8 %17, 2
  store i8 %18, ptr %16, align 8
  %19 = tail call i32 @png_safe_execute(ptr noundef nonnull %0, ptr noundef nonnull @png_image_read_header, ptr noundef nonnull %0) #5
  br label %.critedge

20:                                               ; preds = %8
  %21 = tail call ptr @__errno_location() #6
  %22 = load i32, ptr %21, align 4, !tbaa !25
  %23 = tail call ptr @strerror(i32 noundef %22) #5
  %24 = tail call i32 @png_image_error(ptr noundef nonnull %0, ptr noundef %23) #5
  br label %.critedge

25:                                               ; preds = %10
  %26 = tail call i32 @fclose(ptr noundef nonnull %9)
  br label %.critedge

27:                                               ; preds = %7
  %28 = tail call i32 @png_image_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.17) #5
  br label %.critedge

29:                                               ; preds = %3
  %30 = tail call i32 @png_image_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.18) #5
  br label %.critedge

.critedge:                                        ; preds = %20, %12, %2, %25, %29, %27
  %.1 = phi i32 [ %28, %27 ], [ %30, %29 ], [ 0, %25 ], [ 0, %2 ], [ %24, %20 ], [ %19, %12 ]
  ret i32 %.1
}

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #4

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { nounwind }
attributes #6 = { nounwind willreturn memory(none) }

!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 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !8, i64 36}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"png_control", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !14, i64 32, !10, i64 40, !10, i64 40}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !7, i64 264}
!16 = !{!"png_struct_def", !8, i64 0, !7, i64 200, !7, i64 208, !14, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !8, i64 296, !8, i64 297, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !17, i64 320, !7, i64 432, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !14, i64 520, !10, i64 528, !10, i64 532, !10, i64 536, !7, i64 544, !7, i64 552, !7, i64 560, !7, i64 568, !14, i64 576, !10, i64 584, !10, i64 588, !7, i64 592, !18, i64 600, !10, i64 604, !18, i64 608, !8, i64 610, !8, i64 611, !8, i64 612, !8, i64 613, !8, i64 614, !8, i64 615, !8, i64 616, !8, i64 617, !8, i64 618, !8, i64 619, !8, i64 620, !8, i64 621, !8, i64 622, !8, i64 623, !8, i64 624, !18, i64 626, !8, i64 628, !10, i64 632, !19, i64 636, !19, i64 646, !7, i64 656, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !7, i64 680, !7, i64 688, !7, i64 696, !7, i64 704, !7, i64 712, !7, i64 720, !20, i64 728, !20, i64 733, !7, i64 744, !19, i64 752, !7, i64 768, !7, i64 776, !7, i64 784, !7, i64 792, !7, i64 800, !7, i64 808, !7, i64 816, !7, i64 824, !7, i64 832, !10, i64 840, !10, i64 844, !14, i64 848, !14, i64 856, !14, i64 864, !14, i64 872, !10, i64 880, !10, i64 884, !7, i64 888, !7, i64 896, !10, i64 904, !8, i64 908, !10, i64 940, !7, i64 944, !7, i64 952, !10, i64 960, !10, i64 964, !7, i64 968, !8, i64 976, !8, i64 977, !18, i64 978, !18, i64 980, !10, i64 984, !8, i64 988, !7, i64 992, !7, i64 1000, !7, i64 1008, !7, i64 1016, !7, i64 1024, !7, i64 1032, !7, i64 1040, !8, i64 1048, !10, i64 1052, !10, i64 1056, !10, i64 1060, !14, i64 1064, !21, i64 1072, !14, i64 1104, !7, i64 1112, !14, i64 1120, !10, i64 1128, !10, i64 1132, !7, i64 1136, !8, i64 1144, !22, i64 1176}
!17 = !{!"z_stream_s", !7, i64 0, !10, i64 8, !14, i64 16, !7, i64 24, !10, i64 32, !14, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !10, i64 88, !14, i64 96, !14, i64 104}
!18 = !{!"short", !8, i64 0}
!19 = !{!"png_color_16_struct", !8, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !18, i64 8}
!20 = !{!"png_color_8_struct", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4}
!21 = !{!"png_unknown_chunk_t", !8, i64 0, !7, i64 8, !14, i64 16, !8, i64 24}
!22 = !{!"png_colorspace", !10, i64 0, !23, i64 4, !24, i64 36, !18, i64 72, !18, i64 74}
!23 = !{!"png_xy", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!24 = !{!"png_XYZ", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!25 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass