; LLVM IR from rdguez-mariano/fast_imas_IPOL :: io_png/libs/png (pngwutil)

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

%struct.png_sPLT_struct = type { ptr, i8, ptr, i64 }
%struct.png_sPLT_entry_struct = type { i16, i16, i16, i16, i16 }

@png_sPLT = external global [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @png_save_uint_16(ptr noundef, i32 noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @png_write_chunk_start(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @png_write_chunk_data(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @png_write_chunk_end(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @png_check_keyword(ptr noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: nounwind uwtable
define dso_local void @png_write_sPLT(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca [10 x i8], align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 10, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.png_sPLT_struct, ptr %12, i32 0, i32 1
  %14 = load i8, ptr %13, align 8, !tbaa !9
  %15 = zext i8 %14 to i32
  %16 = icmp eq i32 %15, 8
  %17 = zext i1 %16 to i64
  %18 = select i1 %16, i32 6, i32 10
  store i32 %18, ptr %8, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %19 = load i32, ptr %8, align 4, !tbaa !12
  %20 = sext i32 %19 to i64
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.png_sPLT_struct, ptr %21, i32 0, i32 3
  %23 = load i64, ptr %22, align 8, !tbaa !14
  %24 = mul nsw i64 %20, %23
  %25 = trunc i64 %24 to i32
  store i32 %25, ptr %9, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.png_sPLT_struct, ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = call i64 @png_check_keyword(ptr noundef %26, ptr noundef %29, ptr noundef %6)
  store i64 %30, ptr %5, align 8, !tbaa !16
  %31 = icmp eq i64 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %2
  store i32 1, ptr %11, align 4
  br label %136

33:                                               ; preds = %2
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = load i64, ptr %5, align 8, !tbaa !16
  %36 = add i64 %35, 2
  %37 = load i32, ptr %9, align 4, !tbaa !12
  %38 = sext i32 %37 to i64
  %39 = add i64 %36, %38
  call void @png_write_chunk_start(ptr noundef %34, ptr noundef @png_sPLT, i64 noundef %39)
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = load i64, ptr %5, align 8, !tbaa !16
  %43 = add i64 %42, 1
  call void @png_write_chunk_data(ptr noundef %40, ptr noundef %41, i64 noundef %43)
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.png_sPLT_struct, ptr %45, i32 0, i32 1
  call void @png_write_chunk_data(ptr noundef %44, ptr noundef %46, i64 noundef 1)
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.png_sPLT_struct, ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !17
  store ptr %49, ptr %10, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %129, %33
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.png_sPLT_struct, ptr %52, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.png_sPLT_struct, ptr %55, i32 0, i32 3
  %57 = load i64, ptr %56, align 8, !tbaa !14
  %58 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %54, i64 %57
  %59 = icmp ult ptr %51, %58
  br i1 %59, label %60, label %132

60:                                               ; preds = %50
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.png_sPLT_struct, ptr %61, i32 0, i32 1
  %63 = load i8, ptr %62, align 8, !tbaa !9
  %64 = zext i8 %63 to i32
  %65 = icmp eq i32 %64, 8
  br i1 %65, label %66, label %93

66:                                               ; preds = %60
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %67, i32 0, i32 0
  %69 = load i16, ptr %68, align 2, !tbaa !18
  %70 = trunc i16 %69 to i8
  %71 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  store i8 %70, ptr %71, align 1, !tbaa !21
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %72, i32 0, i32 1
  %74 = load i16, ptr %73, align 2, !tbaa !22
  %75 = trunc i16 %74 to i8
  %76 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 1
  store i8 %75, ptr %76, align 1, !tbaa !21
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %77, i32 0, i32 2
  %79 = load i16, ptr %78, align 2, !tbaa !23
  %80 = trunc i16 %79 to i8
  %81 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 2
  store i8 %80, ptr %81, align 1, !tbaa !21
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %82, i32 0, i32 3
  %84 = load i16, ptr %83, align 2, !tbaa !24
  %85 = trunc i16 %84 to i8
  %86 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 3
  store i8 %85, ptr %86, align 1, !tbaa !21
  %87 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %89, i32 0, i32 4
  %91 = load i16, ptr %90, align 2, !tbaa !25
  %92 = zext i16 %91 to i32
  call void @png_save_uint_16(ptr noundef %88, i32 noundef %92)
  br label %124

93:                                               ; preds = %60
  %94 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %95 = getelementptr inbounds i8, ptr %94, i64 0
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %96, i32 0, i32 0
  %98 = load i16, ptr %97, align 2, !tbaa !18
  %99 = zext i16 %98 to i32
  call void @png_save_uint_16(ptr noundef %95, i32 noundef %99)
  %100 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %101 = getelementptr inbounds i8, ptr %100, i64 2
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %102, i32 0, i32 1
  %104 = load i16, ptr %103, align 2, !tbaa !22
  %105 = zext i16 %104 to i32
  call void @png_save_uint_16(ptr noundef %101, i32 noundef %105)
  %106 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %107 = getelementptr inbounds i8, ptr %106, i64 4
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %108, i32 0, i32 2
  %110 = load i16, ptr %109, align 2, !tbaa !23
  %111 = zext i16 %110 to i32
  call void @png_save_uint_16(ptr noundef %107, i32 noundef %111)
  %112 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %113 = getelementptr inbounds i8, ptr %112, i64 6
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %114, i32 0, i32 3
  %116 = load i16, ptr %115, align 2, !tbaa !24
  %117 = zext i16 %116 to i32
  call void @png_save_uint_16(ptr noundef %113, i32 noundef %117)
  %118 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %119 = getelementptr inbounds i8, ptr %118, i64 8
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %120, i32 0, i32 4
  %122 = load i16, ptr %121, align 2, !tbaa !25
  %123 = zext i16 %122 to i32
  call void @png_save_uint_16(ptr noundef %119, i32 noundef %123)
  br label %124

124:                                              ; preds = %93, %66
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %127 = load i32, ptr %8, align 4, !tbaa !12
  %128 = sext i32 %127 to i64
  call void @png_write_chunk_data(ptr noundef %125, ptr noundef %126, i64 noundef %128)
  br label %129

129:                                              ; preds = %124
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %130, i32 1
  store ptr %131, ptr %10, align 8, !tbaa !5
  br label %50, !llvm.loop !26

132:                                              ; preds = %50
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_chunk_end(ptr noundef %133)
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  call void @png_free(ptr noundef %134, ptr noundef %135)
  store i32 0, ptr %11, align 4
  br label %136

136:                                              ; preds = %132, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 10, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  %137 = load i32, ptr %11, align 4
  switch i32 %137, label %139 [
    i32 0, label %138
    i32 1, label %138
  ]

138:                                              ; preds = %136, %136
  ret void

139:                                              ; preds = %136
  unreachable
}

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 }

!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, !7, i64 8}
!10 = !{!"png_sPLT_struct", !6, i64 0, !7, i64 8, !6, i64 16, !11, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !11, i64 24}
!15 = !{!10, !6, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !6, i64 16}
!18 = !{!19, !20, i64 0}
!19 = !{!"png_sPLT_entry_struct", !20, i64 0, !20, i64 2, !20, i64 4, !20, i64 6, !20, i64 8}
!20 = !{!"short", !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!19, !20, i64 2}
!23 = !{!19, !20, i64 4}
!24 = !{!19, !20, i64 6}
!25 = !{!19, !20, i64 8}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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

%struct.png_sPLT_entry_struct = type { i16, i16, i16, i16, i16 }

@png_sPLT = external global [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @png_save_uint_16(ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @png_write_chunk_end(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @png_check_keyword(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @png_write_sPLT(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca [10 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %4) #3
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  %6 = load i8, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i8 %6, 8
  %8 = select i1 %7, i64 6, i64 10
  %9 = getelementptr inbounds i8, ptr %1, i64 24
  %10 = load i64, ptr %9, align 8, !tbaa !11
  %11 = load ptr, ptr %1, align 8, !tbaa !12
  %12 = call i64 @png_check_keyword(ptr noundef %0, ptr noundef %11, ptr noundef nonnull %3)
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %64, label %14

14:                                               ; preds = %2
  %15 = add i64 %12, 2
  %16 = shl i64 %10, 32
  %sext = mul i64 %16, %8
  %17 = ashr exact i64 %sext, 32
  %18 = add i64 %15, %17
  call void @png_write_chunk_start(ptr noundef %0, ptr noundef nonnull @png_sPLT, i64 noundef %18)
  %19 = load ptr, ptr %3, align 8, !tbaa !13
  %20 = add i64 %12, 1
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef %19, i64 noundef %20)
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef nonnull %5, i64 noundef 1)
  %21 = getelementptr inbounds i8, ptr %1, i64 16
  %22 = load i64, ptr %9, align 8, !tbaa !11
  %23 = icmp sgt i64 %22, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %14
  %24 = load ptr, ptr %21, align 8, !tbaa !14
  %25 = getelementptr inbounds i8, ptr %4, i64 2
  %26 = getelementptr inbounds i8, ptr %4, i64 4
  %27 = getelementptr inbounds i8, ptr %4, i64 6
  %28 = getelementptr inbounds i8, ptr %4, i64 8
  %29 = getelementptr inbounds i8, ptr %4, i64 1
  %30 = getelementptr inbounds i8, ptr %4, i64 3
  br label %31

31:                                               ; preds = %.lr.ph, %55
  %.032 = phi ptr [ %24, %.lr.ph ], [ %58, %55 ]
  %32 = load i8, ptr %5, align 8, !tbaa !5
  %33 = icmp eq i8 %32, 8
  %34 = load i16, ptr %.032, align 2, !tbaa !15
  %35 = getelementptr inbounds i8, ptr %.032, i64 2
  %36 = getelementptr inbounds i8, ptr %.032, i64 4
  %37 = getelementptr inbounds i8, ptr %.032, i64 6
  %38 = getelementptr inbounds i8, ptr %.032, i64 8
  br i1 %33, label %39, label %47

39:                                               ; preds = %31
  %40 = trunc i16 %34 to i8
  store i8 %40, ptr %4, align 1, !tbaa !18
  %41 = load i16, ptr %35, align 2, !tbaa !19
  %42 = trunc i16 %41 to i8
  store i8 %42, ptr %29, align 1, !tbaa !18
  %43 = load i16, ptr %36, align 2, !tbaa !20
  %44 = trunc i16 %43 to i8
  store i8 %44, ptr %25, align 1, !tbaa !18
  %45 = load i16, ptr %37, align 2, !tbaa !21
  %46 = trunc i16 %45 to i8
  store i8 %46, ptr %30, align 1, !tbaa !18
  br label %55

47:                                               ; preds = %31
  %48 = zext i16 %34 to i32
  call void @png_save_uint_16(ptr noundef nonnull %4, i32 noundef %48)
  %49 = load i16, ptr %35, align 2, !tbaa !19
  %50 = zext i16 %49 to i32
  call void @png_save_uint_16(ptr noundef nonnull %25, i32 noundef %50)
  %51 = load i16, ptr %36, align 2, !tbaa !20
  %52 = zext i16 %51 to i32
  call void @png_save_uint_16(ptr noundef nonnull %26, i32 noundef %52)
  %53 = load i16, ptr %37, align 2, !tbaa !21
  %54 = zext i16 %53 to i32
  call void @png_save_uint_16(ptr noundef nonnull %27, i32 noundef %54)
  br label %55

55:                                               ; preds = %47, %39
  %.sink = phi ptr [ %28, %47 ], [ %26, %39 ]
  %56 = load i16, ptr %38, align 2, !tbaa !22
  %57 = zext i16 %56 to i32
  call void @png_save_uint_16(ptr noundef nonnull %.sink, i32 noundef %57)
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef nonnull %4, i64 noundef %8)
  %58 = getelementptr inbounds i8, ptr %.032, i64 10
  %59 = load ptr, ptr %21, align 8, !tbaa !14
  %60 = load i64, ptr %9, align 8, !tbaa !11
  %61 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %59, i64 %60
  %62 = icmp ult ptr %58, %61
  br i1 %62, label %31, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %55, %14
  call void @png_write_chunk_end(ptr noundef %0)
  %63 = load ptr, ptr %3, align 8, !tbaa !13
  call void @png_free(ptr noundef %0, ptr noundef %63) #3
  br label %64

64:                                               ; preds = %2, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret void
}

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 }

!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, !8, i64 8}
!6 = !{!"png_sPLT_struct", !7, i64 0, !8, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 24}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!16, !17, i64 0}
!16 = !{!"png_sPLT_entry_struct", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8}
!17 = !{!"short", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!16, !17, i64 2}
!20 = !{!16, !17, i64 4}
!21 = !{!16, !17, i64 6}
!22 = !{!16, !17, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass