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

; 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 i32, align 4
@.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 [13 x i8], align 1

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

41:                                               ; preds = %10
  %42 = load ptr, ptr %17, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.complex, ptr %42, i32 0, i32 0
  %44 = load float, ptr %43, align 4, !tbaa !11
  %45 = fcmp une float %44, 0.000000e+00
  br i1 %45, label %51, label %46

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

51:                                               ; preds = %46, %41
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = load ptr, ptr %18, align 8, !tbaa !5
  %54 = load i32, ptr %22, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds %struct.complex, ptr %53, i64 %55
  %57 = load ptr, ptr %19, align 8, !tbaa !5
  %58 = load ptr, ptr %20, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.complex, ptr %58, i64 1
  call void @ccopy_(ptr noundef %52, ptr noundef %56, ptr noundef %57, ptr noundef %59, ptr noundef @c__1)
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = load ptr, ptr %20, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.complex, ptr %61, i64 1
  call void @clacgv_(ptr noundef %60, ptr noundef %62, ptr noundef @c__1)
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = load ptr, ptr %18, align 8, !tbaa !5
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = load ptr, ptr %14, align 8, !tbaa !5
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = sub nsw i32 %67, %69
  %71 = add nsw i32 %70, 1
  %72 = load i32, ptr %21, align 4, !tbaa !9
  %73 = add nsw i32 %71, %72
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds %struct.complex, ptr %65, i64 %74
  %76 = load ptr, ptr %19, align 8, !tbaa !5
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.complex, ptr %77, i64 1
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = load ptr, ptr %20, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.complex, ptr %80, i64 1
  call void @cgemv_(ptr noundef @.str.1, ptr noundef %63, ptr noundef %64, ptr noundef @c_b1, ptr noundef %75, ptr noundef %76, ptr noundef %78, ptr noundef %79, ptr noundef @c_b1, ptr noundef %81, ptr noundef @c__1)
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = load ptr, ptr %20, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.complex, ptr %83, i64 1
  call void @clacgv_(ptr noundef %82, ptr noundef %84, ptr noundef @c__1)
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.complex, ptr %85, i32 0, i32 0
  %87 = load float, ptr %86, align 4, !tbaa !11
  %88 = fneg float %87
  %89 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  store float %88, ptr %89, align 4, !tbaa !11
  %90 = load ptr, ptr %17, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.complex, ptr %90, i32 0, i32 1
  %92 = load float, ptr %91, align 4, !tbaa !14
  %93 = fneg float %92
  %94 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  store float %93, ptr %94, align 4, !tbaa !14
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load ptr, ptr %20, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.complex, ptr %96, i64 1
  %98 = load ptr, ptr %18, align 8, !tbaa !5
  %99 = load i32, ptr %22, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %struct.complex, ptr %98, i64 %100
  %102 = load ptr, ptr %19, align 8, !tbaa !5
  call void @caxpy_(ptr noundef %95, ptr noundef %23, ptr noundef %97, ptr noundef @c__1, ptr noundef %101, ptr noundef %102)
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.complex, ptr %103, i32 0, i32 0
  %105 = load float, ptr %104, align 4, !tbaa !11
  %106 = fneg float %105
  %107 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  store float %106, ptr %107, align 4, !tbaa !11
  %108 = load ptr, ptr %17, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.complex, ptr %108, i32 0, i32 1
  %110 = load float, ptr %109, align 4, !tbaa !14
  %111 = fneg float %110
  %112 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  store float %111, ptr %112, align 4, !tbaa !14
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.complex, ptr %115, i64 1
  %117 = load ptr, ptr %16, align 8, !tbaa !5
  %118 = load ptr, ptr %20, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.complex, ptr %118, i64 1
  %120 = load ptr, ptr %18, align 8, !tbaa !5
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = load ptr, ptr %14, align 8, !tbaa !5
  %124 = load i32, ptr %123, align 4, !tbaa !9
  %125 = sub nsw i32 %122, %124
  %126 = add nsw i32 %125, 1
  %127 = load i32, ptr %21, align 4, !tbaa !9
  %128 = add nsw i32 %126, %127
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds %struct.complex, ptr %120, i64 %129
  %131 = load ptr, ptr %19, align 8, !tbaa !5
  call void @cgeru_(ptr noundef %113, ptr noundef %114, ptr noundef %23, ptr noundef %116, ptr noundef %117, ptr noundef %119, ptr noundef @c__1, ptr noundef %130, ptr noundef %131)
  br label %132

132:                                              ; preds = %51, %46
  br label %219

133:                                              ; preds = %10
  %134 = load ptr, ptr %17, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.complex, ptr %134, i32 0, i32 0
  %136 = load float, ptr %135, align 4, !tbaa !11
  %137 = fcmp une float %136, 0.000000e+00
  br i1 %137, label %143, label %138

138:                                              ; preds = %133
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.complex, ptr %139, i32 0, i32 1
  %141 = load float, ptr %140, align 4, !tbaa !14
  %142 = fcmp une float %141, 0.000000e+00
  br i1 %142, label %143, label %218

143:                                              ; preds = %138, %133
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = load ptr, ptr %18, align 8, !tbaa !5
  %146 = load i32, ptr %22, align 4, !tbaa !9
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds %struct.complex, ptr %145, i64 %147
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.complex, ptr %149, i64 1
  call void @ccopy_(ptr noundef %144, ptr noundef %148, ptr noundef @c__1, ptr noundef %150, ptr noundef @c__1)
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = load ptr, ptr %14, align 8, !tbaa !5
  %153 = load ptr, ptr %18, align 8, !tbaa !5
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = load i32, ptr %154, align 4, !tbaa !9
  %156 = load ptr, ptr %14, align 8, !tbaa !5
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = sub nsw i32 %155, %157
  %159 = add nsw i32 %158, 1
  %160 = load i32, ptr %21, align 4, !tbaa !9
  %161 = mul nsw i32 %159, %160
  %162 = add nsw i32 %161, 1
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds %struct.complex, ptr %153, i64 %163
  %165 = load ptr, ptr %19, align 8, !tbaa !5
  %166 = load ptr, ptr %15, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.complex, ptr %166, i64 1
  %168 = load ptr, ptr %16, align 8, !tbaa !5
  %169 = load ptr, ptr %20, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.complex, ptr %169, i64 1
  call void @cgemv_(ptr noundef @.str.2, ptr noundef %151, ptr noundef %152, ptr noundef @c_b1, ptr noundef %164, ptr noundef %165, ptr noundef %167, ptr noundef %168, ptr noundef @c_b1, ptr noundef %170, ptr noundef @c__1)
  %171 = load ptr, ptr %17, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.complex, ptr %171, i32 0, i32 0
  %173 = load float, ptr %172, align 4, !tbaa !11
  %174 = fneg float %173
  %175 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  store float %174, ptr %175, align 4, !tbaa !11
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.complex, ptr %176, i32 0, i32 1
  %178 = load float, ptr %177, align 4, !tbaa !14
  %179 = fneg float %178
  %180 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  store float %179, ptr %180, align 4, !tbaa !14
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  %182 = load ptr, ptr %20, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.complex, ptr %182, i64 1
  %184 = load ptr, ptr %18, align 8, !tbaa !5
  %185 = load i32, ptr %22, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds %struct.complex, ptr %184, i64 %186
  call void @caxpy_(ptr noundef %181, ptr noundef %23, ptr noundef %183, ptr noundef @c__1, ptr noundef %187, ptr noundef @c__1)
  %188 = load ptr, ptr %17, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.complex, ptr %188, i32 0, i32 0
  %190 = load float, ptr %189, align 4, !tbaa !11
  %191 = fneg float %190
  %192 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  store float %191, ptr %192, align 4, !tbaa !11
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.complex, ptr %193, i32 0, i32 1
  %195 = load float, ptr %194, align 4, !tbaa !14
  %196 = fneg float %195
  %197 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  store float %196, ptr %197, align 4, !tbaa !14
  %198 = load ptr, ptr %12, align 8, !tbaa !5
  %199 = load ptr, ptr %14, align 8, !tbaa !5
  %200 = load ptr, ptr %20, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.complex, ptr %200, i64 1
  %202 = load ptr, ptr %15, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.complex, ptr %202, i64 1
  %204 = load ptr, ptr %16, align 8, !tbaa !5
  %205 = load ptr, ptr %18, align 8, !tbaa !5
  %206 = load ptr, ptr %13, align 8, !tbaa !5
  %207 = load i32, ptr %206, align 4, !tbaa !9
  %208 = load ptr, ptr %14, align 8, !tbaa !5
  %209 = load i32, ptr %208, align 4, !tbaa !9
  %210 = sub nsw i32 %207, %209
  %211 = add nsw i32 %210, 1
  %212 = load i32, ptr %21, align 4, !tbaa !9
  %213 = mul nsw i32 %211, %212
  %214 = add nsw i32 %213, 1
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds %struct.complex, ptr %205, i64 %215
  %217 = load ptr, ptr %19, align 8, !tbaa !5
  call void @cgerc_(ptr noundef %198, ptr noundef %199, ptr noundef %23, ptr noundef %201, ptr noundef @c__1, ptr noundef %203, ptr noundef %204, ptr noundef %216, ptr noundef %217)
  br label %218

218:                                              ; preds = %143, %138
  br label %219

219:                                              ; preds = %218, %132
  call void @llvm.lifetime.end.p0(i64 8, 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
  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 void @ccopy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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 @caxpy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @cgeru_(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
@c__1 = external hidden global i32, align 4
@.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 [13 x i8], align 1

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

18:                                               ; preds = %10
  br i1 %17, label %23, label %19

19:                                               ; preds = %18
  %20 = getelementptr inbounds i8, ptr %6, i64 4
  %21 = load float, ptr %20, align 4, !tbaa !12
  %22 = fcmp une float %21, 0.000000e+00
  br i1 %22, label %23, label %67

23:                                               ; preds = %19, %18
  tail call void @ccopy_(ptr noundef %2, ptr noundef %7, ptr noundef nonnull %8, ptr noundef %9, ptr noundef nonnull @c__1) #3
  tail call void @clacgv_(ptr noundef %2, ptr noundef %9, ptr noundef nonnull @c__1) #3
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = add i32 %12, 1
  %27 = add i32 %26, %24
  %28 = sub i32 %27, %25
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds %struct.complex, ptr %14, i64 %29
  tail call void @cgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %3, ptr noundef %2, ptr noundef nonnull @c_b1, ptr noundef %30, ptr noundef nonnull %8, ptr noundef %4, ptr noundef %5, ptr noundef nonnull @c_b1, ptr noundef %9, ptr noundef nonnull @c__1) #3
  tail call void @clacgv_(ptr noundef %2, ptr noundef %9, ptr noundef nonnull @c__1) #3
  %31 = load <2 x float>, ptr %6, align 4, !tbaa !13
  %32 = fneg <2 x float> %31
  store <2 x float> %32, ptr %11, align 8, !tbaa !13
  call void @caxpy_(ptr noundef %2, ptr noundef nonnull %11, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %7, ptr noundef nonnull %8) #3
  %33 = load <2 x float>, ptr %6, align 4, !tbaa !13
  %34 = fneg <2 x float> %33
  store <2 x float> %34, ptr %11, align 8, !tbaa !13
  %35 = load i32, ptr %1, align 4, !tbaa !5
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = add i32 %26, %35
  %38 = sub i32 %37, %36
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds %struct.complex, ptr %14, i64 %39
  call void @cgeru_(ptr noundef nonnull %3, ptr noundef %2, ptr noundef nonnull %11, ptr noundef %4, ptr noundef %5, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %40, ptr noundef nonnull %8) #3
  br label %67

41:                                               ; preds = %10
  br i1 %17, label %46, label %42

42:                                               ; preds = %41
  %43 = getelementptr inbounds i8, ptr %6, i64 4
  %44 = load float, ptr %43, align 4, !tbaa !12
  %45 = fcmp une float %44, 0.000000e+00
  br i1 %45, label %46, label %67

46:                                               ; preds = %42, %41
  tail call void @ccopy_(ptr noundef %1, ptr noundef %7, ptr noundef nonnull @c__1, ptr noundef %9, ptr noundef nonnull @c__1) #3
  %47 = load i32, ptr %2, align 4, !tbaa !5
  %48 = load i32, ptr %3, align 4, !tbaa !5
  %49 = add i32 %47, 1
  %50 = sub i32 %49, %48
  %51 = mul nsw i32 %50, %12
  %52 = sext i32 %51 to i64
  %53 = getelementptr %struct.complex, ptr %14, i64 %52
  %54 = getelementptr i8, ptr %53, i64 8
  tail call void @cgemv_(ptr noundef nonnull @.str.2, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull @c_b1, ptr noundef %54, ptr noundef nonnull %8, ptr noundef %4, ptr noundef %5, ptr noundef nonnull @c_b1, ptr noundef %9, ptr noundef nonnull @c__1) #3
  %55 = load <2 x float>, ptr %6, align 4, !tbaa !13
  %56 = fneg <2 x float> %55
  store <2 x float> %56, ptr %11, align 8, !tbaa !13
  call void @caxpy_(ptr noundef %1, ptr noundef nonnull %11, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %7, ptr noundef nonnull @c__1) #3
  %57 = load <2 x float>, ptr %6, align 4, !tbaa !13
  %58 = fneg <2 x float> %57
  store <2 x float> %58, ptr %11, align 8, !tbaa !13
  %59 = load i32, ptr %2, align 4, !tbaa !5
  %60 = load i32, ptr %3, align 4, !tbaa !5
  %61 = add i32 %59, 1
  %62 = sub i32 %61, %60
  %63 = mul nsw i32 %62, %12
  %64 = sext i32 %63 to i64
  %65 = getelementptr %struct.complex, ptr %14, i64 %64
  %66 = getelementptr i8, ptr %65, i64 8
  call void @cgerc_(ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %11, ptr noundef %9, ptr noundef nonnull @c__1, ptr noundef %4, ptr noundef %5, ptr noundef %66, ptr noundef nonnull %8) #3
  br label %67

67:                                               ; preds = %42, %46, %19, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #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 void @ccopy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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 @caxpy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @cgeru_(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: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass