; LLVM IR from corentinartaud/graphics :: ThirdParty/FreeImage-3170/Source/LibPNG (pngwrite)

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

%struct.png_image_write_control = type { ptr, ptr, i32, ptr, i32, ptr, i64, ptr }
%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, ptr, ptr, i64, i32, i32, ptr, i16, i32, i16, 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, i8, i8, ptr, ptr, ptr, ptr, ptr, i8, [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.17 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [54 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
define dso_local i32 @png_image_write_to_stdio(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #1 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %struct.png_image_write_control, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  %16 = load ptr, ptr %8, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %56

18:                                               ; preds = %6
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.png_image, ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 8, !tbaa !11
  %22 = icmp eq i32 %21, 1
  br i1 %22, label %23, label %56

23:                                               ; preds = %18
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %53

26:                                               ; preds = %23
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = call i32 @png_image_write_init(ptr noundef %27)
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %52

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.png_image, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  %35 = getelementptr inbounds %struct.png_control, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !14
  %37 = getelementptr inbounds %struct.png_struct_def, ptr %36, i32 0, i32 9
  store ptr %31, ptr %37, align 8, !tbaa !17
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 64, i1 false)
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.png_image_write_control, ptr %14, i32 0, i32 0
  store ptr %38, ptr %39, align 8, !tbaa !27
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.png_image_write_control, ptr %14, i32 0, i32 1
  store ptr %40, ptr %41, align 8, !tbaa !29
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = getelementptr inbounds %struct.png_image_write_control, ptr %14, i32 0, i32 2
  store i32 %42, ptr %43, align 8, !tbaa !30
  %44 = load ptr, ptr %13, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.png_image_write_control, ptr %14, i32 0, i32 3
  store ptr %44, ptr %45, align 8, !tbaa !31
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = getelementptr inbounds %struct.png_image_write_control, ptr %14, i32 0, i32 4
  store i32 %46, ptr %47, align 8, !tbaa !32
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = call i32 @png_safe_execute(ptr noundef %48, ptr noundef @png_image_write_main, ptr noundef %14)
  store i32 %49, ptr %15, align 4, !tbaa !9
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  call void @png_image_free(ptr noundef %50)
  %51 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %51, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #4
  br label %63

52:                                               ; preds = %26
  store i32 0, ptr %7, align 4
  br label %63

53:                                               ; preds = %23
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = call i32 @png_image_error(ptr noundef %54, ptr noundef @.str.17)
  store i32 %55, ptr %7, align 4
  br label %63

56:                                               ; preds = %18, %6
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = icmp ne ptr %57, null
  br i1 %58, label %59, label %62

59:                                               ; preds = %56
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = call i32 @png_image_error(ptr noundef %60, ptr noundef @.str.18)
  store i32 %61, ptr %7, align 4
  br label %63

62:                                               ; preds = %56
  store i32 0, ptr %7, align 4
  br label %63

63:                                               ; preds = %62, %59, %53, %52, %30
  %64 = load i32, ptr %7, align 4
  ret i32 %64
}

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_write_init(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) #2

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

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

declare void @png_image_free(ptr noundef) #3

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !7, i64 36}
!13 = !{!12, !6, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"png_control", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !16, i64 32, !10, i64 40, !10, i64 40}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !6, i64 264}
!18 = !{!"png_struct_def", !7, i64 0, !6, i64 200, !6, i64 208, !16, 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, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !19, i64 320, !6, 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, !16, i64 520, !10, i64 528, !10, i64 532, !10, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !16, i64 592, !10, i64 600, !10, i64 604, !6, i64 608, !20, i64 616, !10, i64 620, !20, i64 624, !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, !7, i64 637, !7, i64 638, !7, i64 639, !20, i64 640, !7, i64 642, !10, i64 644, !21, i64 648, !21, i64 658, !6, i64 672, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !6, i64 696, !6, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !22, i64 744, !22, i64 749, !6, i64 760, !21, i64 768, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !10, i64 856, !10, i64 860, !16, i64 864, !16, i64 872, !16, i64 880, !16, i64 888, !10, i64 896, !10, i64 900, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 921, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !7, i64 968, !7, i64 969, !10, i64 1000, !6, i64 1008, !6, i64 1016, !10, i64 1024, !10, i64 1028, !6, i64 1032, !7, i64 1040, !7, i64 1041, !20, i64 1042, !20, i64 1044, !10, i64 1048, !7, i64 1052, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !6, i64 1088, !6, i64 1096, !6, i64 1104, !7, i64 1112, !10, i64 1116, !10, i64 1120, !10, i64 1124, !16, i64 1128, !23, i64 1136, !16, i64 1168, !6, i64 1176, !16, i64 1184, !10, i64 1192, !10, i64 1196, !6, i64 1200, !7, i64 1208, !24, i64 1240}
!19 = !{!"z_stream_s", !6, i64 0, !10, i64 8, !16, i64 16, !6, i64 24, !10, i64 32, !16, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !16, i64 96, !16, i64 104}
!20 = !{!"short", !7, i64 0}
!21 = !{!"png_color_16_struct", !7, i64 0, !20, i64 2, !20, i64 4, !20, i64 6, !20, i64 8}
!22 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!23 = !{!"png_unknown_chunk_t", !7, i64 0, !6, i64 8, !16, i64 16, !7, i64 24}
!24 = !{!"png_colorspace", !10, i64 0, !25, i64 4, !26, i64 36, !20, i64 72, !20, i64 74}
!25 = !{!"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}
!26 = !{!"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}
!27 = !{!28, !6, i64 0}
!28 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !16, i64 48, !6, i64 56}
!29 = !{!28, !6, i64 8}
!30 = !{!28, !10, i64 16}
!31 = !{!28, !6, i64 24}
!32 = !{!28, !10, i64 32}


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

%struct.png_image_write_control = type { ptr, ptr, i32, ptr, i32, ptr, i64, ptr }

@.str.17 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [54 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @png_image_write_to_stdio(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  %7 = alloca %struct.png_image_write_control, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.critedge, label %8

8:                                                ; preds = %6
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = icmp eq i32 %10, 1
  br i1 %11, label %12, label %27

12:                                               ; preds = %8
  %.not19 = icmp eq ptr %1, null
  br i1 %.not19, label %25, label %13

13:                                               ; preds = %12
  %14 = tail call i32 @png_image_write_init(ptr noundef nonnull %0)
  %.not20 = icmp eq i32 %14, 0
  br i1 %.not20, label %.critedge, label %15

15:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #4
  %16 = load ptr, ptr %0, align 8, !tbaa !11
  %17 = load ptr, ptr %16, align 8, !tbaa !12
  %18 = getelementptr inbounds i8, ptr %17, i64 264
  store ptr %1, ptr %18, align 8, !tbaa !15
  %19 = getelementptr inbounds i8, ptr %7, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %19, i8 0, i64 48, i1 false)
  store ptr %0, ptr %7, align 8, !tbaa !25
  %20 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %3, ptr %20, align 8, !tbaa !27
  %21 = getelementptr inbounds i8, ptr %7, i64 16
  store i32 %4, ptr %21, align 8, !tbaa !28
  %22 = getelementptr inbounds i8, ptr %7, i64 24
  store ptr %5, ptr %22, align 8, !tbaa !29
  %23 = getelementptr inbounds i8, ptr %7, i64 32
  store i32 %2, ptr %23, align 8, !tbaa !30
  %24 = call i32 @png_safe_execute(ptr noundef nonnull %0, ptr noundef nonnull @png_image_write_main, ptr noundef nonnull %7) #4
  call void @png_image_free(ptr noundef nonnull %0) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #4
  br label %.critedge

25:                                               ; preds = %12
  %26 = tail call i32 @png_image_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.17) #4
  br label %.critedge

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

.critedge:                                        ; preds = %6, %13, %27, %25, %15
  %.0 = phi i32 [ %24, %15 ], [ %26, %25 ], [ %28, %27 ], [ 0, %13 ], [ 0, %6 ]
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_write_init(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) #2

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

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

declare void @png_image_free(ptr noundef) local_unnamed_addr #3

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

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 }

