; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (cpoequb)

; 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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

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

42:                                               ; preds = %7
  %43 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -1, ptr %43, align 8, !tbaa !9
  br label %60

44:                                               ; preds = %7
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = load i64, ptr %45, align 8, !tbaa !9
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = icmp sge i64 1, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %44
  br label %54

51:                                               ; preds = %44
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = load i64, ptr %52, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %51, %50
  %55 = phi i64 [ 1, %50 ], [ %53, %51 ]
  %56 = icmp slt i64 %46, %55
  br i1 %56, label %57, label %59

57:                                               ; preds = %54
  %58 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -3, ptr %58, align 8, !tbaa !9
  br label %59

59:                                               ; preds = %57, %54
  br label %60

60:                                               ; preds = %59, %42
  %61 = load ptr, ptr %15, align 8, !tbaa !5
  %62 = load i64, ptr %61, align 8, !tbaa !9
  %63 = icmp ne i64 %62, 0
  br i1 %63, label %64, label %69

64:                                               ; preds = %60
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = load i64, ptr %65, align 8, !tbaa !9
  %67 = sub nsw i64 0, %66
  store i64 %67, ptr %18, align 8, !tbaa !9
  %68 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %18)
  store i32 0, ptr %8, align 4
  store i32 1, ptr %27, align 4
  br label %220

69:                                               ; preds = %60
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = load i64, ptr %70, align 8, !tbaa !9
  %72 = icmp eq i64 %71, 0
  br i1 %72, label %73, label %76

73:                                               ; preds = %69
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  store float 1.000000e+00, ptr %74, align 4, !tbaa !11
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  store float 0.000000e+00, ptr %75, align 4, !tbaa !11
  store i32 0, ptr %8, align 4
  store i32 1, ptr %27, align 4
  br label %220

76:                                               ; preds = %69
  %77 = call double @slamch_(ptr noundef @.str.1)
  %78 = fptrunc double %77 to float
  store float %78, ptr %25, align 4, !tbaa !11
  %79 = load float, ptr %25, align 4, !tbaa !11
  %80 = fpext float %79 to double
  %81 = call double @log(double noundef %80) #4
  %82 = fdiv double -5.000000e-01, %81
  %83 = fptrunc double %82 to float
  store float %83, ptr %24, align 4, !tbaa !11
  %84 = load i64, ptr %16, align 8, !tbaa !9
  %85 = add nsw i64 %84, 1
  store i64 %85, ptr %18, align 8, !tbaa !9
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = load i64, ptr %18, align 8, !tbaa !9
  %88 = getelementptr inbounds %struct.complex, ptr %86, i64 %87
  %89 = getelementptr inbounds %struct.complex, ptr %88, i32 0, i32 0
  %90 = load float, ptr %89, align 4, !tbaa !13
  %91 = load ptr, ptr %12, align 8, !tbaa !5
  %92 = getelementptr inbounds float, ptr %91, i64 1
  store float %90, ptr %92, align 4, !tbaa !11
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = getelementptr inbounds float, ptr %93, i64 1
  %95 = load float, ptr %94, align 4, !tbaa !11
  store float %95, ptr %26, align 4, !tbaa !11
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds float, ptr %96, i64 1
  %98 = load float, ptr %97, align 4, !tbaa !11
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  store float %98, ptr %99, align 4, !tbaa !11
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = load i64, ptr %100, align 8, !tbaa !9
  store i64 %101, ptr %18, align 8, !tbaa !9
  store i64 2, ptr %23, align 8, !tbaa !9
  br label %102

102:                                              ; preds = %155, %76
  %103 = load i64, ptr %23, align 8, !tbaa !9
  %104 = load i64, ptr %18, align 8, !tbaa !9
  %105 = icmp sle i64 %103, %104
  br i1 %105, label %106, label %158

