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

; 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.complex = type { float, float }

@.str = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @cpoequ_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %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 i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %24 = load ptr, ptr %10, align 8, !tbaa !5
  %25 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %25, ptr %15, align 4, !tbaa !9
  %26 = load i32, ptr %15, align 4, !tbaa !9
  %27 = mul nsw i32 %26, 1
  %28 = add nsw i32 1, %27
  store i32 %28, ptr %16, align 4, !tbaa !9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = sext i32 %29 to i64
  %32 = sub i64 0, %31
  %33 = getelementptr inbounds %struct.complex, ptr %30, i64 %32
  store ptr %33, ptr %9, align 8, !tbaa !5
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = getelementptr inbounds float, ptr %34, i32 -1
  store ptr %35, ptr %11, align 8, !tbaa !5
  %36 = load ptr, ptr %14, align 8, !tbaa !5
  store i32 0, ptr %36, align 4, !tbaa !9
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = icmp slt i32 %38, 0
  br i1 %39, label %40, label %42

40:                                               ; preds = %7
  %41 = load ptr, ptr %14, align 8, !tbaa !5
  store i32 -1, ptr %41, align 4, !tbaa !9
  br label %58

42:                                               ; preds = %7
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = load i32, ptr %45, align 4, !tbaa !9
  %47 = icmp sge i32 1, %46
  br i1 %47, label %48, label %49

48:                                               ; preds = %42
  br label %52

49:                                               ; preds = %42
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = load i32, ptr %50, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %49, %48
  %53 = phi i32 [ 1, %48 ], [ %51, %49 ]
  %54 = icmp slt i32 %44, %53
  br i1 %54, label %55, label %57

55:                                               ; preds = %52
  %56 = load ptr, ptr %14, align 8, !tbaa !5
  store i32 -3, ptr %56, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %55, %52
  br label %58

58:                                               ; preds = %57, %40
  %59 = load ptr, ptr %14, align 8, !tbaa !5
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %67

62:                                               ; preds = %58
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = sub nsw i32 0, %64
  store i32 %65, ptr %17, align 4, !tbaa !9
  %66 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %17, i32 noundef 6)
  store i32 1, ptr %23, align 4
  br label %210

67:                                               ; preds = %58
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %74

71:                                               ; preds = %67
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  store float 1.000000e+00, ptr %72, align 4, !tbaa !11
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  store float 0.000000e+00, ptr %73, align 4, !tbaa !11
  store i32 1, ptr %23, align 4
  br label %210

74:                                               ; preds = %67
  %75 = load i32, ptr %15, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %17, align 4, !tbaa !9
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = load i32, ptr %17, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds %struct.complex, ptr %77, i64 %79
  %81 = getelementptr inbounds %struct.complex, ptr %80, i32 0, i32 0
  %82 = load float, ptr %81, align 4, !tbaa !13
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds float, ptr %83, i64 1
  store float %82, ptr %84, align 4, !tbaa !11
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds float, ptr %85, i64 1
  %87 = load float, ptr %86, align 4, !tbaa !11
  store float %87, ptr %21, align 4, !tbaa !11
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = getelementptr inbounds float, ptr %88, i64 1
  %90 = load float, ptr %89, align 4, !tbaa !11
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  store float %90, ptr %91, align 4, !tbaa !11
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = load i32, ptr %92, align 4, !tbaa !9
  store i32 %93, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %22, align 4, !tbaa !9
  br label %94

94:                                               ; preds = %146, %74
  %95 = load i32, ptr %22, align 4, !tbaa !9
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = icmp sle i32 %95, %96
  br i1 %97, label %98, label %149

