; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/SRC (dlarf)

; 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 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@c_b4 = external hidden global double, align 8
@c_b5 = external hidden global double, align 8
@c__1 = external hidden global i32, align 4
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @dlarf_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %26 = load ptr, ptr %13, align 8, !tbaa !5
  %27 = getelementptr inbounds double, ptr %26, i32 -1
  store ptr %27, ptr %13, align 8, !tbaa !5
  %28 = load ptr, ptr %17, align 8, !tbaa !5
  %29 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %29, ptr %19, align 4, !tbaa !9
  %30 = load i32, ptr %19, align 4, !tbaa !9
  %31 = mul nsw i32 %30, 1
  %32 = add nsw i32 1, %31
  store i32 %32, ptr %20, align 4, !tbaa !9
  %33 = load i32, ptr %20, align 4, !tbaa !9
  %34 = load ptr, ptr %16, align 8, !tbaa !5
  %35 = sext i32 %33 to i64
  %36 = sub i64 0, %35
  %37 = getelementptr inbounds double, ptr %34, i64 %36
  store ptr %37, ptr %16, align 8, !tbaa !5
  %38 = load ptr, ptr %18, align 8, !tbaa !5
  %39 = getelementptr inbounds double, ptr %38, i32 -1
  store ptr %39, ptr %18, align 8, !tbaa !5
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = call i32 @lsame_(ptr noundef %40, ptr noundef @.str)
  store i32 %41, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %24, align 4, !tbaa !9
  store i32 0, ptr %23, align 4, !tbaa !9
  %42 = load ptr, ptr %15, align 8, !tbaa !5
  %43 = load double, ptr %42, align 8, !tbaa !11
  %44 = fcmp une double %43, 0.000000e+00
  br i1 %44, label %45, label %106

45:                                               ; preds = %9
  %46 = load i32, ptr %25, align 4, !tbaa !9
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %51

48:                                               ; preds = %45
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = load i32, ptr %49, align 4, !tbaa !9
  store i32 %50, ptr %24, align 4, !tbaa !9
  br label %54

51:                                               ; preds = %45
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = load i32, ptr %52, align 4, !tbaa !9
  store i32 %53, ptr %24, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %51, %48
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  %56 = load i32, ptr %55, align 4, !tbaa !9
  %57 = icmp sgt i32 %56, 0
  br i1 %57, label %58, label %65

58:                                               ; preds = %54
  %59 = load i32, ptr %24, align 4, !tbaa !9
  %60 = sub nsw i32 %59, 1
  %61 = load ptr, ptr %14, align 8, !tbaa !5
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = mul nsw i32 %60, %62
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %22, align 4, !tbaa !9
  br label %66

65:                                               ; preds = %54
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %65, %58
  br label %67

67:                                               ; preds = %79, %66
  %68 = load i32, ptr %24, align 4, !tbaa !9
  %69 = icmp sgt i32 %68, 0
  br i1 %69, label %70, label %77

70:                                               ; preds = %67
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = load i32, ptr %22, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds double, ptr %71, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !11
  %76 = fcmp oeq double %75, 0.000000e+00
  br label %77

77:                                               ; preds = %70, %67
  %78 = phi i1 [ false, %67 ], [ %76, %70 ]
  br i1 %78, label %79, label %86

79:                                               ; preds = %77
  %80 = load i32, ptr %24, align 4, !tbaa !9
  %81 = add nsw i32 %80, -1
  store i32 %81, ptr %24, align 4, !tbaa !9
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = load i32, ptr %22, align 4, !tbaa !9
  %85 = sub nsw i32 %84, %83
  store i32 %85, ptr %22, align 4, !tbaa !9
  br label %67, !llvm.loop !13

86:                                               ; preds = %77
  %87 = load i32, ptr %25, align 4, !tbaa !9
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %97

89:                                               ; preds = %86
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = load ptr, ptr %16, align 8, !tbaa !5
  %92 = load i32, ptr %20, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds double, ptr %91, i64 %93
  %95 = load ptr, ptr %17, align 8, !tbaa !5
  %96 = call i32 @iladlc_(ptr noundef %24, ptr noundef %90, ptr noundef %94, ptr noundef %95)
  store i32 %96, ptr %23, align 4, !tbaa !9
  br label %105

97:                                               ; preds = %86
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load ptr, ptr %16, align 8, !tbaa !5
  %100 = load i32, ptr %20, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds double, ptr %99, i64 %101
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = call i32 @iladlr_(ptr noundef %98, ptr noundef %24, ptr noundef %102, ptr noundef %103)
  store i32 %104, ptr %23, align 4, !tbaa !9
  br label %105

105:                                              ; preds = %97, %89
  br label %106

106:                                              ; preds = %105, %9
  %107 = load i32, ptr %25, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %137

109:                                              ; preds = %106
  %110 = load i32, ptr %24, align 4, !tbaa !9
  %111 = icmp sgt i32 %110, 0
  br i1 %111, label %112, label %136

112:                                              ; preds = %109
  %113 = load ptr, ptr %16, align 8, !tbaa !5
  %114 = load i32, ptr %20, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds double, ptr %113, i64 %115
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  %119 = getelementptr inbounds double, ptr %118, i64 1
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  %121 = load ptr, ptr %18, align 8, !tbaa !5
  %122 = getelementptr inbounds double, ptr %121, i64 1
  call void @dgemv_(ptr noundef @.str.1, ptr noundef %24, ptr noundef %23, ptr noundef @c_b4, ptr noundef %116, ptr noundef %117, ptr noundef %119, ptr noundef %120, ptr noundef @c_b5, ptr noundef %122, ptr noundef @c__1)
  %123 = load ptr, ptr %15, align 8, !tbaa !5
  %124 = load double, ptr %123, align 8, !tbaa !11
  %125 = fneg double %124
  store double %125, ptr %21, align 8, !tbaa !11
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  %127 = getelementptr inbounds double, ptr %126, i64 1
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  %129 = load ptr, ptr %18, align 8, !tbaa !5
  %130 = getelementptr inbounds double, ptr %129, i64 1
  %131 = load ptr, ptr %16, align 8, !tbaa !5
  %132 = load i32, ptr %20, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %131, i64 %133
  %135 = load ptr, ptr %17, align 8, !tbaa !5
  call void @dger_(ptr noundef %24, ptr noundef %23, ptr noundef %21, ptr noundef %127, ptr noundef %128, ptr noundef %130, ptr noundef @c__1, ptr noundef %134, ptr noundef %135)
  br label %136

136:                                              ; preds = %112, %109
  br label %165

137:                                              ; preds = %106
  %138 = load i32, ptr %24, align 4, !tbaa !9
  %139 = icmp sgt i32 %138, 0
  br i1 %139, label %140, label %164

140:                                              ; preds = %137
  %141 = load ptr, ptr %16, align 8, !tbaa !5
  %142 = load i32, ptr %20, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds double, ptr %141, i64 %143
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = getelementptr inbounds double, ptr %146, i64 1
  %148 = load ptr, ptr %14, align 8, !tbaa !5
  %149 = load ptr, ptr %18, align 8, !tbaa !5
  %150 = getelementptr inbounds double, ptr %149, i64 1
  call void @dgemv_(ptr noundef @.str.2, ptr noundef %23, ptr noundef %24, ptr noundef @c_b4, ptr noundef %144, ptr noundef %145, ptr noundef %147, ptr noundef %148, ptr noundef @c_b5, ptr noundef %150, ptr noundef @c__1)
  %151 = load ptr, ptr %15, align 8, !tbaa !5
  %152 = load double, ptr %151, align 8, !tbaa !11
  %153 = fneg double %152
  store double %153, ptr %21, align 8, !tbaa !11
  %154 = load ptr, ptr %18, align 8, !tbaa !5
  %155 = getelementptr inbounds double, ptr %154, i64 1
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = getelementptr inbounds double, ptr %156, i64 1
  %158 = load ptr, ptr %14, align 8, !tbaa !5
  %159 = load ptr, ptr %16, align 8, !tbaa !5
  %160 = load i32, ptr %20, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %159, i64 %161
  %163 = load ptr, ptr %17, align 8, !tbaa !5
  call void @dger_(ptr noundef %23, ptr noundef %24, ptr noundef %21, ptr noundef %155, ptr noundef @c__1, ptr noundef %157, ptr noundef %158, ptr noundef %162, ptr noundef %163)
  br label %164

164:                                              ; preds = %140, %137
  br label %165

165:                                              ; preds = %164, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  ret void
}

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

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

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

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

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

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

; 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 = { "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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@c_b4 = external hidden global double, align 8
@c_b5 = external hidden global double, align 8
@c__1 = external hidden global i32, align 4
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @dlarf_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #0 {
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
  %13 = getelementptr inbounds i8, ptr %3, i64 -8
  %14 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3
  store i32 0, ptr %11, align 4, !tbaa !5
  %15 = load double, ptr %5, align 8, !tbaa !9
  %16 = fcmp une double %15, 0.000000e+00
  br i1 %16, label %17, label %.thread63

17:                                               ; preds = %9
  %.not = icmp eq i32 %14, 0
  %. = select i1 %.not, ptr %2, ptr %1
  %storemerge = load i32, ptr %., align 4, !tbaa !5
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = icmp sgt i32 %storemerge, 0
  br i1 %19, label %.lr.ph.preheader, label %.critedge

.lr.ph.preheader:                                 ; preds = %17
  %.inv = icmp slt i32 %18, 1
  %20 = add nsw i32 %storemerge, -1
  %21 = mul nsw i32 %18, %20
  %22 = add nsw i32 %21, 1
  %.0 = select i1 %.inv, i32 1, i32 %22
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %28
  %.158 = phi i32 [ %30, %28 ], [ %.0, %.lr.ph.preheader ]
  %23 = phi i32 [ %29, %28 ], [ %storemerge, %.lr.ph.preheader ]
  %24 = sext i32 %.158 to i64
  %25 = getelementptr inbounds double, ptr %13, i64 %24
  %26 = load double, ptr %25, align 8, !tbaa !9
  %27 = fcmp oeq double %26, 0.000000e+00
  br i1 %27, label %28, label %.critedge

28:                                               ; preds = %.lr.ph
  %29 = add nsw i32 %23, -1
  %30 = sub nsw i32 %.158, %18
  %31 = icmp sgt i32 %23, 1
  br i1 %31, label %.lr.ph, label %.critedge, !llvm.loop !11

.critedge:                                        ; preds = %.lr.ph, %28, %17
  %.lcssa = phi i32 [ %storemerge, %17 ], [ 0, %28 ], [ %23, %.lr.ph ]
  store i32 %.lcssa, ptr %12, align 4, !tbaa !5
  br i1 %.not, label %38, label %32

32:                                               ; preds = %.critedge
  %33 = call i32 @iladlc_(ptr noundef nonnull %12, ptr noundef %2, ptr noundef %6, ptr noundef nonnull %7) #3
  store i32 %33, ptr %11, align 4, !tbaa !5
  %.pre = load i32, ptr %12, align 4, !tbaa !5
  %34 = icmp sgt i32 %.pre, 0
  br i1 %34, label %35, label %.thread63

35:                                               ; preds = %32
  call void @dgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull @c_b4, ptr noundef %6, ptr noundef %7, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull @c_b5, ptr noundef %8, ptr noundef nonnull @c__1) #3
  %36 = load double, ptr %5, align 8, !tbaa !9
  %37 = fneg double %36
  store double %37, ptr %10, align 8, !tbaa !9
  call void @dger_(ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull %10, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %8, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef %7) #3
  br label %.thread63

38:                                               ; preds = %.critedge
  %39 = call i32 @iladlr_(ptr noundef %1, ptr noundef nonnull %12, ptr noundef %6, ptr noundef nonnull %7) #3
  store i32 %39, ptr %11, align 4, !tbaa !5
  %.pre61 = load i32, ptr %12, align 4, !tbaa !5
  %40 = icmp sgt i32 %.pre61, 0
  br i1 %40, label %41, label %.thread63

41:                                               ; preds = %38
  call void @dgemv_(ptr noundef nonnull @.str.2, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull @c_b4, ptr noundef %6, ptr noundef nonnull %7, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull @c_b5, ptr noundef %8, ptr noundef nonnull @c__1) #3
  %42 = load double, ptr %5, align 8, !tbaa !9
  %43 = fneg double %42
  store double %43, ptr %10, align 8, !tbaa !9
  call void @dger_(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %10, ptr noundef %8, ptr noundef nonnull @c__1, ptr noundef %3, ptr noundef nonnull %4, ptr noundef %6, ptr noundef nonnull %7) #3
  br label %.thread63

.thread63:                                        ; preds = %9, %38, %41, %32, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  ret void
}

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

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

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

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

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

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

; Function Attrs: mustprogress 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 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: ADCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass