; LLVM IR from freakout42/macrocalc :: arx/src (dbf_info)

; 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.DBF = type { [1024 x i8], [1024 x i8], ptr, ptr, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, i32, i8, ptr, ptr, %struct.DBFPROLOG }
%struct.DBFPROLOG = type { i8, i8, i8, i8, i32, i16, i16, i16, i8, i8, [12 x i8], i8, [3 x i8] }
%struct.FIELD_RECORD = type { [11 x i8], i8, i32, i8, i8, [14 x i8] }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @dbf_info(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %6 = load ptr, ptr @stderr, align 8, !tbaa !5
  %7 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef @.str) #4
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.DBF, ptr %8, i32 0, i32 18
  %10 = getelementptr inbounds %struct.DBFPROLOG, ptr %9, i32 0, i32 0
  %11 = load i8, ptr %10, align 8, !tbaa !9
  %12 = zext i8 %11 to i32
  %13 = and i32 %12, 3
  %14 = icmp eq i32 %13, 1
  br i1 %14, label %15, label %18

15:                                               ; preds = %1
  %16 = load ptr, ptr @stderr, align 8, !tbaa !5
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.1) #4
  br label %38

18:                                               ; preds = %1
  %19 = load ptr, ptr @stderr, align 8, !tbaa !5
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.DBF, ptr %20, i32 0, i32 18
  %22 = getelementptr inbounds %struct.DBFPROLOG, ptr %21, i32 0, i32 0
  %23 = load i8, ptr %22, align 8, !tbaa !9
  %24 = zext i8 %23 to i32
  %25 = and i32 %24, 3
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.2, i32 noundef %25) #4
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.DBF, ptr %27, i32 0, i32 18
  %29 = getelementptr inbounds %struct.DBFPROLOG, ptr %28, i32 0, i32 0
  %30 = load i8, ptr %29, align 8, !tbaa !9
  %31 = zext i8 %30 to i32
  %32 = and i32 %31, 64
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %37

34:                                               ; preds = %18
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = call i32 @fputc(i32 noundef 43, ptr noundef %35)
  br label %37

37:                                               ; preds = %34, %18
  br label %38

38:                                               ; preds = %37, %15
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = call i32 @fputc(i32 noundef 10, ptr noundef %39)
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.DBF, ptr %41, i32 0, i32 18
  %43 = getelementptr inbounds %struct.DBFPROLOG, ptr %42, i32 0, i32 1
  %44 = load i8, ptr %43, align 1, !tbaa !14
  %45 = zext i8 %44 to i32
  %46 = icmp sge i32 %45, 70
  %47 = zext i1 %46 to i64
  %48 = select i1 %46, i32 1900, i32 2000
  store i32 %48, ptr %3, align 4, !tbaa !15
  %49 = load ptr, ptr @stderr, align 8, !tbaa !5
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.DBF, ptr %50, i32 0, i32 18
  %52 = getelementptr inbounds %struct.DBFPROLOG, ptr %51, i32 0, i32 1
  %53 = load i8, ptr %52, align 1, !tbaa !14
  %54 = zext i8 %53 to i32
  %55 = load i32, ptr %3, align 4, !tbaa !15
  %56 = add nsw i32 %54, %55
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.3, i32 noundef %56) #4
  %58 = load ptr, ptr @stderr, align 8, !tbaa !5
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.DBF, ptr %59, i32 0, i32 18
  %61 = getelementptr inbounds %struct.DBFPROLOG, ptr %60, i32 0, i32 2
  %62 = load i8, ptr %61, align 2, !tbaa !16
  %63 = zext i8 %62 to i32
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.4, i32 noundef %63) #4
  %65 = load ptr, ptr @stderr, align 8, !tbaa !5
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.DBF, ptr %66, i32 0, i32 18
  %68 = getelementptr inbounds %struct.DBFPROLOG, ptr %67, i32 0, i32 3
  %69 = load i8, ptr %68, align 1, !tbaa !17
  %70 = zext i8 %69 to i32
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.5, i32 noundef %70) #4
  %72 = load ptr, ptr @stderr, align 8, !tbaa !5
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.DBF, ptr %73, i32 0, i32 18
  %75 = getelementptr inbounds %struct.DBFPROLOG, ptr %74, i32 0, i32 4
  %76 = load i32, ptr %75, align 4, !tbaa !18
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.6, i32 noundef %76) #4
  %78 = load ptr, ptr @stderr, align 8, !tbaa !5
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.DBF, ptr %79, i32 0, i32 18
  %81 = getelementptr inbounds %struct.DBFPROLOG, ptr %80, i32 0, i32 5
  %82 = load i16, ptr %81, align 8, !tbaa !19
  %83 = zext i16 %82 to i32
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.7, i32 noundef %83) #4
  %85 = load ptr, ptr @stderr, align 8, !tbaa !5
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.DBF, ptr %86, i32 0, i32 18
  %88 = getelementptr inbounds %struct.DBFPROLOG, ptr %87, i32 0, i32 6
  %89 = load i16, ptr %88, align 2, !tbaa !20
  %90 = zext i16 %89 to i32
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.8, i32 noundef %90) #4
  %92 = load ptr, ptr @stderr, align 8, !tbaa !5
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.9) #4
  store i8 1, ptr %4, align 1, !tbaa !21
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.DBF, ptr %94, i32 0, i32 16
  %96 = load ptr, ptr %95, align 8, !tbaa !22
  store ptr %96, ptr %5, align 8, !tbaa !5
  br label %97

97:                                               ; preds = %125, %38
  %98 = load i8, ptr %4, align 1, !tbaa !21
  %99 = zext i8 %98 to i32
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.DBF, ptr %100, i32 0, i32 15
  %102 = load i8, ptr %101, align 8, !tbaa !23
  %103 = zext i8 %102 to i32
  %104 = icmp sle i32 %99, %103
  br i1 %104, label %105, label %130

105:                                              ; preds = %97
  %106 = load ptr, ptr @stderr, align 8, !tbaa !5
  %107 = load i8, ptr %4, align 1, !tbaa !21
  %108 = zext i8 %107 to i32
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.FIELD_RECORD, ptr %109, i32 0, i32 0
  %111 = getelementptr inbounds [11 x i8], ptr %110, i64 0, i64 0
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.FIELD_RECORD, ptr %112, i32 0, i32 1
  %114 = load i8, ptr %113, align 1, !tbaa !24
  %115 = zext i8 %114 to i32
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.FIELD_RECORD, ptr %116, i32 0, i32 3
  %118 = load i8, ptr %117, align 4, !tbaa !26
  %119 = zext i8 %118 to i32
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.FIELD_RECORD, ptr %120, i32 0, i32 4
  %122 = load i8, ptr %121, align 1, !tbaa !27
  %123 = zext i8 %122 to i32
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.10, i32 noundef %108, ptr noundef %111, i32 noundef %115, i32 noundef %119, i32 noundef %123) #4
  br label %125

125:                                              ; preds = %105
  %126 = load i8, ptr %4, align 1, !tbaa !21
  %127 = add i8 %126, 1
  store i8 %127, ptr %4, align 1, !tbaa !21
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.FIELD_RECORD, ptr %128, i32 1
  store ptr %129, ptr %5, align 8, !tbaa !5
  br label %97, !llvm.loop !28

130:                                              ; preds = %97
  %131 = load ptr, ptr @stderr, align 8, !tbaa !5
  %132 = call i32 @fputc(i32 noundef 10, ptr noundef %131)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

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

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 = { 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 = { "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, !7, i64 2112}
!10 = !{!"DBF", !7, i64 0, !7, i64 1024, !6, i64 2048, !6, i64 2056, !11, i64 2064, !11, i64 2068, !7, i64 2072, !7, i64 2073, !7, i64 2074, !7, i64 2075, !7, i64 2076, !7, i64 2077, !7, i64 2078, !11, i64 2080, !11, i64 2084, !7, i64 2088, !6, i64 2096, !6, i64 2104, !12, i64 2112}
!11 = !{!"int", !7, i64 0}
!12 = !{!"DBFPROLOG", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !11, i64 4, !13, i64 8, !13, i64 10, !13, i64 12, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 28, !7, i64 29}
!13 = !{!"short", !7, i64 0}
!14 = !{!10, !7, i64 2113}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !7, i64 2114}
!17 = !{!10, !7, i64 2115}
!18 = !{!10, !11, i64 2116}
!19 = !{!10, !13, i64 2120}
!20 = !{!10, !13, i64 2122}
!21 = !{!7, !7, i64 0}
!22 = !{!10, !6, i64 2096}
!23 = !{!10, !7, i64 2088}
!24 = !{!25, !7, i64 11}
!25 = !{!"FIELD_RECORD", !7, i64 0, !7, i64 11, !11, i64 12, !7, i64 16, !7, i64 17, !7, i64 18}
!26 = !{!25, !7, i64 16}
!27 = !{!25, !7, i64 17}
!28 = distinct !{!28, !29}
!29 = !{!"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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local void @dbf_info(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = load ptr, ptr @stderr, align 8, !tbaa !5
  %3 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str) #2
  %4 = getelementptr inbounds i8, ptr %0, i64 2112
  %5 = load i8, ptr %4, align 8, !tbaa !9
  %6 = and i8 %5, 3
  %7 = icmp eq i8 %6, 1
  br i1 %7, label %8, label %11

8:                                                ; preds = %1
  %9 = load ptr, ptr @stderr, align 8, !tbaa !5
  %10 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.1) #2
  br label %20

11:                                               ; preds = %1
  %12 = zext nneg i8 %6 to i32
  %13 = load ptr, ptr @stderr, align 8, !tbaa !5
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str.2, i32 noundef %12) #2
  %15 = load i8, ptr %4, align 8, !tbaa !9
  %16 = and i8 %15, 64
  %.not = icmp eq i8 %16, 0
  br i1 %.not, label %20, label %17

17:                                               ; preds = %11
  %18 = load ptr, ptr @stderr, align 8, !tbaa !5
  %19 = tail call i32 @fputc(i32 noundef 43, ptr noundef %18)
  br label %20