98:                                               ; preds = %94
  %99 = load i32, ptr %22, align 4, !tbaa !9
  %100 = load i32, ptr %22, align 4, !tbaa !9
  %101 = load i32, ptr %15, align 4, !tbaa !9
  %102 = mul nsw i32 %100, %101
  %103 = add nsw i32 %99, %102
  store i32 %103, ptr %18, align 4, !tbaa !9
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = load i32, ptr %18, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds %struct.complex, ptr %104, i64 %106
  %108 = getelementptr inbounds %struct.complex, ptr %107, i32 0, i32 0
  %109 = load float, ptr %108, align 4, !tbaa !13
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = load i32, ptr %22, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds float, ptr %110, i64 %112
  store float %109, ptr %113, align 4, !tbaa !11
  %114 = load float, ptr %21, align 4, !tbaa !11
  store float %114, ptr %19, align 4, !tbaa !11
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = load i32, ptr %22, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds float, ptr %115, i64 %117
  %119 = load float, ptr %118, align 4, !tbaa !11
  store float %119, ptr %20, align 4, !tbaa !11
  %120 = load float, ptr %19, align 4, !tbaa !11
  %121 = load float, ptr %20, align 4, !tbaa !11
  %122 = fcmp ole float %120, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %98
  %124 = load float, ptr %19, align 4, !tbaa !11
  br label %127

125:                                              ; preds = %98
  %126 = load float, ptr %20, align 4, !tbaa !11
  br label %127

127:                                              ; preds = %125, %123
  %128 = phi float [ %124, %123 ], [ %126, %125 ]
  store float %128, ptr %21, align 4, !tbaa !11
  %129 = load ptr, ptr %13, align 8, !tbaa !5
  %130 = load float, ptr %129, align 4, !tbaa !11
  store float %130, ptr %19, align 4, !tbaa !11
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = load i32, ptr %22, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds float, ptr %131, i64 %133
  %135 = load float, ptr %134, align 4, !tbaa !11
  store float %135, ptr %20, align 4, !tbaa !11
  %136 = load float, ptr %19, align 4, !tbaa !11
  %137 = load float, ptr %20, align 4, !tbaa !11
  %138 = fcmp oge float %136, %137
  br i1 %138, label %139, label %141

139:                                              ; preds = %127
  %140 = load float, ptr %19, align 4, !tbaa !11
  br label %143

141:                                              ; preds = %127
  %142 = load float, ptr %20, align 4, !tbaa !11
  br label %143

143:                                              ; preds = %141, %139
  %144 = phi float [ %140, %139 ], [ %142, %141 ]
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  store float %144, ptr %145, align 4, !tbaa !11
  br label %146

146:                                              ; preds = %143
  %147 = load i32, ptr %22, align 4, !tbaa !9
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %22, align 4, !tbaa !9
  br label %94, !llvm.loop !15

149:                                              ; preds = %94
  %150 = load float, ptr %21, align 4, !tbaa !11
  %151 = fcmp ole float %150, 0.000000e+00
  br i1 %151, label %152, label %174

152:                                              ; preds = %149
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = load i32, ptr %153, align 4, !tbaa !9
  store i32 %154, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %170, %152
  %156 = load i32, ptr %22, align 4, !tbaa !9
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = icmp sle i32 %156, %157
  br i1 %158, label %159, label %173

159:                                              ; preds = %155
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = load i32, ptr %22, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds float, ptr %160, i64 %162
  %164 = load float, ptr %163, align 4, !tbaa !11
  %165 = fcmp ole float %164, 0.000000e+00
  br i1 %165, label %166, label %169

166:                                              ; preds = %159
  %167 = load i32, ptr %22, align 4, !tbaa !9
  %168 = load ptr, ptr %14, align 8, !tbaa !5
  store i32 %167, ptr %168, align 4, !tbaa !9
  store i32 1, ptr %23, align 4
  br label %210

169:                                              ; preds = %159
  br label %170

170:                                              ; preds = %169
  %171 = load i32, ptr %22, align 4, !tbaa !9
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %22, align 4, !tbaa !9
  br label %155, !llvm.loop !17

173:                                              ; preds = %155
  br label %209

174:                                              ; preds = %149
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = load i32, ptr %175, align 4, !tbaa !9
  store i32 %176, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %177

177:                                              ; preds = %195, %174
  %178 = load i32, ptr %22, align 4, !tbaa !9
  %179 = load i32, ptr %17, align 4, !tbaa !9
  %180 = icmp sle i32 %178, %179
  br i1 %180, label %181, label %198

181:                                              ; preds = %177
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = load i32, ptr %22, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds float, ptr %182, i64 %184
  %186 = load float, ptr %185, align 4, !tbaa !11
  %187 = fpext float %186 to double
  %188 = call double @sqrt(double noundef %187) #4
  %189 = fdiv double 1.000000e+00, %188
  %190 = fptrunc double %189 to float
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = load i32, ptr %22, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds float, ptr %191, i64 %193
  store float %190, ptr %194, align 4, !tbaa !11
  br label %195

