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

; 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 [6 x i8], align 1

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

39:                                               ; preds = %7
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %194

40:                                               ; preds = %7
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = load i64, ptr %41, align 8, !tbaa !9
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = icmp eq i64 %42, %44
  br i1 %45, label %46, label %67

46:                                               ; preds = %40
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = load i64, ptr %47, align 8, !tbaa !9
  store i64 %48, ptr %18, align 8, !tbaa !9
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %49

49:                                               ; preds = %63, %46
  %50 = load i64, ptr %21, align 8, !tbaa !9
  %51 = load i64, ptr %18, align 8, !tbaa !9
  %52 = icmp sle i64 %50, %51
  br i1 %52, label %53, label %66

53:                                               ; preds = %49
  %54 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %54, ptr %19, align 8, !tbaa !9
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  %56 = load i64, ptr %19, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.complex, ptr %55, i64 %56
  %58 = getelementptr inbounds %struct.complex, ptr %57, i32 0, i32 0
  store float 0.000000e+00, ptr %58, align 4, !tbaa !11
  %59 = load ptr, ptr %14, align 8, !tbaa !5
  %60 = load i64, ptr %19, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.complex, ptr %59, i64 %60
  %62 = getelementptr inbounds %struct.complex, ptr %61, i32 0, i32 1
  store float 0.000000e+00, ptr %62, align 4, !tbaa !14
  br label %63

63:                                               ; preds = %53
  %64 = load i64, ptr %21, align 8, !tbaa !9
  %65 = add nsw i64 %64, 1
  store i64 %65, ptr %21, align 8, !tbaa !9
  br label %49, !llvm.loop !15

66:                                               ; preds = %49
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %194

67:                                               ; preds = %40
  br label %68

68:                                               ; preds = %67
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = load i64, ptr %69, align 8, !tbaa !9
  store i64 %70, ptr %21, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %190, %68
  %72 = load i64, ptr %21, align 8, !tbaa !9
  %73 = icmp sge i64 %72, 1
  br i1 %73, label %74, label %193

74:                                               ; preds = %71
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = load i64, ptr %21, align 8, !tbaa !9
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = load i64, ptr %78, align 8, !tbaa !9
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = load i64, ptr %80, align 8, !tbaa !9
  %82 = sub nsw i64 %79, %81
  %83 = add nsw i64 %82, 1
  %84 = load i64, ptr %16, align 8, !tbaa !9
  %85 = mul nsw i64 %83, %84
  %86 = add nsw i64 %77, %85
  %87 = getelementptr inbounds %struct.complex, ptr %76, i64 %86
  %88 = load ptr, ptr %13, align 8, !tbaa !5
  %89 = call i32 @clacgv_(ptr noundef %75, ptr noundef %87, ptr noundef %88)
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = load i64, ptr %21, align 8, !tbaa !9
  %92 = load i64, ptr %21, align 8, !tbaa !9
  %93 = load i64, ptr %16, align 8, !tbaa !9
  %94 = mul nsw i64 %92, %93
  %95 = add nsw i64 %91, %94
  %96 = getelementptr inbounds %struct.complex, ptr %90, i64 %95
  call void @r_cnjg(ptr noundef %20, ptr noundef %96)
  %97 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 0
  %98 = load float, ptr %97, align 4, !tbaa !11
  %99 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 0
  store float %98, ptr %99, align 4, !tbaa !11
  %100 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 1
  %101 = load float, ptr %100, align 4, !tbaa !14
  %102 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 1
  store float %101, ptr %102, align 4, !tbaa !14
  %103 = load ptr, ptr %11, align 8, !tbaa !5
  %104 = load i64, ptr %103, align 8, !tbaa !9
  %105 = add nsw i64 %104, 1
  store i64 %105, ptr %18, align 8, !tbaa !9
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = load i64, ptr %21, align 8, !tbaa !9
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = load i64, ptr %108, align 8, !tbaa !9
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = load i64, ptr %110, align 8, !tbaa !9
  %112 = sub nsw i64 %109, %111
  %113 = add nsw i64 %112, 1
  %114 = load i64, ptr %16, align 8, !tbaa !9
  %115 = mul nsw i64 %113, %114
  %116 = add nsw i64 %107, %115
  %117 = getelementptr inbounds %struct.complex, ptr %106, i64 %116
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  %119 = load ptr, ptr %14, align 8, !tbaa !5
  %120 = load i64, ptr %21, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.complex, ptr %119, i64 %120
  %122 = call i32 @clarfp_(ptr noundef %18, ptr noundef %22, ptr noundef %117, ptr noundef %118, ptr noundef %121)
  %123 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %123, ptr %18, align 8, !tbaa !9
  %124 = load ptr, ptr %14, align 8, !tbaa !5
  %125 = load i64, ptr %21, align 8, !tbaa !9
  %126 = getelementptr inbounds %struct.complex, ptr %124, i64 %125
  call void @r_cnjg(ptr noundef %20, ptr noundef %126)
  %127 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 0
  %128 = load float, ptr %127, align 4, !tbaa !11
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load i64, ptr %18, align 8, !tbaa !9
  %131 = getelementptr inbounds %struct.complex, ptr %129, i64 %130
  %132 = getelementptr inbounds %struct.complex, ptr %131, i32 0, i32 0
  store float %128, ptr %132, align 4, !tbaa !11
  %133 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 1
  %134 = load float, ptr %133, align 4, !tbaa !14
  %135 = load ptr, ptr %14, align 8, !tbaa !5
  %136 = load i64, ptr %18, align 8, !tbaa !9
  %137 = getelementptr inbounds %struct.complex, ptr %135, i64 %136
  %138 = getelementptr inbounds %struct.complex, ptr %137, i32 0, i32 1
  store float %134, ptr %138, align 4, !tbaa !14
  %139 = load i64, ptr %21, align 8, !tbaa !9
  %140 = sub nsw i64 %139, 1
  store i64 %140, ptr %18, align 8, !tbaa !9
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = load i64, ptr %141, align 8, !tbaa !9
  %143 = load i64, ptr %21, align 8, !tbaa !9
  %144 = sub nsw i64 %142, %143
  %145 = add nsw i64 %144, 1
  store i64 %145, ptr %19, align 8, !tbaa !9
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  %147 = load i64, ptr %21, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.complex, ptr %146, i64 %147
  call void @r_cnjg(ptr noundef %20, ptr noundef %148)
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = load i64, ptr %21, align 8, !tbaa !9
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = load i64, ptr %152, align 8, !tbaa !9
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = load i64, ptr %154, align 8, !tbaa !9
  %156 = sub nsw i64 %153, %155
  %157 = add nsw i64 %156, 1
  %158 = load i64, ptr %16, align 8, !tbaa !9
  %159 = mul nsw i64 %157, %158
  %160 = add nsw i64 %151, %159
  %161 = getelementptr inbounds %struct.complex, ptr %150, i64 %160
  %162 = load ptr, ptr %13, align 8, !tbaa !5
  %163 = load ptr, ptr %12, align 8, !tbaa !5
  %164 = load i64, ptr %21, align 8, !tbaa !9
  %165 = load i64, ptr %16, align 8, !tbaa !9
  %166 = mul nsw i64 %164, %165
  %167 = add nsw i64 %166, 1
  %168 = getelementptr inbounds %struct.complex, ptr %163, i64 %167
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = load ptr, ptr %15, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.complex, ptr %170, i64 1
  %172 = call i32 @clarz_(ptr noundef @.str, ptr noundef %18, ptr noundef %19, ptr noundef %149, ptr noundef %161, ptr noundef %162, ptr noundef %20, ptr noundef %168, ptr noundef %169, ptr noundef %171)
  %173 = load i64, ptr %21, align 8, !tbaa !9
  %174 = load i64, ptr %21, align 8, !tbaa !9
  %175 = load i64, ptr %16, align 8, !tbaa !9
  %176 = mul nsw i64 %174, %175
  %177 = add nsw i64 %173, %176
  store i64 %177, ptr %18, align 8, !tbaa !9
  call void @r_cnjg(ptr noundef %20, ptr noundef %22)
  %178 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 0
  %179 = load float, ptr %178, align 4, !tbaa !11
  %180 = load ptr, ptr %12, align 8, !tbaa !5
  %181 = load i64, ptr %18, align 8, !tbaa !9
  %182 = getelementptr inbounds %struct.complex, ptr %180, i64 %181
  %183 = getelementptr inbounds %struct.complex, ptr %182, i32 0, i32 0
  store float %179, ptr %183, align 4, !tbaa !11
  %184 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 1
  %185 = load float, ptr %184, align 4, !tbaa !14
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load i64, ptr %18, align 8, !tbaa !9
  %188 = getelementptr inbounds %struct.complex, ptr %186, i64 %187
  %189 = getelementptr inbounds %struct.complex, ptr %188, i32 0, i32 1
  store float %185, ptr %189, align 4, !tbaa !14
  br label %190

190:                                              ; preds = %74
  %191 = load i64, ptr %21, align 8, !tbaa !9
  %192 = add nsw i64 %191, -1
  store i64 %192, ptr %21, align 8, !tbaa !9
  br label %71, !llvm.loop !17

193:                                              ; preds = %71
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %194

194:                                              ; preds = %193, %66, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  %195 = load i32, ptr %8, align 4
  ret i32 %195
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

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

declare void @r_cnjg(ptr noundef, ptr noundef) #2

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

declare i32 @clarz_(ptr noundef, 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}
!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 [6 x i8], align 1

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

18:                                               ; preds = %7
  %19 = load i64, ptr %1, align 8, !tbaa !5
  %20 = icmp eq i64 %16, %19
  br i1 %20, label %22, label %.preheader

.preheader:                                       ; preds = %18
  %invariant.gep = getelementptr i8, ptr %14, i64 8
  %21 = icmp sgt i64 %16, 0
  br i1 %21, label %.lr.ph, label %.loopexit70

22:                                               ; preds = %18
  %.not73 = icmp slt i64 %16, 1
  br i1 %.not73, label %.loopexit70, label %.lr.ph75.preheader

.lr.ph75.preheader:                               ; preds = %22
  %23 = shl nuw i64 %16, 3
  tail call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 %23, i1 false), !tbaa !9
  br label %.loopexit70

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.171 = phi i64 [ %47, %.lr.ph ], [ %16, %.preheader ]
  %24 = load i64, ptr %1, align 8, !tbaa !5
  %25 = load i64, ptr %2, align 8, !tbaa !5
  %26 = add i64 %24, 1
  %27 = sub i64 %26, %25
  %28 = mul nsw i64 %27, %12
  %29 = getelementptr %struct.complex, ptr %14, i64 %.171
  %30 = getelementptr %struct.complex, ptr %29, i64 %28
  %31 = call i32 @clacgv_(ptr noundef nonnull %2, ptr noundef %30, ptr noundef nonnull %4) #4
  %32 = mul nsw i64 %.171, %12
  %33 = add nsw i64 %32, %.171
  %34 = getelementptr inbounds %struct.complex, ptr %14, i64 %33
  call void @r_cnjg(ptr noundef nonnull %10, ptr noundef %34) #4
  %35 = load <2 x float>, ptr %10, align 8, !tbaa !9
  store <2 x float> %35, ptr %11, align 8, !tbaa !9
  %36 = load i64, ptr %2, align 8, !tbaa !5
  %37 = add nsw i64 %36, 1
  store i64 %37, ptr %8, align 8, !tbaa !5
  %38 = load i64, ptr %1, align 8, !tbaa !5
  %reass.sub = sub i64 %38, %36
  %39 = add i64 %reass.sub, 1
  %40 = mul nsw i64 %39, %12
  %41 = getelementptr %struct.complex, ptr %29, i64 %40
  %42 = getelementptr inbounds %struct.complex, ptr %15, i64 %.171
  %43 = call i32 @clarfp_(ptr noundef nonnull %8, ptr noundef nonnull %11, ptr noundef %41, ptr noundef nonnull %4, ptr noundef nonnull %42) #4
  store i64 %.171, ptr %8, align 8, !tbaa !5
  call void @r_cnjg(ptr noundef nonnull %10, ptr noundef nonnull %42) #4
  %44 = load i64, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.complex, ptr %15, i64 %44
  %46 = load <2 x float>, ptr %10, align 8, !tbaa !9
  store <2 x float> %46, ptr %45, align 4, !tbaa !9
  %47 = add nsw i64 %.171, -1
  store i64 %47, ptr %8, align 8, !tbaa !5
  %48 = load i64, ptr %1, align 8, !tbaa !5
  %reass.sub76 = sub i64 %48, %.171
  %49 = add i64 %reass.sub76, 1
  store i64 %49, ptr %9, align 8, !tbaa !5
  call void @r_cnjg(ptr noundef nonnull %10, ptr noundef nonnull %42) #4
  %50 = load i64, ptr %1, align 8, !tbaa !5
  %51 = load i64, ptr %2, align 8, !tbaa !5
  %52 = add i64 %50, 1
  %53 = sub i64 %52, %51
  %54 = mul nsw i64 %53, %12
  %55 = getelementptr %struct.complex, ptr %29, i64 %54
  %gep = getelementptr %struct.complex, ptr %invariant.gep, i64 %32
  %56 = call i32 @clarz_(ptr noundef nonnull @.str, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %2, ptr noundef %55, ptr noundef nonnull %4, ptr noundef nonnull %10, ptr noundef %gep, ptr noundef nonnull %4, ptr noundef %6) #4
  store i64 %33, ptr %8, align 8, !tbaa !5
  call void @r_cnjg(ptr noundef nonnull %10, ptr noundef nonnull %11) #4
  %57 = load i64, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.complex, ptr %14, i64 %57
  %59 = load <2 x float>, ptr %10, align 8, !tbaa !9
  store <2 x float> %59, ptr %58, align 4, !tbaa !9
  %60 = icmp ugt i64 %.171, 1
  br i1 %60, label %.lr.ph, label %.loopexit70, !llvm.loop !11

.loopexit70:                                      ; preds = %.lr.ph, %22, %.lr.ph75.preheader, %.preheader, %7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #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 i32 @clacgv_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @r_cnjg(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare i32 @clarz_(ptr noundef, 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 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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