!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, !7, i64 576, !7, i64 584, !14, i64 592, !10, i64 600, !10, i64 604, !7, i64 608, !18, i64 616, !10, i64 620, !18, i64 624, !8, i64 626, !8, i64 627, !8, i64 628, !8, i64 629, !8, i64 630, !8, i64 631, !8, i64 632, !8, i64 633, !8, i64 634, !8, i64 635, !8, i64 636, !8, i64 637, !8, i64 638, !8, i64 639, !18, i64 640, !8, i64 642, !10, i64 644, !19, i64 648, !19, i64 658, !7, i64 672, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !7, i64 696, !7, i64 704, !7, i64 712, !7, i64 720, !7, i64 728, !7, i64 736, !20, i64 744, !20, i64 749, !7, i64 760, !19, i64 768, !7, i64 784, !7, i64 792, !7, i64 800, !7, i64 808, !7, i64 816, !7, i64 824, !7, i64 832, !7, i64 840, !7, i64 848, !10, i64 856, !10, i64 860, !14, i64 864, !14, i64 872, !14, i64 880, !14, i64 888, !10, i64 896, !10, i64 900, !7, i64 904, !7, i64 912, !8, i64 920, !8, i64 921, !7, i64 928, !7, i64 936, !7, i64 944, !7, i64 952, !7, i64 960, !8, i64 968, !8, i64 969, !10, i64 1000, !7, i64 1008, !7, i64 1016, !10, i64 1024, !10, i64 1028, !7, i64 1032, !8, i64 1040, !8, i64 1041, !18, i64 1042, !18, i64 1044, !10, i64 1048, !8, i64 1052, !7, i64 1056, !7, i64 1064, !7, i64 1072, !7, i64 1080, !7, i64 1088, !7, i64 1096, !7, i64 1104, !8, i64 1112, !10, i64 1116, !10, i64 1120, !10, i64 1124, !14, i64 1128, !21, i64 1136, !14, i64 1168, !7, i64 1176, !14, i64 1184, !10, i64 1192, !10, i64 1196, !7, i64 1200, !8, i64 1208, !22, i64 1240}
!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 = !{!26, !7, i64 0}
!26 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !14, i64 48, !7, i64 56}
!27 = !{!26, !7, i64 8}
!28 = !{!26, !10, i64 16}
!29 = !{!26, !7, i64 24}
!30 = !{!26, !10, i64 32}


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