195:                                              ; preds = %181
  %196 = load i32, ptr %22, align 4, !tbaa !9
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %22, align 4, !tbaa !9
  br label %177, !llvm.loop !18

198:                                              ; preds = %177
  %199 = load float, ptr %21, align 4, !tbaa !11
  %200 = fpext float %199 to double
  %201 = call double @sqrt(double noundef %200) #4
  %202 = load ptr, ptr %13, align 8, !tbaa !5
  %203 = load float, ptr %202, align 4, !tbaa !11
  %204 = fpext float %203 to double
  %205 = call double @sqrt(double noundef %204) #4
  %206 = fdiv double %201, %205
  %207 = fptrunc double %206 to float
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  store float %207, ptr %208, align 4, !tbaa !11
  br label %209

209:                                              ; preds = %198, %173
  store i32 1, ptr %23, align 4
  br label %210

210:                                              ; preds = %209, %166, %71, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  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 @xerbla_(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double 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 = { "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 "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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"", !12, i64 0, !12, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


; 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.complex = type { float, float }

@.str = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @cpoequ_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 {
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = add i32 %9, 1
  %narrow = xor i32 %9, -1
  %11 = sext i32 %narrow to i64
  %12 = getelementptr inbounds %struct.complex, ptr %1, i64 %11
  %13 = getelementptr inbounds i8, ptr %3, i64 -4
  store i32 0, ptr %6, align 4, !tbaa !5
  %14 = load i32, ptr %0, align 4, !tbaa !5
  %15 = icmp slt i32 %14, 0
  br i1 %15, label %.thread, label %16

16:                                               ; preds = %7
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %spec.select = tail call i32 @llvm.umax.i32(i32 %14, i32 1)
  %18 = icmp slt i32 %17, %spec.select
  br i1 %18, label %.thread, label %21

.thread:                                          ; preds = %16, %7
  %storemerge = phi i32 [ -1, %7 ], [ -3, %16 ]
  store i32 %storemerge, ptr %6, align 4, !tbaa !5
  %19 = sub nsw i32 0, %storemerge
  store i32 %19, ptr %8, align 4, !tbaa !5
  %20 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %8, i32 noundef 6) #5
  br label %.loopexit

21:                                               ; preds = %16
  %22 = icmp eq i32 %14, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %21
  store float 1.000000e+00, ptr %4, align 4, !tbaa !9
  store float 0.000000e+00, ptr %5, align 4, !tbaa !9
  br label %.loopexit

24:                                               ; preds = %21
  %25 = load float, ptr %1, align 4, !tbaa !11
  store float %25, ptr %3, align 4, !tbaa !9
  store float %25, ptr %5, align 4, !tbaa !9
  %.not6873 = icmp eq i32 %14, 1
  br i1 %.not6873, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %24
  %26 = add nuw i32 %14, 1
  %wide.trip.count = zext i32 %26 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 2, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.06574 = phi float [ %25, %.lr.ph.preheader ], [ %34, %.lr.ph ]
  %27 = trunc nuw nsw i64 %indvars.iv to i32
  %28 = mul i32 %10, %27
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds %struct.complex, ptr %12, i64 %29
  %31 = load float, ptr %30, align 4, !tbaa !11
  %32 = getelementptr inbounds float, ptr %13, i64 %indvars.iv
  store float %31, ptr %32, align 4, !tbaa !9
  %33 = fcmp ole float %.06574, %31
  %34 = select i1 %33, float %.06574, float %31
  %35 = load float, ptr %5, align 4, !tbaa !9
  %36 = fcmp oge float %35, %31
  %37 = select i1 %36, float %35, float %31
  store float %37, ptr %5, align 4, !tbaa !9
  %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 %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %24
  %.065.lcssa = phi float [ %25, %24 ], [ %34, %.lr.ph ]
  %38 = fcmp ugt float %.065.lcssa, 0.000000e+00
  %39 = add nuw i32 %14, 1
  %wide.trip.count95 = zext i32 %39 to i64
  br i1 %38, label %.lr.ph83.preheader, label %.lr.ph79

.lr.ph83.preheader:                               ; preds = %._crit_edge
  %40 = zext nneg i32 %14 to i64
  %xtraiter = and i64 %40, 1
  %41 = icmp eq i32 %39, 2
  br i1 %41, label %._crit_edge84.unr-lcssa, label %.lr.ph83.preheader.new

.lr.ph83.preheader.new:                           ; preds = %.lr.ph83.preheader
  %unroll_iter = and i64 %40, 2147483646
  br label %.lr.ph83

.lr.ph79:                                         ; preds = %._crit_edge, %47
  %indvars.iv87 = phi i64 [ %indvars.iv.next88, %47 ], [ 1, %._crit_edge ]
  %42 = getelementptr inbounds float, ptr %13, i64 %indvars.iv87
  %43 = load float, ptr %42, align 4, !tbaa !9
  %44 = fcmp ugt float %43, 0.000000e+00
  br i1 %44, label %47, label %45

45:                                               ; preds = %.lr.ph79
  %46 = trunc nuw nsw i64 %indvars.iv87 to i32
  store i32 %46, ptr %6, align 4, !tbaa !5
  br label %.loopexit

47:                                               ; preds = %.lr.ph79
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %exitcond91.not = icmp eq i64 %indvars.iv.next88, %wide.trip.count95
  br i1 %exitcond91.not, label %.loopexit, label %.lr.ph79, !llvm.loop !15

.lr.ph83:                                         ; preds = %.lr.ph83, %.lr.ph83.preheader.new
  %indvars.iv92 = phi i64 [ 1, %.lr.ph83.preheader.new ], [ %indvars.iv.next93.1, %.lr.ph83 ]
  %niter = phi i64 [ 0, %.lr.ph83.preheader.new ], [ %niter.next.1, %.lr.ph83 ]
  %48 = getelementptr inbounds float, ptr %13, i64 %indvars.iv92
  %49 = load float, ptr %48, align 4, !tbaa !9
  %50 = fpext float %49 to double
  %51 = tail call double @sqrt(double noundef %50) #5
  %52 = fdiv double 1.000000e+00, %51
  %53 = fptrunc double %52 to float
  store float %53, ptr %48, align 4, !tbaa !9
  %54 = getelementptr float, ptr %3, i64 %indvars.iv92
  %55 = load float, ptr %54, align 4, !tbaa !9
  %56 = fpext float %55 to double
  %57 = tail call double @sqrt(double noundef %56) #5
  %58 = fdiv double 1.000000e+00, %57
  %59 = fptrunc double %58 to float
  store float %59, ptr %54, align 4, !tbaa !9
  %indvars.iv.next93.1 = add nuw nsw i64 %indvars.iv92, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge84.unr-lcssa, label %.lr.ph83, !llvm.loop !16

._crit_edge84.unr-lcssa:                          ; preds = %.lr.ph83, %.lr.ph83.preheader
  %indvars.iv92.unr = phi i64 [ 1, %.lr.ph83.preheader ], [ %indvars.iv.next93.1, %.lr.ph83 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge84, label %.lr.ph83.epil

.lr.ph83.epil:                                    ; preds = %._crit_edge84.unr-lcssa
  %60 = getelementptr inbounds float, ptr %13, i64 %indvars.iv92.unr
  %61 = load float, ptr %60, align 4, !tbaa !9
  %62 = fpext float %61 to double
  %63 = tail call double @sqrt(double noundef %62) #5
  %64 = fdiv double 1.000000e+00, %63
  %65 = fptrunc double %64 to float
  store float %65, ptr %60, align 4, !tbaa !9
  br label %._crit_edge84

._crit_edge84:                                    ; preds = %._crit_edge84.unr-lcssa, %.lr.ph83.epil
  %66 = fpext float %.065.lcssa to double
  %67 = tail call double @sqrt(double noundef %66) #5
  %68 = load float, ptr %5, align 4, !tbaa !9
  %69 = fpext float %68 to double
  %70 = tail call double @sqrt(double noundef %69) #5
  %71 = fdiv double %67, %70
  %72 = fptrunc double %71 to float
  store float %72, ptr %4, align 4, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %47, %._crit_edge84, %45, %23, %.thread
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  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 @xerbla_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4

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 = { mustprogress nofree nounwind willreturn memory(write) "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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