20:                                               ; preds = %11, %17, %8
  %21 = load ptr, ptr @stderr, align 8, !tbaa !5
  %22 = tail call i32 @fputc(i32 noundef 10, ptr noundef %21)
  %23 = getelementptr inbounds i8, ptr %0, i64 2113
  %24 = load i8, ptr %23, align 1, !tbaa !14
  %25 = zext i8 %24 to i32
  %26 = icmp ugt i8 %24, 69
  %27 = select i1 %26, i32 1900, i32 2000
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = add nuw nsw i32 %27, %25
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str.3, i32 noundef %29) #2
  %31 = load ptr, ptr @stderr, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %0, i64 2114
  %33 = load i8, ptr %32, align 2, !tbaa !15
  %34 = zext i8 %33 to i32
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str.4, i32 noundef %34) #2
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %0, i64 2115
  %38 = load i8, ptr %37, align 1, !tbaa !16
  %39 = zext i8 %38 to i32
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.5, i32 noundef %39) #2
  %41 = load ptr, ptr @stderr, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %0, i64 2116
  %43 = load i32, ptr %42, align 4, !tbaa !17
  %44 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.6, i32 noundef %43) #2
  %45 = load ptr, ptr @stderr, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %0, i64 2120
  %47 = load i16, ptr %46, align 8, !tbaa !18
  %48 = zext i16 %47 to i32
  %49 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.7, i32 noundef %48) #2
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %0, i64 2122
  %52 = load i16, ptr %51, align 2, !tbaa !19
  %53 = zext i16 %52 to i32
  %54 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.8, i32 noundef %53) #2
  %55 = load ptr, ptr @stderr, align 8, !tbaa !5
  %56 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull @.str.9) #2
  %57 = getelementptr inbounds i8, ptr %0, i64 2088
  %58 = load i8, ptr %57, align 8, !tbaa !20
  %.not2324 = icmp eq i8 %58, 0
  br i1 %.not2324, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %20
  %59 = getelementptr inbounds i8, ptr %0, i64 2096
  %60 = load ptr, ptr %59, align 8, !tbaa !21
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.026 = phi ptr [ %74, %.lr.ph ], [ %60, %.lr.ph.preheader ]
  %.02025 = phi i8 [ %73, %.lr.ph ], [ 1, %.lr.ph.preheader ]
  %61 = zext i8 %.02025 to i32
  %62 = load ptr, ptr @stderr, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %.026, i64 11
  %64 = load i8, ptr %63, align 1, !tbaa !22
  %65 = zext i8 %64 to i32
  %66 = getelementptr inbounds i8, ptr %.026, i64 16
  %67 = load i8, ptr %66, align 4, !tbaa !24
  %68 = zext i8 %67 to i32
  %69 = getelementptr inbounds i8, ptr %.026, i64 17
  %70 = load i8, ptr %69, align 1, !tbaa !25
  %71 = zext i8 %70 to i32
  %72 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.10, i32 noundef %61, ptr noundef %.026, i32 noundef %65, i32 noundef %68, i32 noundef %71) #2
  %73 = add i8 %.02025, 1
  %74 = getelementptr inbounds i8, ptr %.026, i64 32
  %75 = load i8, ptr %57, align 8, !tbaa !20
  %.not23 = icmp ugt i8 %73, %75
  br i1 %.not23, label %._crit_edge, label %.lr.ph, !llvm.loop !26

._crit_edge:                                      ; preds = %.lr.ph, %20
  %76 = load ptr, ptr @stderr, align 8, !tbaa !5
  %77 = tail call i32 @fputc(i32 noundef 10, ptr noundef %76)
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #1

attributes #0 = { nofree 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 = { 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 #2 = { cold 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 2112}
!10 = !{!"DBF", !7, i64 0, !7, i64 1024, !6, i64 2048, !6, i64 2056, !11, i64 2064, !11, i64 2068, !7, i64 2072, !7, i64 2073, !7, i64 2074, !7, i64 2075, !7, i64 2076, !7, i64 2077, !7, i64 2078, !11, i64 2080, !11, i64 2084, !7, i64 2088, !6, i64 2096, !6, i64 2104, !12, i64 2112}
!11 = !{!"int", !7, i64 0}
!12 = !{!"DBFPROLOG", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !11, i64 4, !13, i64 8, !13, i64 10, !13, i64 12, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 28, !7, i64 29}
!13 = !{!"short", !7, i64 0}
!14 = !{!10, !7, i64 2113}
!15 = !{!10, !7, i64 2114}
!16 = !{!10, !7, i64 2115}
!17 = !{!10, !11, i64 2116}
!18 = !{!10, !13, i64 2120}
!19 = !{!10, !13, i64 2122}
!20 = !{!10, !7, i64 2088}
!21 = !{!10, !6, i64 2096}
!22 = !{!23, !7, i64 11}
!23 = !{!"FIELD_RECORD", !7, i64 0, !7, i64 11, !11, i64 12, !7, i64 16, !7, i64 17, !7, i64 18}
!24 = !{!23, !7, i64 16}
!25 = !{!23, !7, i64 17}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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