106:                                              ; preds = %102
  %107 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %107, ptr %19, align 8, !tbaa !9
  %108 = load i64, ptr %23, align 8, !tbaa !9
  %109 = load i64, ptr %23, align 8, !tbaa !9
  %110 = load i64, ptr %16, align 8, !tbaa !9
  %111 = mul nsw i64 %109, %110
  %112 = add nsw i64 %108, %111
  store i64 %112, ptr %20, align 8, !tbaa !9
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = load i64, ptr %20, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.complex, ptr %113, i64 %114
  %116 = getelementptr inbounds %struct.complex, ptr %115, i32 0, i32 0
  %117 = load float, ptr %116, align 4, !tbaa !13
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = load i64, ptr %19, align 8, !tbaa !9
  %120 = getelementptr inbounds float, ptr %118, i64 %119
  store float %117, ptr %120, align 4, !tbaa !11
  %121 = load float, ptr %26, align 4, !tbaa !11
  store float %121, ptr %21, align 4, !tbaa !11
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = load i64, ptr %23, align 8, !tbaa !9
  %124 = getelementptr inbounds float, ptr %122, i64 %123
  %125 = load float, ptr %124, align 4, !tbaa !11
  store float %125, ptr %22, align 4, !tbaa !11
  %126 = load float, ptr %21, align 4, !tbaa !11
  %127 = load float, ptr %22, align 4, !tbaa !11
  %128 = fcmp ole float %126, %127
  br i1 %128, label %129, label %131

129:                                              ; preds = %106
  %130 = load float, ptr %21, align 4, !tbaa !11
  br label %133

131:                                              ; preds = %106
  %132 = load float, ptr %22, align 4, !tbaa !11
  br label %133

133:                                              ; preds = %131, %129
  %134 = phi float [ %130, %129 ], [ %132, %131 ]
  %135 = fpext float %134 to double
  %136 = fptrunc double %135 to float
  store float %136, ptr %26, align 4, !tbaa !11
  %137 = load ptr, ptr %14, align 8, !tbaa !5
  %138 = load float, ptr %137, align 4, !tbaa !11
  store float %138, ptr %21, align 4, !tbaa !11
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = load i64, ptr %23, align 8, !tbaa !9
  %141 = getelementptr inbounds float, ptr %139, i64 %140
  %142 = load float, ptr %141, align 4, !tbaa !11
  store float %142, ptr %22, align 4, !tbaa !11
  %143 = load float, ptr %21, align 4, !tbaa !11
  %144 = load float, ptr %22, align 4, !tbaa !11
  %145 = fcmp oge float %143, %144
  br i1 %145, label %146, label %148

146:                                              ; preds = %133
  %147 = load float, ptr %21, align 4, !tbaa !11
  br label %150

148:                                              ; preds = %133
  %149 = load float, ptr %22, align 4, !tbaa !11
  br label %150

150:                                              ; preds = %148, %146
  %151 = phi float [ %147, %146 ], [ %149, %148 ]
  %152 = fpext float %151 to double
  %153 = fptrunc double %152 to float
  %154 = load ptr, ptr %14, align 8, !tbaa !5
  store float %153, ptr %154, align 4, !tbaa !11
  br label %155

155:                                              ; preds = %150
  %156 = load i64, ptr %23, align 8, !tbaa !9
  %157 = add nsw i64 %156, 1
  store i64 %157, ptr %23, align 8, !tbaa !9
  br label %102, !llvm.loop !15

158:                                              ; preds = %102
  %159 = load float, ptr %26, align 4, !tbaa !11
  %160 = fcmp ole float %159, 0.000000e+00
  br i1 %160, label %161, label %182

161:                                              ; preds = %158
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = load i64, ptr %162, align 8, !tbaa !9
  store i64 %163, ptr %18, align 8, !tbaa !9
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %164

164:                                              ; preds = %178, %161
  %165 = load i64, ptr %23, align 8, !tbaa !9
  %166 = load i64, ptr %18, align 8, !tbaa !9
  %167 = icmp sle i64 %165, %166
  br i1 %167, label %168, label %181

168:                                              ; preds = %164
  %169 = load ptr, ptr %12, align 8, !tbaa !5
  %170 = load i64, ptr %23, align 8, !tbaa !9
  %171 = getelementptr inbounds float, ptr %169, i64 %170
  %172 = load float, ptr %171, align 4, !tbaa !11
  %173 = fcmp ole float %172, 0.000000e+00
  br i1 %173, label %174, label %177

174:                                              ; preds = %168
  %175 = load i64, ptr %23, align 8, !tbaa !9
  %176 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 %175, ptr %176, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  store i32 1, ptr %27, align 4
  br label %220

177:                                              ; preds = %168
  br label %178

178:                                              ; preds = %177
  %179 = load i64, ptr %23, align 8, !tbaa !9
  %180 = add nsw i64 %179, 1
  store i64 %180, ptr %23, align 8, !tbaa !9
  br label %164, !llvm.loop !17

181:                                              ; preds = %164
  br label %219

182:                                              ; preds = %158
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = load i64, ptr %183, align 8, !tbaa !9
  store i64 %184, ptr %18, align 8, !tbaa !9
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %185

185:                                              ; preds = %205, %182
  %186 = load i64, ptr %23, align 8, !tbaa !9
  %187 = load i64, ptr %18, align 8, !tbaa !9
  %188 = icmp sle i64 %186, %187
  br i1 %188, label %189, label %208

189:                                              ; preds = %185
  %190 = load float, ptr %24, align 4, !tbaa !11
  %191 = fpext float %190 to double
  %192 = load ptr, ptr %12, align 8, !tbaa !5
  %193 = load i64, ptr %23, align 8, !tbaa !9
  %194 = getelementptr inbounds float, ptr %192, i64 %193
  %195 = load float, ptr %194, align 4, !tbaa !11
  %196 = fpext float %195 to double
  %197 = call double @log(double noundef %196) #4
  %198 = fmul double %191, %197
  %199 = fptosi double %198 to i64
  store i64 %199, ptr %19, align 8, !tbaa !9
  %200 = call double @pow_ri(ptr noundef %25, ptr noundef %19)
  %201 = fptrunc double %200 to float
  %202 = load ptr, ptr %12, align 8, !tbaa !5
  %203 = load i64, ptr %23, align 8, !tbaa !9
  %204 = getelementptr inbounds float, ptr %202, i64 %203
  store float %201, ptr %204, align 4, !tbaa !11
  br label %205

205:                                              ; preds = %189
  %206 = load i64, ptr %23, align 8, !tbaa !9
  %207 = add nsw i64 %206, 1
  store i64 %207, ptr %23, align 8, !tbaa !9
  br label %185, !llvm.loop !18

208:                                              ; preds = %185
  %209 = load float, ptr %26, align 4, !tbaa !11
  %210 = fpext float %209 to double
  %211 = call double @sqrt(double noundef %210) #4
  %212 = load ptr, ptr %14, align 8, !tbaa !5
  %213 = load float, ptr %212, align 4, !tbaa !11
  %214 = fpext float %213 to double
  %215 = call double @sqrt(double noundef %214) #4
  %216 = fdiv double %211, %215
  %217 = fptrunc double %216 to float
  %218 = load ptr, ptr %13, align 8, !tbaa !5
  store float %217, ptr %218, align 4, !tbaa !11
  br label %219

219:                                              ; preds = %208, %181
  store i32 0, ptr %8, align 4
  store i32 1, ptr %27, align 4
  br label %220

220:                                              ; preds = %219, %174, %73, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  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 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  %221 = load i32, ptr %8, align 4
  ret i32 %221
}

; 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) #2

declare double @slamch_(ptr noundef) #2

; Function Attrs: nounwind
declare double @log(double noundef) #3

declare double @pow_ri(ptr noundef, ptr 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 = !{!"long", !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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @cpoequb_(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 i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %11 = load i64, ptr %2, align 8, !tbaa !5
  %12 = add i64 %11, 1
  %13 = xor i64 %11, -1
  %14 = getelementptr inbounds %struct.complex, ptr %1, i64 %13
  %15 = getelementptr inbounds i8, ptr %3, i64 -4
  store i64 0, ptr %6, align 8, !tbaa !5
  %16 = load i64, ptr %0, align 8, !tbaa !5
  %17 = icmp slt i64 %16, 0
  br i1 %17, label %.thread, label %18

18:                                               ; preds = %7
  %19 = load i64, ptr %2, align 8, !tbaa !5
  %spec.select = tail call i64 @llvm.umax.i64(i64 %16, i64 1)
  %20 = icmp slt i64 %19, %spec.select
  br i1 %20, label %.thread, label %23

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

23:                                               ; preds = %18
  %24 = icmp eq i64 %16, 0
  br i1 %24, label %25, label %26

25:                                               ; preds = %23
  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

26:                                               ; preds = %23
  %27 = tail call double @slamch_(ptr noundef nonnull @.str.1) #5
  %28 = fptrunc double %27 to float
  store float %28, ptr %10, align 4, !tbaa !9
  %29 = fpext float %28 to double
  %30 = tail call double @log(double noundef %29) #5
  %31 = fdiv double -5.000000e-01, %30
  %32 = fptrunc double %31 to float
  %33 = load float, ptr %1, align 4, !tbaa !11
  store float %33, ptr %3, align 4, !tbaa !9
  store float %33, ptr %5, align 4, !tbaa !9
  %34 = load i64, ptr %0, align 8, !tbaa !5
  %.not7177 = icmp slt i64 %34, 2
  br i1 %.not7177, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %26, %.lr.ph
  %.079 = phi float [ %40, %.lr.ph ], [ %33, %26 ]
  %.06878 = phi i64 [ %44, %.lr.ph ], [ 2, %26 ]
  %35 = mul i64 %.06878, %12
  %36 = getelementptr inbounds %struct.complex, ptr %14, i64 %35
  %37 = load float, ptr %36, align 4, !tbaa !11
  %38 = getelementptr inbounds float, ptr %15, i64 %.06878
  store float %37, ptr %38, align 4, !tbaa !9
  %39 = fcmp ole float %.079, %37
  %40 = select i1 %39, float %.079, float %37
  %41 = load float, ptr %5, align 4, !tbaa !9
  %42 = fcmp oge float %41, %37
  %43 = select i1 %42, float %41, float %37
  store float %43, ptr %5, align 4, !tbaa !9
  %44 = add nuw i64 %.06878, 1
  %exitcond.not = icmp eq i64 %.06878, %34
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %26
  %.0.lcssa = phi float [ %33, %26 ], [ %40, %.lr.ph ]
  %45 = fcmp ugt float %.0.lcssa, 0.000000e+00
  %.not7285 = icmp slt i64 %34, 1
  br i1 %45, label %53, label %46

46:                                               ; preds = %._crit_edge
  br i1 %.not7285, label %.loopexit, label %.lr.ph84

.lr.ph84:                                         ; preds = %46, %51
  %.182 = phi i64 [ %52, %51 ], [ 1, %46 ]
  %47 = getelementptr inbounds float, ptr %15, i64 %.182
  %48 = load float, ptr %47, align 4, !tbaa !9
  %49 = fcmp ugt float %48, 0.000000e+00
  br i1 %49, label %51, label %50

50:                                               ; preds = %.lr.ph84
  store i64 %.182, ptr %6, align 8, !tbaa !5
  br label %.loopexit

51:                                               ; preds = %.lr.ph84
  %52 = add nuw i64 %.182, 1
  %exitcond91.not = icmp eq i64 %.182, %34
  br i1 %exitcond91.not, label %.loopexit, label %.lr.ph84, !llvm.loop !15

53:                                               ; preds = %._crit_edge
  br i1 %.not7285, label %._crit_edge89, label %.lr.ph88

.lr.ph88:                                         ; preds = %53
  %54 = fpext float %32 to double
  br label %55

55:                                               ; preds = %.lr.ph88, %55
  %.286 = phi i64 [ 1, %.lr.ph88 ], [ %64, %55 ]
  %56 = getelementptr inbounds float, ptr %15, i64 %.286
  %57 = load float, ptr %56, align 4, !tbaa !9
  %58 = fpext float %57 to double
  %59 = call double @log(double noundef %58) #5
  %60 = fmul double %59, %54
  %61 = fptosi double %60 to i64
  store i64 %61, ptr %9, align 8, !tbaa !5
  %62 = call double @pow_ri(ptr noundef nonnull %10, ptr noundef nonnull %9) #5
  %63 = fptrunc double %62 to float
  store float %63, ptr %56, align 4, !tbaa !9
  %64 = add nuw nsw i64 %.286, 1
  %.not72.not = icmp slt i64 %.286, %34
  br i1 %.not72.not, label %55, label %._crit_edge89, !llvm.loop !16

._crit_edge89:                                    ; preds = %55, %53
  %65 = fpext float %.0.lcssa to double
  %66 = call double @sqrt(double noundef %65) #5
  %67 = load float, ptr %5, align 4, !tbaa !9
  %68 = fpext float %67 to double
  %69 = call double @sqrt(double noundef %68) #5
  %70 = fdiv double %66, %69
  %71 = fptrunc double %70 to float
  store float %71, ptr %4, align 4, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %51, %46, %._crit_edge89, %50, %25, %.thread
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  ret i32 0
}

; 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) local_unnamed_addr #2

declare double @slamch_(ptr noundef) local_unnamed_addr #2

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

declare double @pow_ri(ptr noundef, ptr 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 i64 @llvm.umax.i64(i64, i64) #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 = !{!"long", !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,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass