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

; 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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@c_b1 = external hidden global %struct.complex, align 4
@c_b2 = external hidden global %struct.complex, align 4
@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 @clarf_(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 i32, align 4
  %22 = alloca %struct.complex, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = 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 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %27 = load ptr, ptr %13, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.complex, ptr %27, i32 -1
  store ptr %28, ptr %13, align 8, !tbaa !5
  %29 = load ptr, ptr %17, align 8, !tbaa !5
  %30 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %30, ptr %19, align 4, !tbaa !9
  %31 = load i32, ptr %19, align 4, !tbaa !9
  %32 = mul nsw i32 %31, 1
  %33 = add nsw i32 1, %32
  store i32 %33, ptr %20, align 4, !tbaa !9
  %34 = load i32, ptr %20, align 4, !tbaa !9
  %35 = load ptr, ptr %16, align 8, !tbaa !5
  %36 = sext i32 %34 to i64
  %37 = sub i64 0, %36
  %38 = getelementptr inbounds %struct.complex, ptr %35, i64 %37
  store ptr %38, ptr %16, align 8, !tbaa !5
  %39 = load ptr, ptr %18, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.complex, ptr %39, i32 -1
  store ptr %40, ptr %18, align 8, !tbaa !5
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = call i32 @lsame_(ptr noundef %41, ptr noundef @.str)
  store i32 %42, ptr %26, align 4, !tbaa !9
  store i32 0, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %24, align 4, !tbaa !9
  %43 = load ptr, ptr %15, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %45 = load float, ptr %44, align 4, !tbaa !11
  %46 = fcmp une float %45, 0.000000e+00
  br i1 %46, label %52, label %47

47:                                               ; preds = %9
  %48 = load ptr, ptr %15, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.complex, ptr %48, i32 0, i32 1
  %50 = load float, ptr %49, align 4, !tbaa !14
  %51 = fcmp une float %50, 0.000000e+00
  br i1 %51, label %52, label %122

52:                                               ; preds = %47, %9
  %53 = load i32, ptr %26, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %58

55:                                               ; preds = %52
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = load i32, ptr %56, align 4, !tbaa !9
  store i32 %57, ptr %25, align 4, !tbaa !9
  br label %61

58:                                               ; preds = %52
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = load i32, ptr %59, align 4, !tbaa !9
  store i32 %60, ptr %25, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %58, %55
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = icmp sgt i32 %63, 0
  br i1 %64, label %65, label %72

65:                                               ; preds = %61
  %66 = load i32, ptr %25, align 4, !tbaa !9
  %67 = sub nsw i32 %66, 1
  %68 = load ptr, ptr %14, align 8, !tbaa !5
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = mul nsw i32 %67, %69
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %23, align 4, !tbaa !9
  br label %73

72:                                               ; preds = %61
  store i32 1, ptr %23, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %72, %65
  br label %74

74:                                               ; preds = %95, %73
  %75 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %75, ptr %21, align 4, !tbaa !9
  %76 = load i32, ptr %25, align 4, !tbaa !9
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %78, label %94

78:                                               ; preds = %74
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = load i32, ptr %21, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds %struct.complex, ptr %79, i64 %81
  %83 = getelementptr inbounds %struct.complex, ptr %82, i32 0, i32 0
  %84 = load float, ptr %83, align 4, !tbaa !11
  %85 = fcmp oeq float %84, 0.000000e+00
  br i1 %85, label %86, label %94

86:                                               ; preds = %78
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = load i32, ptr %21, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds %struct.complex, ptr %87, i64 %89
  %91 = getelementptr inbounds %struct.complex, ptr %90, i32 0, i32 1
  %92 = load float, ptr %91, align 4, !tbaa !14
  %93 = fcmp oeq float %92, 0.000000e+00
  br i1 %93, label %95, label %94

94:                                               ; preds = %86, %78, %74
  br label %102

95:                                               ; preds = %86
  %96 = load i32, ptr %25, align 4, !tbaa !9
  %97 = add nsw i32 %96, -1
  store i32 %97, ptr %25, align 4, !tbaa !9
  %98 = load ptr, ptr %14, align 8, !tbaa !5
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = load i32, ptr %23, align 4, !tbaa !9
  %101 = sub nsw i32 %100, %99
  store i32 %101, ptr %23, align 4, !tbaa !9
  br label %74

102:                                              ; preds = %94
  %103 = load i32, ptr %26, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %113

105:                                              ; preds = %102
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = load i32, ptr %20, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds %struct.complex, ptr %107, i64 %109
  %111 = load ptr, ptr %17, align 8, !tbaa !5
  %112 = call i32 @ilaclc_(ptr noundef %25, ptr noundef %106, ptr noundef %110, ptr noundef %111)
  store i32 %112, ptr %24, align 4, !tbaa !9
  br label %121

113:                                              ; preds = %102
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = load ptr, ptr %16, align 8, !tbaa !5
  %116 = load i32, ptr %20, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %struct.complex, ptr %115, i64 %117
  %119 = load ptr, ptr %17, align 8, !tbaa !5
  %120 = call i32 @ilaclr_(ptr noundef %114, ptr noundef %25, ptr noundef %118, ptr noundef %119)
  store i32 %120, ptr %24, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %113, %105
  br label %122

122:                                              ; preds = %121, %47
  %123 = load i32, ptr %26, align 4, !tbaa !9
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %160

125:                                              ; preds = %122
  %126 = load i32, ptr %25, align 4, !tbaa !9
  %127 = icmp sgt i32 %126, 0
  br i1 %127, label %128, label %159

128:                                              ; preds = %125
  %129 = load ptr, ptr %16, align 8, !tbaa !5
  %130 = load i32, ptr %20, align 4, !tbaa !9
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds %struct.complex, ptr %129, i64 %131
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.complex, ptr %134, i64 1
  %136 = load ptr, ptr %14, align 8, !tbaa !5
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.complex, ptr %137, i64 1
  call void @cgemv_(ptr noundef @.str.1, ptr noundef %25, ptr noundef %24, ptr noundef @c_b1, ptr noundef %132, ptr noundef %133, ptr noundef %135, ptr noundef %136, ptr noundef @c_b2, ptr noundef %138, ptr noundef @c__1)
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.complex, ptr %139, i32 0, i32 0
  %141 = load float, ptr %140, align 4, !tbaa !11
  %142 = fneg float %141
  %143 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 0
  store float %142, ptr %143, align 4, !tbaa !11
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.complex, ptr %144, i32 0, i32 1
  %146 = load float, ptr %145, align 4, !tbaa !14
  %147 = fneg float %146
  %148 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 1
  store float %147, ptr %148, align 4, !tbaa !14
  %149 = load ptr, ptr %13, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.complex, ptr %149, i64 1
  %151 = load ptr, ptr %14, align 8, !tbaa !5
  %152 = load ptr, ptr %18, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.complex, ptr %152, i64 1
  %154 = load ptr, ptr %16, align 8, !tbaa !5
  %155 = load i32, ptr %20, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds %struct.complex, ptr %154, i64 %156
  %158 = load ptr, ptr %17, align 8, !tbaa !5
  call void @cgerc_(ptr noundef %25, ptr noundef %24, ptr noundef %22, ptr noundef %150, ptr noundef %151, ptr noundef %153, ptr noundef @c__1, ptr noundef %157, ptr noundef %158)
  br label %159

159:                                              ; preds = %128, %125
  br label %195

160:                                              ; preds = %122
  %161 = load i32, ptr %25, align 4, !tbaa !9
  %162 = icmp sgt i32 %161, 0
  br i1 %162, label %163, label %194

163:                                              ; preds = %160
  %164 = load ptr, ptr %16, align 8, !tbaa !5
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds %struct.complex, ptr %164, i64 %166
  %168 = load ptr, ptr %17, align 8, !tbaa !5
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.complex, ptr %169, i64 1
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  %172 = load ptr, ptr %18, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.complex, ptr %172, i64 1
  call void @cgemv_(ptr noundef @.str.2, ptr noundef %24, ptr noundef %25, ptr noundef @c_b1, ptr noundef %167, ptr noundef %168, ptr noundef %170, ptr noundef %171, ptr noundef @c_b2, ptr noundef %173, ptr noundef @c__1)
  %174 = load ptr, ptr %15, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.complex, ptr %174, i32 0, i32 0
  %176 = load float, ptr %175, align 4, !tbaa !11
  %177 = fneg float %176
  %178 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 0
  store float %177, ptr %178, align 4, !tbaa !11
  %179 = load ptr, ptr %15, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.complex, ptr %179, i32 0, i32 1
  %181 = load float, ptr %180, align 4, !tbaa !14
  %182 = fneg float %181
  %183 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 1
  store float %182, ptr %183, align 4, !tbaa !14
  %184 = load ptr, ptr %18, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.complex, ptr %184, i64 1
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.complex, ptr %186, i64 1
  %188 = load ptr, ptr %14, align 8, !tbaa !5
  %189 = load ptr, ptr %16, align 8, !tbaa !5
  %190 = load i32, ptr %20, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %struct.complex, ptr %189, i64 %191
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  call void @cgerc_(ptr noundef %24, ptr noundef %25, ptr noundef %22, ptr noundef %185, ptr noundef @c__1, ptr noundef %187, ptr noundef %188, ptr noundef %192, ptr noundef %193)
  br label %194

194:                                              ; preds = %163, %160
  br label %195

195:                                              ; preds = %194, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  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 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, 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 @ilaclc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

declare void @cgemv_(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 @cgerc_(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, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}


; 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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@c_b1 = external hidden global %struct.complex, align 4
@c_b2 = external hidden global %struct.complex, align 4
@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 @clarf_(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 %struct.complex, 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 float, ptr %5, align 4, !tbaa !9
  %16 = fcmp une float %15, 0.000000e+00
  br i1 %16, label %21, label %17

17:                                               ; preds = %9
  %18 = getelementptr inbounds i8, ptr %5, i64 4
  %19 = load float, ptr %18, align 4, !tbaa !12
  %20 = fcmp une float %19, 0.000000e+00
  br i1 %20, label %21, label %.thread71

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

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

.lr.ph:                                           ; preds = %.lr.ph.preheader, %36
  %.164 = phi i32 [ %38, %36 ], [ %.0, %.lr.ph.preheader ]
  %27 = phi i32 [ %37, %36 ], [ %storemerge, %.lr.ph.preheader ]
  %28 = sext i32 %.164 to i64
  %29 = getelementptr inbounds %struct.complex, ptr %13, i64 %28
  %30 = load float, ptr %29, align 4, !tbaa !9
  %31 = fcmp oeq float %30, 0.000000e+00
  br i1 %31, label %32, label %._crit_edge

32:                                               ; preds = %.lr.ph
  %33 = getelementptr inbounds i8, ptr %29, i64 4
  %34 = load float, ptr %33, align 4, !tbaa !12
  %35 = fcmp oeq float %34, 0.000000e+00
  br i1 %35, label %36, label %._crit_edge

36:                                               ; preds = %32
  %37 = add nsw i32 %27, -1
  %38 = sub nsw i32 %.164, %22
  %39 = icmp sgt i32 %27, 1
  br i1 %39, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %32, %.lr.ph, %36, %21
  %.lcssa = phi i32 [ %storemerge, %21 ], [ 0, %36 ], [ %27, %.lr.ph ], [ %27, %32 ]
  store i32 %.lcssa, ptr %12, align 4, !tbaa !5
  br i1 %.not, label %46, label %40

40:                                               ; preds = %._crit_edge
  %41 = call i32 @ilaclc_(ptr noundef nonnull %12, ptr noundef %2, ptr noundef %6, ptr noundef nonnull %7) #3
  store i32 %41, ptr %11, align 4, !tbaa !5
  %.pre = load i32, ptr %12, align 4, !tbaa !5
  %42 = icmp sgt i32 %.pre, 0
  br i1 %42, label %43, label %.thread71

43:                                               ; preds = %40
  call void @cgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull @c_b1, ptr noundef %6, ptr noundef %7, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull @c_b2, ptr noundef %8, ptr noundef nonnull @c__1) #3
  %44 = load <2 x float>, ptr %5, align 4, !tbaa !13
  %45 = fneg <2 x float> %44
  store <2 x float> %45, ptr %10, align 8, !tbaa !13
  call void @cgerc_(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 %.thread71

46:                                               ; preds = %._crit_edge
  %47 = call i32 @ilaclr_(ptr noundef %1, ptr noundef nonnull %12, ptr noundef %6, ptr noundef nonnull %7) #3
  store i32 %47, ptr %11, align 4, !tbaa !5
  %.pre69 = load i32, ptr %12, align 4, !tbaa !5
  %48 = icmp sgt i32 %.pre69, 0
  br i1 %48, label %49, label %.thread71

49:                                               ; preds = %46
  call void @cgemv_(ptr noundef nonnull @.str.2, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull @c_b1, ptr noundef %6, ptr noundef nonnull %7, ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull @c_b2, ptr noundef %8, ptr noundef nonnull @c__1) #3
  %50 = load <2 x float>, ptr %5, align 4, !tbaa !13
  %51 = fneg <2 x float> %50
  store <2 x float> %51, ptr %10, align 8, !tbaa !13
  call void @cgerc_(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 %.thread71

.thread71:                                        ; preds = %17, %46, %49, %40, %43
  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 @ilaclc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @cgemv_(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 @cgerc_(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, !11, i64 0}
!10 = !{!"", !11, i64 0, !11, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!11, !11, i64 0}


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