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

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

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

55:                                               ; preds = %9
  store i32 -1, ptr %26, align 4, !tbaa !9
  br label %62

56:                                               ; preds = %9
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = call i32 @lsame_(ptr noundef %57, ptr noundef @.str.1)
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  store i32 -2, ptr %26, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %60, %56
  br label %62

62:                                               ; preds = %61, %55
  %63 = load i32, ptr %26, align 4, !tbaa !9
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %69

65:                                               ; preds = %62
  %66 = load i32, ptr %26, align 4, !tbaa !9
  %67 = sub nsw i32 0, %66
  store i32 %67, ptr %23, align 4, !tbaa !9
  %68 = call i32 @xerbla_(ptr noundef @.str.2, ptr noundef %23, i32 noundef 6)
  store i32 1, ptr %29, align 4
  br label %246

69:                                               ; preds = %62
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = load i32, ptr %70, align 4, !tbaa !9
  store i32 %71, ptr %27, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %242, %69
  %73 = load i32, ptr %27, align 4, !tbaa !9
  %74 = icmp sge i32 %73, 1
  br i1 %74, label %75, label %245

75:                                               ; preds = %72
  %76 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %76, ptr %23, align 4, !tbaa !9
  %77 = load ptr, ptr %16, align 8, !tbaa !5
  %78 = load i32, ptr %23, 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 !11
  %83 = fcmp oeq float %82, 0.000000e+00
  br i1 %83, label %84, label %120

84:                                               ; preds = %75
  %85 = load ptr, ptr %16, align 8, !tbaa !5
  %86 = load i32, ptr %23, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds %struct.complex, ptr %85, i64 %87
  %89 = getelementptr inbounds %struct.complex, ptr %88, i32 0, i32 1
  %90 = load float, ptr %89, align 4, !tbaa !14
  %91 = fcmp oeq float %90, 0.000000e+00
  br i1 %91, label %92, label %120

92:                                               ; preds = %84
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = load i32, ptr %93, align 4, !tbaa !9
  store i32 %94, ptr %23, align 4, !tbaa !9
  %95 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %95, ptr %28, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %116, %92
  %97 = load i32, ptr %28, align 4, !tbaa !9
  %98 = load i32, ptr %23, align 4, !tbaa !9
  %99 = icmp sle i32 %97, %98
  br i1 %99, label %100, label %119

100:                                              ; preds = %96
  %101 = load i32, ptr %28, align 4, !tbaa !9
  %102 = load i32, ptr %27, align 4, !tbaa !9
  %103 = load i32, ptr %19, align 4, !tbaa !9
  %104 = mul nsw i32 %102, %103
  %105 = add nsw i32 %101, %104
  store i32 %105, ptr %24, align 4, !tbaa !9
  %106 = load ptr, ptr %17, align 8, !tbaa !5
  %107 = load i32, ptr %24, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds %struct.complex, ptr %106, i64 %108
  %110 = getelementptr inbounds %struct.complex, ptr %109, i32 0, i32 0
  store float 0.000000e+00, ptr %110, align 4, !tbaa !11
  %111 = load ptr, ptr %17, align 8, !tbaa !5
  %112 = load i32, ptr %24, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds %struct.complex, ptr %111, i64 %113
  %115 = getelementptr inbounds %struct.complex, ptr %114, i32 0, i32 1
  store float 0.000000e+00, ptr %115, align 4, !tbaa !14
  br label %116

116:                                              ; preds = %100
  %117 = load i32, ptr %28, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %28, align 4, !tbaa !9
  br label %96, !llvm.loop !15

119:                                              ; preds = %96
  br label %241

120:                                              ; preds = %84, %75
  %121 = load i32, ptr %27, align 4, !tbaa !9
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = icmp slt i32 %121, %123
  br i1 %124, label %125, label %212

125:                                              ; preds = %120
  %126 = load ptr, ptr %12, align 8, !tbaa !5
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = load i32, ptr %27, align 4, !tbaa !9
  %129 = load i32, ptr %21, align 4, !tbaa !9
  %130 = add nsw i32 %128, %129
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds %struct.complex, ptr %127, i64 %131
  %133 = load ptr, ptr %15, align 8, !tbaa !5
  call void @clacgv_(ptr noundef %126, ptr noundef %132, ptr noundef %133)
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  %135 = load i32, ptr %134, align 4, !tbaa !9
  %136 = load i32, ptr %27, align 4, !tbaa !9
  %137 = sub nsw i32 %135, %136
  store i32 %137, ptr %23, align 4, !tbaa !9
  %138 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %138, ptr %24, align 4, !tbaa !9
  %139 = load ptr, ptr %16, align 8, !tbaa !5
  %140 = load i32, ptr %24, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %struct.complex, ptr %139, i64 %141
  %143 = getelementptr inbounds %struct.complex, ptr %142, i32 0, i32 0
  %144 = load float, ptr %143, align 4, !tbaa !11
  %145 = fneg float %144
  %146 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 0
  store float %145, ptr %146, align 4, !tbaa !11
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  %148 = load i32, ptr %24, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds %struct.complex, ptr %147, i64 %149
  %151 = getelementptr inbounds %struct.complex, ptr %150, i32 0, i32 1
  %152 = load float, ptr %151, align 4, !tbaa !14
  %153 = fneg float %152
  %154 = getelementptr inbounds %struct.complex, ptr %25, i32 0, i32 1
  store float %153, ptr %154, align 4, !tbaa !14
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = load ptr, ptr %14, align 8, !tbaa !5
  %157 = load i32, ptr %27, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  %159 = load i32, ptr %21, align 4, !tbaa !9
  %160 = add nsw i32 %158, %159
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds %struct.complex, ptr %156, i64 %161
  %163 = load ptr, ptr %15, align 8, !tbaa !5
  %164 = load ptr, ptr %14, align 8, !tbaa !5
  %165 = load i32, ptr %27, align 4, !tbaa !9
  %166 = load i32, ptr %21, align 4, !tbaa !9
  %167 = add nsw i32 %165, %166
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds %struct.complex, ptr %164, i64 %168
  %170 = load ptr, ptr %15, align 8, !tbaa !5
  %171 = load ptr, ptr %17, align 8, !tbaa !5
  %172 = load i32, ptr %27, align 4, !tbaa !9
  %173 = add nsw i32 %172, 1
  %174 = load i32, ptr %27, align 4, !tbaa !9
  %175 = load i32, ptr %19, align 4, !tbaa !9
  %176 = mul nsw i32 %174, %175
  %177 = add nsw i32 %173, %176
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %struct.complex, ptr %171, i64 %178
  call void @cgemv_(ptr noundef @.str.3, ptr noundef %23, ptr noundef %155, ptr noundef %25, ptr noundef %162, ptr noundef %163, ptr noundef %169, ptr noundef %170, ptr noundef @c_b1, ptr noundef %179, ptr noundef @c__1)
  %180 = load ptr, ptr %12, align 8, !tbaa !5
  %181 = load ptr, ptr %14, align 8, !tbaa !5
  %182 = load i32, ptr %27, align 4, !tbaa !9
  %183 = load i32, ptr %21, align 4, !tbaa !9
  %184 = add nsw i32 %182, %183
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds %struct.complex, ptr %181, i64 %185
  %187 = load ptr, ptr %15, align 8, !tbaa !5
  call void @clacgv_(ptr noundef %180, ptr noundef %186, ptr noundef %187)
  %188 = load ptr, ptr %13, align 8, !tbaa !5
  %189 = load i32, ptr %188, align 4, !tbaa !9
  %190 = load i32, ptr %27, align 4, !tbaa !9
  %191 = sub nsw i32 %189, %190
  store i32 %191, ptr %23, align 4, !tbaa !9
  %192 = load ptr, ptr %17, align 8, !tbaa !5
  %193 = load i32, ptr %27, align 4, !tbaa !9
  %194 = add nsw i32 %193, 1
  %195 = load i32, ptr %27, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  %197 = load i32, ptr %19, align 4, !tbaa !9
  %198 = mul nsw i32 %196, %197
  %199 = add nsw i32 %194, %198
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds %struct.complex, ptr %192, i64 %200
  %202 = load ptr, ptr %18, align 8, !tbaa !5
  %203 = load ptr, ptr %17, align 8, !tbaa !5
  %204 = load i32, ptr %27, align 4, !tbaa !9
  %205 = add nsw i32 %204, 1
  %206 = load i32, ptr %27, align 4, !tbaa !9
  %207 = load i32, ptr %19, align 4, !tbaa !9
  %208 = mul nsw i32 %206, %207
  %209 = add nsw i32 %205, %208
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds %struct.complex, ptr %203, i64 %210
  call void @ctrmv_(ptr noundef @.str.4, ptr noundef @.str.3, ptr noundef @.str.5, ptr noundef %23, ptr noundef %201, ptr noundef %202, ptr noundef %211, ptr noundef @c__1)
  br label %212

212:                                              ; preds = %125, %120
  %213 = load i32, ptr %27, align 4, !tbaa !9
  %214 = load i32, ptr %27, align 4, !tbaa !9
  %215 = load i32, ptr %19, align 4, !tbaa !9
  %216 = mul nsw i32 %214, %215
  %217 = add nsw i32 %213, %216
  store i32 %217, ptr %23, align 4, !tbaa !9
  %218 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %218, ptr %24, align 4, !tbaa !9
  %219 = load ptr, ptr %16, align 8, !tbaa !5
  %220 = load i32, ptr %24, align 4, !tbaa !9
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds %struct.complex, ptr %219, i64 %221
  %223 = getelementptr inbounds %struct.complex, ptr %222, i32 0, i32 0
  %224 = load float, ptr %223, align 4, !tbaa !11
  %225 = load ptr, ptr %17, align 8, !tbaa !5
  %226 = load i32, ptr %23, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds %struct.complex, ptr %225, i64 %227
  %229 = getelementptr inbounds %struct.complex, ptr %228, i32 0, i32 0
  store float %224, ptr %229, align 4, !tbaa !11
  %230 = load ptr, ptr %16, align 8, !tbaa !5
  %231 = load i32, ptr %24, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds %struct.complex, ptr %230, i64 %232
  %234 = getelementptr inbounds %struct.complex, ptr %233, i32 0, i32 1
  %235 = load float, ptr %234, align 4, !tbaa !14
  %236 = load ptr, ptr %17, align 8, !tbaa !5
  %237 = load i32, ptr %23, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds %struct.complex, ptr %236, i64 %238
  %240 = getelementptr inbounds %struct.complex, ptr %239, i32 0, i32 1
  store float %235, ptr %240, align 4, !tbaa !14
  br label %241

241:                                              ; preds = %212, %119
  br label %242

242:                                              ; preds = %241
  %243 = load i32, ptr %27, align 4, !tbaa !9
  %244 = add nsw i32 %243, -1
  store i32 %244, ptr %27, align 4, !tbaa !9
  br label %72, !llvm.loop !17

245:                                              ; preds = %72
  store i32 1, ptr %29, align 4
  br label %246

246:                                              ; preds = %245, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 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 @xerbla_(ptr noundef, ptr noundef, i32 noundef) #2

declare void @clacgv_(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 @ctrmv_(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}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@c_b1 = external hidden global %struct.complex, align 4
@c__1 = external hidden global i32, align 4
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @clarzt_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef readonly %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #0 {
  %10 = alloca i32, align 4
  %11 = alloca %struct.complex, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %12 = load i32, ptr %5, align 4, !tbaa !5
  %narrow = xor i32 %12, -1
  %13 = sext i32 %narrow to i64
  %14 = getelementptr inbounds %struct.complex, ptr %4, i64 %13
  %15 = getelementptr inbounds i8, ptr %6, i64 -8
  %16 = load i32, ptr %8, align 4, !tbaa !5
  %narrow84 = xor i32 %16, -1
  %17 = sext i32 %narrow84 to i64
  %18 = getelementptr inbounds %struct.complex, ptr %7, i64 %17
  %19 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #4
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %.thread, label %20

20:                                               ; preds = %9
  %21 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.1) #4
  %.not85.not = icmp eq i32 %21, 0
  br i1 %.not85.not, label %.thread, label %23

.thread:                                          ; preds = %9, %20
  %.083.neg91 = phi i32 [ 2, %20 ], [ 1, %9 ]
  store i32 %.083.neg91, ptr %10, align 4, !tbaa !5
  %22 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %10, i32 noundef 6) #4
  br label %.loopexit92

23:                                               ; preds = %20
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph97, label %.loopexit92

.lr.ph97:                                         ; preds = %23
  %26 = add i32 %16, 1
  %27 = shl nsw i64 %17, 3
  %scevgep = getelementptr i8, ptr %7, i64 %27
  %28 = mul i32 %24, %26
  %29 = zext nneg i32 %24 to i64
  %30 = sext i32 %12 to i64
  %31 = sext i32 %16 to i64
  %wide.trip.count = zext nneg i32 %24 to i64
  %invariant.gep = getelementptr %struct.complex, ptr %14, i64 %30
  %invariant.gep109 = getelementptr %struct.complex, ptr %14, i64 %30
  br label %32

32:                                               ; preds = %.lr.ph97, %.loopexit
  %indvars.iv102 = phi i64 [ 0, %.lr.ph97 ], [ %indvars.iv.next103, %.loopexit ]
  %indvars.iv = phi i64 [ %29, %.lr.ph97 ], [ %indvars.iv.next, %.loopexit ]
  %33 = trunc nuw nsw i64 %indvars.iv102 to i32
  %34 = mul i32 %narrow84, %33
  %35 = add i32 %28, %34
  %36 = sext i32 %35 to i64
  %37 = shl nsw i64 %36, 3
  %scevgep98 = getelementptr i8, ptr %scevgep, i64 %37
  %38 = sub i32 %33, %24
  %39 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %39, ptr %10, align 4, !tbaa !5
  %40 = getelementptr inbounds %struct.complex, ptr %15, i64 %indvars.iv
  %41 = load float, ptr %40, align 4, !tbaa !9
  %42 = fcmp oeq float %41, 0.000000e+00
  br i1 %42, label %43, label %._crit_edge

._crit_edge:                                      ; preds = %32
  %.pre = load i32, ptr %3, align 4, !tbaa !5
  br label %53

43:                                               ; preds = %32
  %44 = getelementptr inbounds i8, ptr %40, i64 4
  %45 = load float, ptr %44, align 4, !tbaa !12
  %46 = fcmp oeq float %45, 0.000000e+00
  %.pre107 = load i32, ptr %3, align 4, !tbaa !5
  br i1 %46, label %47, label %53

47:                                               ; preds = %43
  store i32 %.pre107, ptr %10, align 4, !tbaa !5
  %48 = sext i32 %.pre107 to i64
  %.not8793 = icmp sgt i64 %indvars.iv, %48
  br i1 %.not8793, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %47
  %49 = add i32 %.pre107, %38
  %50 = zext i32 %49 to i64
  %51 = shl nuw nsw i64 %50, 3
  %52 = add nuw nsw i64 %51, 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep98, i8 0, i64 %52, i1 false), !tbaa !13
  br label %.loopexit

53:                                               ; preds = %._crit_edge, %43
  %54 = phi i32 [ %.pre, %._crit_edge ], [ %.pre107, %43 ]
  %55 = sext i32 %54 to i64
  %56 = icmp slt i64 %indvars.iv, %55
  br i1 %56, label %57, label %72

57:                                               ; preds = %53
  %gep = getelementptr %struct.complex, ptr %invariant.gep, i64 %indvars.iv
  call void @clacgv_(ptr noundef %2, ptr noundef %gep, ptr noundef nonnull %5) #4
  %58 = load i32, ptr %3, align 4, !tbaa !5
  %59 = sub nsw i32 %58, %39
  store i32 %59, ptr %10, align 4, !tbaa !5
  %60 = load <2 x float>, ptr %40, align 4, !tbaa !13
  %61 = fneg <2 x float> %60
  store <2 x float> %61, ptr %11, align 8, !tbaa !13
  %62 = add nuw nsw i64 %indvars.iv, 1
  %gep110 = getelementptr %struct.complex, ptr %invariant.gep109, i64 %62
  %63 = mul nsw i64 %indvars.iv, %31
  %64 = getelementptr %struct.complex, ptr %18, i64 %62
  %65 = getelementptr %struct.complex, ptr %64, i64 %63
  call void @cgemv_(ptr noundef nonnull @.str.3, ptr noundef nonnull %10, ptr noundef %2, ptr noundef nonnull %11, ptr noundef %gep110, ptr noundef nonnull %5, ptr noundef %gep, ptr noundef nonnull %5, ptr noundef nonnull @c_b1, ptr noundef %65, ptr noundef nonnull @c__1) #4
  call void @clacgv_(ptr noundef %2, ptr noundef %gep, ptr noundef nonnull %5) #4
  %66 = load i32, ptr %3, align 4, !tbaa !5
  %67 = sub nsw i32 %66, %39
  store i32 %67, ptr %10, align 4, !tbaa !5
  %68 = trunc nsw i64 %62 to i32
  %69 = mul i32 %26, %68
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds %struct.complex, ptr %18, i64 %70
  call void @ctrmv_(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.5, ptr noundef nonnull %10, ptr noundef %71, ptr noundef nonnull %8, ptr noundef %65, ptr noundef nonnull @c__1) #4
  %.pre108 = load float, ptr %40, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %57, %53
  %73 = phi float [ %.pre108, %57 ], [ %41, %53 ]
  %74 = mul i32 %26, %39
  store i32 %74, ptr %10, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds %struct.complex, ptr %18, i64 %75
  store float %73, ptr %76, align 4, !tbaa !9
  %77 = getelementptr inbounds i8, ptr %40, i64 4
  %78 = load float, ptr %77, align 4, !tbaa !12
  %79 = getelementptr inbounds %struct.complex, ptr %18, i64 %75, i32 1
  store float %78, ptr %79, align 4, !tbaa !12
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %47, %72
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next103, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit92, label %32, !llvm.loop !14

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

declare void @clacgv_(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 @ctrmv_(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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
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 = !{!"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}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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