; LLVM IR from Try/Tempest :: Engine/thirdparty/libpng (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, i32 }
%struct.png_sPLT_entry_struct = type { i16, i16, i16, i16, i16 }

@.str.18 = external hidden unnamed_addr constant [22 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 hidden void @png_write_chunk_header(ptr noalias noundef, i32 noundef, i32 noundef) #0

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

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

; Function Attrs: noreturn
declare void @png_error(ptr noundef, ptr noundef) #2

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

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

33:                                               ; preds = %2
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %34, ptr noundef @.str.18) #5
  unreachable

35:                                               ; preds = %2
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = load i32, ptr %5, align 4, !tbaa !16
  %38 = add i32 %37, 2
  %39 = zext i32 %38 to i64
  %40 = load i64, ptr %9, align 8, !tbaa !12
  %41 = add i64 %39, %40
  %42 = trunc i64 %41 to i32
  call void @png_write_chunk_header(ptr noundef %36, i32 noundef 1934642260, i32 noundef %42)
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
  %45 = load i32, ptr %5, align 4, !tbaa !16
  %46 = add i32 %45, 1
  %47 = zext i32 %46 to i64
  call void @png_write_chunk_data(ptr noundef %43, ptr noundef %44, i64 noundef %47)
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.png_sPLT_struct, ptr %49, i32 0, i32 1
  call void @png_write_chunk_data(ptr noundef %48, ptr noundef %50, i64 noundef 1)
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.png_sPLT_struct, ptr %51, i32 0, i32 2
  %53 = load ptr, ptr %52, align 8, !tbaa !17
  store ptr %53, ptr %10, align 8, !tbaa !5
  br label %54

54:                                               ; preds = %133, %35
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.png_sPLT_struct, ptr %56, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !17
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.png_sPLT_struct, ptr %59, i32 0, i32 3
  %61 = load i32, ptr %60, align 8, !tbaa !14
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %58, i64 %62
  %64 = icmp ult ptr %55, %63
  br i1 %64, label %65, label %136

65:                                               ; preds = %54
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.png_sPLT_struct, ptr %66, i32 0, i32 1
  %68 = load i8, ptr %67, align 8, !tbaa !9
  %69 = zext i8 %68 to i32
  %70 = icmp eq i32 %69, 8
  br i1 %70, label %71, label %98

71:                                               ; preds = %65
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %72, i32 0, i32 0
  %74 = load i16, ptr %73, align 2, !tbaa !18
  %75 = trunc i16 %74 to i8
  %76 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  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 1
  %79 = load i16, ptr %78, align 2, !tbaa !22
  %80 = trunc i16 %79 to i8
  %81 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 1
  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 2
  %84 = load i16, ptr %83, align 2, !tbaa !23
  %85 = trunc i16 %84 to i8
  %86 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 2
  store i8 %85, ptr %86, align 1, !tbaa !21
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %87, i32 0, i32 3
  %89 = load i16, ptr %88, align 2, !tbaa !24
  %90 = trunc i16 %89 to i8
  %91 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 3
  store i8 %90, ptr %91, align 1, !tbaa !21
  %92 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %93 = getelementptr inbounds i8, ptr %92, i64 4
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %94, i32 0, i32 4
  %96 = load i16, ptr %95, align 2, !tbaa !25
  %97 = zext i16 %96 to i32
  call void @png_save_uint_16(ptr noundef %93, i32 noundef %97)
  br label %129

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

129:                                              ; preds = %98, %71
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %132 = load i64, ptr %8, align 8, !tbaa !12
  call void @png_write_chunk_data(ptr noundef %130, ptr noundef %131, i64 noundef %132)
  br label %133

133:                                              ; preds = %129
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %134, i32 1
  store ptr %135, ptr %10, align 8, !tbaa !5
  br label %54, !llvm.loop !26

136:                                              ; preds = %54
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_chunk_end(ptr noundef %137)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 10, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn "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 = { "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 }
attributes #5 = { noreturn }

!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 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !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 }

@.str.18 = external hidden unnamed_addr constant [22 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 hidden void @png_write_chunk_header(ptr noalias noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: noreturn
declare void @png_error(ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @png_write_sPLT(ptr noalias noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca [80 x i8], align 16
  %4 = alloca [10 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %4) #4
  %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 i32, ptr %9, align 8, !tbaa !11
  %11 = load ptr, ptr %1, align 8, !tbaa !12
  %12 = call i32 @png_check_keyword(ptr noundef %0, ptr noundef %11, ptr noundef nonnull %3) #4
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %15

14:                                               ; preds = %2
  call void @png_error(ptr noundef %0, ptr noundef nonnull @.str.18) #5
  unreachable

15:                                               ; preds = %2
  %16 = add i32 %12, 2
  %17 = trunc nuw nsw i64 %8 to i32
  %18 = mul i32 %10, %17
  %19 = add i32 %16, %18
  call void @png_write_chunk_header(ptr noundef %0, i32 noundef 1934642260, i32 noundef %19)
  %20 = add i32 %12, 1
  %21 = zext i32 %20 to i64
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef nonnull %3, i64 noundef %21)
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef nonnull %5, i64 noundef 1)
  %22 = getelementptr inbounds i8, ptr %1, i64 16
  %23 = load i32, ptr %9, align 8, !tbaa !11
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph, label %._crit_edge

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

32:                                               ; preds = %.lr.ph, %56
  %.033 = phi ptr [ %25, %.lr.ph ], [ %59, %56 ]
  %33 = load i8, ptr %5, align 8, !tbaa !5
  %34 = icmp eq i8 %33, 8
  %35 = load i16, ptr %.033, align 2, !tbaa !14
  %36 = getelementptr inbounds i8, ptr %.033, i64 2
  %37 = getelementptr inbounds i8, ptr %.033, i64 4
  %38 = getelementptr inbounds i8, ptr %.033, i64 6
  %39 = getelementptr inbounds i8, ptr %.033, i64 8
  br i1 %34, label %40, label %48

40:                                               ; preds = %32
  %41 = trunc i16 %35 to i8
  store i8 %41, ptr %4, align 1, !tbaa !17
  %42 = load i16, ptr %36, align 2, !tbaa !18
  %43 = trunc i16 %42 to i8
  store i8 %43, ptr %30, align 1, !tbaa !17
  %44 = load i16, ptr %37, align 2, !tbaa !19
  %45 = trunc i16 %44 to i8
  store i8 %45, ptr %26, align 1, !tbaa !17
  %46 = load i16, ptr %38, align 2, !tbaa !20
  %47 = trunc i16 %46 to i8
  store i8 %47, ptr %31, align 1, !tbaa !17
  br label %56

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

56:                                               ; preds = %48, %40
  %.sink = phi ptr [ %29, %48 ], [ %27, %40 ]
  %57 = load i16, ptr %39, align 2, !tbaa !21
  %58 = zext i16 %57 to i32
  call void @png_save_uint_16(ptr noundef nonnull %.sink, i32 noundef %58)
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef nonnull %4, i64 noundef %8)
  %59 = getelementptr inbounds i8, ptr %.033, i64 10
  %60 = load ptr, ptr %22, align 8, !tbaa !13
  %61 = load i32, ptr %9, align 8, !tbaa !11
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds %struct.png_sPLT_entry_struct, ptr %60, i64 %62
  %64 = icmp ult ptr %59, %63
  br i1 %64, label %32, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %56, %15
  call void @png_write_chunk_end(ptr noundef %0)
  call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #4
  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 = { noreturn "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 = { "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 }
attributes #5 = { 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, !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 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 24}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!15, !16, i64 0}
!15 = !{!"png_sPLT_entry_struct", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8}
!16 = !{!"short", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !16, i64 2}
!19 = !{!15, !16, i64 4}
!20 = !{!15, !16, i64 6}
!21 = !{!15, !16, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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