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

@.str.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [22 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 void @png_write_chunk_header(ptr noalias noundef, i32 noundef, i32 noundef) #1

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

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

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

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

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

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

declare void @png_save_int_32(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

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

26:                                               ; preds = %8
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  call void @png_error(ptr noundef %27, ptr noundef @.str.37) #6
  unreachable

28:                                               ; preds = %8
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds [80 x i8], ptr %22, i64 0, i64 0
  %32 = call i32 @png_check_keyword(ptr noundef %29, ptr noundef %30, ptr noundef %31)
  store i32 %32, ptr %17, align 4, !tbaa !9
  %33 = load i32, ptr %17, align 4, !tbaa !9
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %28
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  call void @png_error(ptr noundef %36, ptr noundef @.str.38) #6
  unreachable

37:                                               ; preds = %28
  %38 = load i32, ptr %17, align 4, !tbaa !9
  %39 = add i32 %38, 1
  store i32 %39, ptr %17, align 4, !tbaa !9
  %40 = load ptr, ptr %15, align 8, !tbaa !5
  %41 = call i64 @strlen(ptr noundef %40) #7
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 0
  %44 = zext i1 %43 to i64
  %45 = select i1 %43, i32 0, i32 1
  %46 = sext i32 %45 to i64
  %47 = add i64 %41, %46
  store i64 %47, ptr %18, align 8, !tbaa !11
  %48 = load i32, ptr %17, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = load i64, ptr %18, align 8, !tbaa !11
  %51 = add i64 %49, %50
  %52 = add i64 %51, 10
  store i64 %52, ptr %19, align 8, !tbaa !11
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = load i32, ptr %14, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = mul i64 %55, 8
  %57 = call noalias ptr @png_malloc(ptr noundef %53, i64 noundef %56)
  store ptr %57, ptr %20, align 8, !tbaa !5
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %88, %37
  %59 = load i32, ptr %23, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %62, label %91

62:                                               ; preds = %58
  %63 = load ptr, ptr %16, align 8, !tbaa !5
  %64 = load i32, ptr %23, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = call i64 @strlen(ptr noundef %67) #7
  %69 = load i32, ptr %23, align 4, !tbaa !9
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = sub nsw i32 %70, 1
  %72 = icmp eq i32 %69, %71
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, i32 0, i32 1
  %75 = sext i32 %74 to i64
  %76 = add i64 %68, %75
  %77 = load ptr, ptr %20, align 8, !tbaa !5
  %78 = load i32, ptr %23, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds i64, ptr %77, i64 %79
  store i64 %76, ptr %80, align 8, !tbaa !11
  %81 = load ptr, ptr %20, align 8, !tbaa !5
  %82 = load i32, ptr %23, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds i64, ptr %81, i64 %83
  %85 = load i64, ptr %84, align 8, !tbaa !11
  %86 = load i64, ptr %19, align 8, !tbaa !11
  %87 = add i64 %86, %85
  store i64 %87, ptr %19, align 8, !tbaa !11
  br label %88

88:                                               ; preds = %62
  %89 = load i32, ptr %23, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %23, align 4, !tbaa !9
  br label %58, !llvm.loop !13

91:                                               ; preds = %58
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = load i64, ptr %19, align 8, !tbaa !11
  %94 = trunc i64 %93 to i32
  call void @png_write_chunk_header(ptr noundef %92, i32 noundef 1883455820, i32 noundef %94)
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds [80 x i8], ptr %22, i64 0, i64 0
  %97 = load i32, ptr %17, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  call void @png_write_chunk_data(ptr noundef %95, ptr noundef %96, i64 noundef %98)
  %99 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0
  %100 = load i32, ptr %11, align 4, !tbaa !9
  call void @png_save_int_32(ptr noundef %99, i32 noundef %100)
  %101 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0
  %102 = getelementptr inbounds i8, ptr %101, i64 4
  %103 = load i32, ptr %12, align 4, !tbaa !9
  call void @png_save_int_32(ptr noundef %102, i32 noundef %103)
  %104 = load i32, ptr %13, align 4, !tbaa !9
  %105 = trunc i32 %104 to i8
  %106 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 8
  store i8 %105, ptr %106, align 1, !tbaa !15
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = trunc i32 %107 to i8
  %109 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 9
  store i8 %108, ptr %109, align 1, !tbaa !15
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0
  call void @png_write_chunk_data(ptr noundef %110, ptr noundef %111, i64 noundef 10)
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = load ptr, ptr %15, align 8, !tbaa !5
  %114 = load i64, ptr %18, align 8, !tbaa !11
  call void @png_write_chunk_data(ptr noundef %112, ptr noundef %113, i64 noundef %114)
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %131, %91
  %116 = load i32, ptr %23, align 4, !tbaa !9
  %117 = load i32, ptr %14, align 4, !tbaa !9
  %118 = icmp slt i32 %116, %117
  br i1 %118, label %119, label %134

119:                                              ; preds = %115
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = load ptr, ptr %16, align 8, !tbaa !5
  %122 = load i32, ptr %23, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds ptr, ptr %121, i64 %123
  %125 = load ptr, ptr %124, align 8, !tbaa !5
  %126 = load ptr, ptr %20, align 8, !tbaa !5
  %127 = load i32, ptr %23, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds i64, ptr %126, i64 %128
  %130 = load i64, ptr %129, align 8, !tbaa !11
  call void @png_write_chunk_data(ptr noundef %120, ptr noundef %125, i64 noundef %130)
  br label %131

131:                                              ; preds = %119
  %132 = load i32, ptr %23, align 4, !tbaa !9
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %23, align 4, !tbaa !9
  br label %115, !llvm.loop !16

134:                                              ; preds = %115
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = load ptr, ptr %20, align 8, !tbaa !5
  call void @png_free(ptr noundef %135, ptr noundef %136)
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  call void @png_write_chunk_end(ptr noundef %137)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 10, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  ret void
}

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 = { 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 #4 = { nounwind willreturn memory(read) "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 = { noreturn }
attributes #7 = { nounwind willreturn memory(read) }

!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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}


; 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.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [22 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
declare hidden void @png_write_chunk_header(ptr noalias noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

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

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

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

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

declare void @png_save_int_32(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local void @png_write_pCAL(ptr noalias noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 {
  %9 = alloca [10 x i8], align 1
  %10 = alloca [80 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #5
  %11 = icmp sgt i32 %4, 3
  br i1 %11, label %12, label %13

12:                                               ; preds = %8
  tail call void @png_error(ptr noundef %0, ptr noundef nonnull @.str.37) #6
  unreachable

13:                                               ; preds = %8
  %14 = call i32 @png_check_keyword(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %10) #5
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %17

16:                                               ; preds = %13
  call void @png_error(ptr noundef %0, ptr noundef nonnull @.str.38) #6
  unreachable

17:                                               ; preds = %13
  %18 = add i32 %14, 1
  %19 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %6) #7
  %20 = icmp ne i32 %5, 0
  %21 = zext i1 %20 to i64
  %22 = add i64 %19, %21
  %23 = zext i32 %18 to i64
  %24 = add nuw nsw i64 %23, 10
  %25 = add i64 %24, %22
  %26 = sext i32 %5 to i64
  %27 = shl nsw i64 %26, 3
  %28 = call noalias ptr @png_malloc(ptr noundef %0, i64 noundef %27) #5
  %29 = icmp sgt i32 %5, 0
  br i1 %29, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %17
  %30 = add nsw i32 %5, -1
  %31 = zext nneg i32 %30 to i64
  %wide.trip.count = zext nneg i32 %5 to i64
  br label %32

32:                                               ; preds = %.lr.ph, %32
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %32 ]
  %.04752 = phi i64 [ %25, %.lr.ph ], [ %40, %32 ]
  %33 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %34) #7
  %36 = icmp ne i64 %indvars.iv, %31
  %37 = zext i1 %36 to i64
  %38 = add i64 %35, %37
  %39 = getelementptr inbounds i64, ptr %28, i64 %indvars.iv
  store i64 %38, ptr %39, align 8, !tbaa !9
  %40 = add i64 %38, %.04752
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %32, !llvm.loop !11

._crit_edge:                                      ; preds = %32, %17
  %.047.lcssa = phi i64 [ %25, %17 ], [ %40, %32 ]
  %41 = trunc i64 %.047.lcssa to i32
  call void @png_write_chunk_header(ptr noundef %0, i32 noundef 1883455820, i32 noundef %41)
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef nonnull %10, i64 noundef %23)
  call void @png_save_int_32(ptr noundef nonnull %9, i32 noundef %2) #5
  %42 = getelementptr inbounds i8, ptr %9, i64 4
  call void @png_save_int_32(ptr noundef nonnull %42, i32 noundef %3) #5
  %43 = trunc i32 %4 to i8
  %44 = getelementptr inbounds i8, ptr %9, i64 8
  store i8 %43, ptr %44, align 1, !tbaa !13
  %45 = trunc i32 %5 to i8
  %46 = getelementptr inbounds i8, ptr %9, i64 9
  store i8 %45, ptr %46, align 1, !tbaa !13
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef nonnull %9, i64 noundef 10)
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef %6, i64 noundef %22)
  br i1 %29, label %.lr.ph56.preheader, label %._crit_edge57

.lr.ph56.preheader:                               ; preds = %._crit_edge
  %wide.trip.count62 = zext nneg i32 %5 to i64
  br label %.lr.ph56

.lr.ph56:                                         ; preds = %.lr.ph56.preheader, %.lr.ph56
  %indvars.iv59 = phi i64 [ 0, %.lr.ph56.preheader ], [ %indvars.iv.next60, %.lr.ph56 ]
  %47 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv59
  %48 = load ptr, ptr %47, align 8, !tbaa !5
  %49 = getelementptr inbounds i64, ptr %28, i64 %indvars.iv59
  %50 = load i64, ptr %49, align 8, !tbaa !9
  call void @png_write_chunk_data(ptr noundef %0, ptr noundef %48, i64 noundef %50)
  %indvars.iv.next60 = add nuw nsw i64 %indvars.iv59, 1
  %exitcond63.not = icmp eq i64 %indvars.iv.next60, %wide.trip.count62
  br i1 %exitcond63.not, label %._crit_edge57, label %.lr.ph56, !llvm.loop !14

._crit_edge57:                                    ; preds = %.lr.ph56, %._crit_edge
  call void @png_free(ptr noundef %0, ptr noundef %28) #5
  call void @png_write_chunk_end(ptr noundef %0)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %9) #5
  ret void
}

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 = { "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 = { 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 #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { noreturn nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass