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

; 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
@c__1 = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@c_b1 = external hidden global %struct.complex, align 4
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1

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

54:                                               ; preds = %10
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = load i64, ptr %55, align 8, !tbaa !9
  br label %60

57:                                               ; preds = %10
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = load i64, ptr %58, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %57, %54
  %61 = phi i64 [ %56, %54 ], [ %59, %57 ]
  %62 = icmp eq i64 %61, 0
  br i1 %62, label %73, label %63

63:                                               ; preds = %60
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.complex, ptr %64, i32 0, i32 0
  %66 = load float, ptr %65, align 4, !tbaa !11
  %67 = fcmp oeq float %66, 0.000000e+00
  br i1 %67, label %68, label %74

68:                                               ; preds = %63
  %69 = load ptr, ptr %17, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.complex, ptr %69, i32 0, i32 1
  %71 = load float, ptr %70, align 4, !tbaa !14
  %72 = fcmp oeq float %71, 0.000000e+00
  br i1 %72, label %73, label %74

73:                                               ; preds = %68, %60
  store i32 0, ptr %11, align 4
  store i32 1, ptr %28, align 4
  br label %220

74:                                               ; preds = %68, %63
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = call i64 @lsame_(ptr noundef %75, ptr noundef @.str)
  %77 = icmp ne i64 %76, 0
  br i1 %77, label %78, label %151

78:                                               ; preds = %74
  %79 = load ptr, ptr %14, align 8, !tbaa !5
  %80 = load ptr, ptr %18, align 8, !tbaa !5
  %81 = load i64, ptr %23, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.complex, ptr %80, i64 %81
  %83 = load ptr, ptr %20, align 8, !tbaa !5
  %84 = load ptr, ptr %21, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.complex, ptr %84, i64 1
  %86 = call i32 @f2c_ccopy(ptr noundef %79, ptr noundef %82, ptr noundef %83, ptr noundef %85, ptr noundef @c__1)
  %87 = load ptr, ptr %14, align 8, !tbaa !5
  %88 = load ptr, ptr %21, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.complex, ptr %88, i64 1
  %90 = call i32 @clacgv_(ptr noundef %87, ptr noundef %89, ptr noundef @c__1)
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = load i64, ptr %91, align 8, !tbaa !9
  %93 = sub nsw i64 %92, 1
  store i64 %93, ptr %26, align 8, !tbaa !9
  %94 = load ptr, ptr %14, align 8, !tbaa !5
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  %96 = load i64, ptr %25, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.complex, ptr %95, i64 %96
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.complex, ptr %99, i64 1
  %101 = load ptr, ptr %16, align 8, !tbaa !5
  %102 = load ptr, ptr %21, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.complex, ptr %102, i64 1
  %104 = call i32 @f2c_cgemv(ptr noundef @.str.1, ptr noundef %26, ptr noundef %94, ptr noundef @c_b1, ptr noundef %97, ptr noundef %98, ptr noundef %100, ptr noundef %101, ptr noundef @c_b1, ptr noundef %103, ptr noundef @c__1)
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = load ptr, ptr %21, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.complex, ptr %106, i64 1
  %108 = call i32 @clacgv_(ptr noundef %105, ptr noundef %107, ptr noundef @c__1)
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.complex, ptr %109, i32 0, i32 0
  %111 = load float, ptr %110, align 4, !tbaa !11
  %112 = fneg float %111
  %113 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 0
  store float %112, ptr %113, align 4, !tbaa !11
  %114 = load ptr, ptr %17, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.complex, ptr %114, i32 0, i32 1
  %116 = load float, ptr %115, align 4, !tbaa !14
  %117 = fneg float %116
  %118 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 1
  store float %117, ptr %118, align 4, !tbaa !14
  %119 = load ptr, ptr %14, align 8, !tbaa !5
  %120 = load ptr, ptr %21, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.complex, ptr %120, i64 1
  %122 = load ptr, ptr %18, align 8, !tbaa !5
  %123 = load i64, ptr %23, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.complex, ptr %122, i64 %123
  %125 = load ptr, ptr %20, align 8, !tbaa !5
  %126 = call i32 @f2c_caxpy(ptr noundef %119, ptr noundef %27, ptr noundef %121, ptr noundef @c__1, ptr noundef %124, ptr noundef %125)
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = load i64, ptr %127, align 8, !tbaa !9
  %129 = sub nsw i64 %128, 1
  store i64 %129, ptr %26, align 8, !tbaa !9
  %130 = load ptr, ptr %17, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.complex, ptr %130, i32 0, i32 0
  %132 = load float, ptr %131, align 4, !tbaa !11
  %133 = fneg float %132
  %134 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 0
  store float %133, ptr %134, align 4, !tbaa !11
  %135 = load ptr, ptr %17, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.complex, ptr %135, i32 0, i32 1
  %137 = load float, ptr %136, align 4, !tbaa !14
  %138 = fneg float %137
  %139 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 1
  store float %138, ptr %139, align 4, !tbaa !14
  %140 = load ptr, ptr %14, align 8, !tbaa !5
  %141 = load ptr, ptr %15, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.complex, ptr %141, i64 1
  %143 = load ptr, ptr %16, align 8, !tbaa !5
  %144 = load ptr, ptr %21, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.complex, ptr %144, i64 1
  %146 = load ptr, ptr %19, align 8, !tbaa !5
  %147 = load i64, ptr %25, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.complex, ptr %146, i64 %147
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  %150 = call i32 @f2c_cgeru(ptr noundef %26, ptr noundef %140, ptr noundef %27, ptr noundef %142, ptr noundef %143, ptr noundef %145, ptr noundef @c__1, ptr noundef %148, ptr noundef %149)
  br label %219

151:                                              ; preds = %74
  %152 = load ptr, ptr %12, align 8, !tbaa !5
  %153 = call i64 @lsame_(ptr noundef %152, ptr noundef @.str.2)
  %154 = icmp ne i64 %153, 0
  br i1 %154, label %155, label %218

155:                                              ; preds = %151
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = load ptr, ptr %18, align 8, !tbaa !5
  %158 = load i64, ptr %23, align 8, !tbaa !9
  %159 = getelementptr inbounds %struct.complex, ptr %157, i64 %158
  %160 = load ptr, ptr %21, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.complex, ptr %160, i64 1
  %162 = call i32 @f2c_ccopy(ptr noundef %156, ptr noundef %159, ptr noundef @c__1, ptr noundef %161, ptr noundef @c__1)
  %163 = load ptr, ptr %14, align 8, !tbaa !5
  %164 = load i64, ptr %163, align 8, !tbaa !9
  %165 = sub nsw i64 %164, 1
  store i64 %165, ptr %26, align 8, !tbaa !9
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = load i64, ptr %25, align 8, !tbaa !9
  %169 = getelementptr inbounds %struct.complex, ptr %167, i64 %168
  %170 = load ptr, ptr %20, align 8, !tbaa !5
  %171 = load ptr, ptr %15, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.complex, ptr %171, i64 1
  %173 = load ptr, ptr %16, align 8, !tbaa !5
  %174 = load ptr, ptr %21, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.complex, ptr %174, i64 1
  %176 = call i32 @f2c_cgemv(ptr noundef @.str.3, ptr noundef %166, ptr noundef %26, ptr noundef @c_b1, ptr noundef %169, ptr noundef %170, ptr noundef %172, ptr noundef %173, ptr noundef @c_b1, ptr noundef %175, ptr noundef @c__1)
  %177 = load ptr, ptr %17, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.complex, ptr %177, i32 0, i32 0
  %179 = load float, ptr %178, align 4, !tbaa !11
  %180 = fneg float %179
  %181 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 0
  store float %180, ptr %181, align 4, !tbaa !11
  %182 = load ptr, ptr %17, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.complex, ptr %182, i32 0, i32 1
  %184 = load float, ptr %183, align 4, !tbaa !14
  %185 = fneg float %184
  %186 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 1
  store float %185, ptr %186, align 4, !tbaa !14
  %187 = load ptr, ptr %13, align 8, !tbaa !5
  %188 = load ptr, ptr %21, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.complex, ptr %188, i64 1
  %190 = load ptr, ptr %18, align 8, !tbaa !5
  %191 = load i64, ptr %23, align 8, !tbaa !9
  %192 = getelementptr inbounds %struct.complex, ptr %190, i64 %191
  %193 = call i32 @f2c_caxpy(ptr noundef %187, ptr noundef %27, ptr noundef %189, ptr noundef @c__1, ptr noundef %192, ptr noundef @c__1)
  %194 = load ptr, ptr %14, align 8, !tbaa !5
  %195 = load i64, ptr %194, align 8, !tbaa !9
  %196 = sub nsw i64 %195, 1
  store i64 %196, ptr %26, align 8, !tbaa !9
  %197 = load ptr, ptr %17, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.complex, ptr %197, i32 0, i32 0
  %199 = load float, ptr %198, align 4, !tbaa !11
  %200 = fneg float %199
  %201 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 0
  store float %200, ptr %201, align 4, !tbaa !11
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.complex, ptr %202, i32 0, i32 1
  %204 = load float, ptr %203, align 4, !tbaa !14
  %205 = fneg float %204
  %206 = getelementptr inbounds %struct.complex, ptr %27, i32 0, i32 1
  store float %205, ptr %206, align 4, !tbaa !14
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = load ptr, ptr %21, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.complex, ptr %208, i64 1
  %210 = load ptr, ptr %15, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.complex, ptr %210, i64 1
  %212 = load ptr, ptr %16, align 8, !tbaa !5
  %213 = load ptr, ptr %19, align 8, !tbaa !5
  %214 = load i64, ptr %25, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.complex, ptr %213, i64 %214
  %216 = load ptr, ptr %20, align 8, !tbaa !5
  %217 = call i32 @f2c_cgerc(ptr noundef %207, ptr noundef %26, ptr noundef %27, ptr noundef %209, ptr noundef @c__1, ptr noundef %211, ptr noundef %212, ptr noundef %215, ptr noundef %216)
  br label %218

218:                                              ; preds = %155, %151
  br label %219

219:                                              ; preds = %218, %78
  store i32 0, ptr %11, align 4
  store i32 1, ptr %28, align 4
  br label %220

220:                                              ; preds = %219, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  %221 = load i32, ptr %11, 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 i64 @lsame_(ptr noundef, ptr noundef) #2

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

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

declare i32 @f2c_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 i32 @f2c_caxpy(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

declare i32 @f2c_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 = !{!"long", !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
@c__1 = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@c_b1 = external hidden global %struct.complex, align 4
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @clatzm_(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, ptr noundef %9) local_unnamed_addr #0 {
  %11 = alloca i64, align 8
  %12 = alloca %struct.complex, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %13 = load i64, ptr %1, align 8, !tbaa !5
  %14 = load i64, ptr %2, align 8, !tbaa !5
  %. = tail call i64 @llvm.smin.i64(i64 %13, i64 %14)
  %15 = icmp eq i64 %., 0
  br i1 %15, label %55, label %16

16:                                               ; preds = %10
  %17 = load float, ptr %5, align 4, !tbaa !9
  %18 = fcmp oeq float %17, 0.000000e+00
  br i1 %18, label %19, label %23

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %5, i64 4
  %21 = load float, ptr %20, align 4, !tbaa !12
  %22 = fcmp oeq float %21, 0.000000e+00
  br i1 %22, label %55, label %23

23:                                               ; preds = %19, %16
  %24 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #4
  %.not81 = icmp eq i64 %24, 0
  br i1 %.not81, label %40, label %25

25:                                               ; preds = %23
  %26 = tail call i32 @f2c_ccopy(ptr noundef nonnull %2, ptr noundef %6, ptr noundef nonnull %8, ptr noundef %9, ptr noundef nonnull @c__1) #4
  %27 = tail call i32 @clacgv_(ptr noundef nonnull %2, ptr noundef %9, ptr noundef nonnull @c__1) #4
  %28 = load i64, ptr %1, align 8, !tbaa !5
  %29 = add nsw i64 %28, -1
  store i64 %29, ptr %11, align 8, !tbaa !5
  %30 = call i32 @f2c_cgemv(ptr noundef nonnull @.str.1, ptr noundef nonnull %11, ptr noundef nonnull %2, ptr noundef nonnull @c_b1, ptr noundef %7, ptr noundef %8, ptr noundef %3, ptr noundef %4, ptr noundef nonnull @c_b1, ptr noundef %9, ptr noundef nonnull @c__1) #4
  %31 = call i32 @clacgv_(ptr noundef nonnull %2, ptr noundef %9, ptr noundef nonnull @c__1) #4
  %32 = load <2 x float>, ptr %5, align 4, !tbaa !13
  %33 = fneg <2 x float> %32
  store <2 x float> %33, ptr %12, align 8, !tbaa !13
  %34 = call i32 @f2c_caxpy(ptr noundef nonnull %2, ptr noundef nonnull %12, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef %8) #4
  %35 = load i64, ptr %1, align 8, !tbaa !5
  %36 = add nsw i64 %35, -1
  store i64 %36, ptr %11, align 8, !tbaa !5
  %37 = load <2 x float>, ptr %5, align 4, !tbaa !13
  %38 = fneg <2 x float> %37
  store <2 x float> %38, ptr %12, align 8, !tbaa !13
  %39 = call i32 @f2c_cgeru(ptr noundef nonnull %11, ptr noundef nonnull %2, ptr noundef nonnull %12, ptr noundef %3, ptr noundef %4, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %7, ptr noundef %8) #4
  br label %55

40:                                               ; preds = %23
  %41 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #4
  %.not82 = icmp eq i64 %41, 0
  br i1 %.not82, label %55, label %42

42:                                               ; preds = %40
  %43 = tail call i32 @f2c_ccopy(ptr noundef nonnull %1, ptr noundef %6, ptr noundef nonnull @c__1, ptr noundef %9, ptr noundef nonnull @c__1) #4
  %44 = load i64, ptr %2, align 8, !tbaa !5
  %45 = add nsw i64 %44, -1
  store i64 %45, ptr %11, align 8, !tbaa !5
  %46 = call i32 @f2c_cgemv(ptr noundef nonnull @.str.3, ptr noundef nonnull %1, ptr noundef nonnull %11, ptr noundef nonnull @c_b1, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %3, ptr noundef %4, ptr noundef nonnull @c_b1, ptr noundef %9, ptr noundef nonnull @c__1) #4
  %47 = load <2 x float>, ptr %5, align 4, !tbaa !13
  %48 = fneg <2 x float> %47
  store <2 x float> %48, ptr %12, align 8, !tbaa !13
  %49 = call i32 @f2c_caxpy(ptr noundef nonnull %1, ptr noundef nonnull %12, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef nonnull @c__1) #4
  %50 = load i64, ptr %2, align 8, !tbaa !5
  %51 = add nsw i64 %50, -1
  store i64 %51, ptr %11, align 8, !tbaa !5
  %52 = load <2 x float>, ptr %5, align 4, !tbaa !13
  %53 = fneg <2 x float> %52
  store <2 x float> %53, ptr %12, align 8, !tbaa !13
  %54 = call i32 @f2c_cgerc(ptr noundef nonnull %1, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %3, ptr noundef %4, ptr noundef %7, ptr noundef nonnull %8) #4
  br label %55

55:                                               ; preds = %25, %42, %40, %10, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  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 i64 @lsame_(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

declare i32 @f2c_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 i32 @f2c_caxpy(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare i32 @f2c_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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #3

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"long", !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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass