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

; 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__1 = external hidden global i32, align 4
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @cgtcon_(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, ptr noundef %10) #0 {
  %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 ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca [3 x i32], align 4
  %29 = alloca float, align 4
  %30 = alloca i32, align 4
  %31 = 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
  store ptr %10, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #3
  %32 = load ptr, ptr %21, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.complex, ptr %32, i32 -1
  store ptr %33, ptr %21, align 8, !tbaa !5
  %34 = load ptr, ptr %18, align 8, !tbaa !5
  %35 = getelementptr inbounds i32, ptr %34, i32 -1
  store ptr %35, ptr %18, align 8, !tbaa !5
  %36 = load ptr, ptr %17, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.complex, ptr %36, i32 -1
  store ptr %37, ptr %17, align 8, !tbaa !5
  %38 = load ptr, ptr %16, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.complex, ptr %38, i32 -1
  store ptr %39, ptr %16, align 8, !tbaa !5
  %40 = load ptr, ptr %15, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.complex, ptr %40, i32 -1
  store ptr %41, ptr %15, align 8, !tbaa !5
  %42 = load ptr, ptr %14, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.complex, ptr %42, i32 -1
  store ptr %43, ptr %14, align 8, !tbaa !5
  %44 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 0, ptr %44, align 4, !tbaa !9
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = load i8, ptr %45, align 1, !tbaa !11
  %47 = zext i8 %46 to i32
  %48 = icmp eq i32 %47, 49
  br i1 %48, label %53, label %49

49:                                               ; preds = %11
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = call i32 @lsame_(ptr noundef %50, ptr noundef @.str)
  %52 = icmp ne i32 %51, 0
  br label %53

53:                                               ; preds = %49, %11
  %54 = phi i1 [ true, %11 ], [ %52, %49 ]
  %55 = zext i1 %54 to i32
  store i32 %55, ptr %30, align 4, !tbaa !9
  %56 = load i32, ptr %30, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %64, label %58

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

62:                                               ; preds = %58
  %63 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %63, align 4, !tbaa !9
  br label %78

64:                                               ; preds = %58, %53
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = icmp slt i32 %66, 0
  br i1 %67, label %68, label %70

68:                                               ; preds = %64
  %69 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -2, ptr %69, align 4, !tbaa !9
  br label %77

70:                                               ; preds = %64
  %71 = load ptr, ptr %19, align 8, !tbaa !5
  %72 = load float, ptr %71, align 4, !tbaa !12
  %73 = fcmp olt float %72, 0.000000e+00
  br i1 %73, label %74, label %76

74:                                               ; preds = %70
  %75 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 -8, ptr %75, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %74, %70
  br label %77

77:                                               ; preds = %76, %68
  br label %78

78:                                               ; preds = %77, %62
  %79 = load ptr, ptr %22, align 8, !tbaa !5
  %80 = load i32, ptr %79, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %87

82:                                               ; preds = %78
  %83 = load ptr, ptr %22, align 8, !tbaa !5
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = sub nsw i32 0, %84
  store i32 %85, ptr %23, align 4, !tbaa !9
  %86 = call i32 @xerbla_(ptr noundef @.str.2, ptr noundef %23, i32 noundef 6)
  store i32 1, ptr %31, align 4
  br label %196

87:                                               ; preds = %78
  %88 = load ptr, ptr %20, align 8, !tbaa !5
  store float 0.000000e+00, ptr %88, align 4, !tbaa !12
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %94

92:                                               ; preds = %87
  %93 = load ptr, ptr %20, align 8, !tbaa !5
  store float 1.000000e+00, ptr %93, align 4, !tbaa !12
  store i32 1, ptr %31, align 4
  br label %196

94:                                               ; preds = %87
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  %96 = load float, ptr %95, align 4, !tbaa !12
  %97 = fcmp oeq float %96, 0.000000e+00
  br i1 %97, label %98, label %99

98:                                               ; preds = %94
  store i32 1, ptr %31, align 4
  br label %196

99:                                               ; preds = %94
  br label %100

100:                                              ; preds = %99
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = load i32, ptr %101, align 4, !tbaa !9
  store i32 %102, ptr %23, align 4, !tbaa !9
  store i32 1, ptr %27, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %126, %100
  %104 = load i32, ptr %27, align 4, !tbaa !9
  %105 = load i32, ptr %23, align 4, !tbaa !9
  %106 = icmp sle i32 %104, %105
  br i1 %106, label %107, label %129

107:                                              ; preds = %103
  %108 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %108, ptr %24, align 4, !tbaa !9
  %109 = load ptr, ptr %15, align 8, !tbaa !5
  %110 = load i32, ptr %24, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds %struct.complex, ptr %109, i64 %111
  %113 = getelementptr inbounds %struct.complex, ptr %112, i32 0, i32 0
  %114 = load float, ptr %113, align 4, !tbaa !14
  %115 = fcmp oeq float %114, 0.000000e+00
  br i1 %115, label %116, label %125

116:                                              ; preds = %107
  %117 = load ptr, ptr %15, align 8, !tbaa !5
  %118 = load i32, ptr %24, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds %struct.complex, ptr %117, i64 %119
  %121 = getelementptr inbounds %struct.complex, ptr %120, i32 0, i32 1
  %122 = load float, ptr %121, align 4, !tbaa !16
  %123 = fcmp oeq float %122, 0.000000e+00
  br i1 %123, label %124, label %125

124:                                              ; preds = %116
  store i32 1, ptr %31, align 4
  br label %196

125:                                              ; preds = %116, %107
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %27, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %27, align 4, !tbaa !9
  br label %103, !llvm.loop !17

129:                                              ; preds = %103
  store float 0.000000e+00, ptr %29, align 4, !tbaa !12
  %130 = load i32, ptr %30, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %129
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %134

133:                                              ; preds = %129
  store i32 2, ptr %26, align 4, !tbaa !9
  br label %134

134:                                              ; preds = %133, %132
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %184, %134
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = load ptr, ptr %21, align 8, !tbaa !5
  %138 = load ptr, ptr %13, align 8, !tbaa !5
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = add nsw i32 %139, 1
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %struct.complex, ptr %137, i64 %141
  %143 = load ptr, ptr %21, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.complex, ptr %143, i64 1
  %145 = getelementptr inbounds [3 x i32], ptr %28, i64 0, i64 0
  call void @clacn2_(ptr noundef %136, ptr noundef %142, ptr noundef %144, ptr noundef %29, ptr noundef %25, ptr noundef %145)
  %146 = load i32, ptr %25, align 4, !tbaa !9
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %185

148:                                              ; preds = %135
  %149 = load i32, ptr %25, align 4, !tbaa !9
  %150 = load i32, ptr %26, align 4, !tbaa !9
  %151 = icmp eq i32 %149, %150
  br i1 %151, label %152, label %168

152:                                              ; preds = %148
  %153 = load ptr, ptr %13, align 8, !tbaa !5
  %154 = load ptr, ptr %14, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.complex, ptr %154, i64 1
  %156 = load ptr, ptr %15, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.complex, ptr %156, i64 1
  %158 = load ptr, ptr %16, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.complex, ptr %158, i64 1
  %160 = load ptr, ptr %17, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.complex, ptr %160, i64 1
  %162 = load ptr, ptr %18, align 8, !tbaa !5
  %163 = getelementptr inbounds i32, ptr %162, i64 1
  %164 = load ptr, ptr %21, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.complex, ptr %164, i64 1
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = load ptr, ptr %22, align 8, !tbaa !5
  call void @cgttrs_(ptr noundef @.str.3, ptr noundef %153, ptr noundef @c__1, ptr noundef %155, ptr noundef %157, ptr noundef %159, ptr noundef %161, ptr noundef %163, ptr noundef %165, ptr noundef %166, ptr noundef %167)
  br label %184

168:                                              ; preds = %148
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = load ptr, ptr %14, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.complex, ptr %170, i64 1
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.complex, ptr %172, i64 1
  %174 = load ptr, ptr %16, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.complex, ptr %174, i64 1
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.complex, ptr %176, i64 1
  %178 = load ptr, ptr %18, align 8, !tbaa !5
  %179 = getelementptr inbounds i32, ptr %178, i64 1
  %180 = load ptr, ptr %21, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.complex, ptr %180, i64 1
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = load ptr, ptr %22, align 8, !tbaa !5
  call void @cgttrs_(ptr noundef @.str.4, ptr noundef %169, ptr noundef @c__1, ptr noundef %171, ptr noundef %173, ptr noundef %175, ptr noundef %177, ptr noundef %179, ptr noundef %181, ptr noundef %182, ptr noundef %183)
  br label %184

184:                                              ; preds = %168, %152
  br label %135

185:                                              ; preds = %135
  %186 = load float, ptr %29, align 4, !tbaa !12
  %187 = fcmp une float %186, 0.000000e+00
  br i1 %187, label %188, label %195

188:                                              ; preds = %185
  %189 = load float, ptr %29, align 4, !tbaa !12
  %190 = fdiv float 1.000000e+00, %189
  %191 = load ptr, ptr %19, align 8, !tbaa !5
  %192 = load float, ptr %191, align 4, !tbaa !12
  %193 = fdiv float %190, %192
  %194 = load ptr, ptr %20, align 8, !tbaa !5
  store float %193, ptr %194, align 4, !tbaa !12
  br label %195

195:                                              ; preds = %188, %185
  store i32 1, ptr %31, align 4
  br label %196

196:                                              ; preds = %195, %124, %98, %92, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 12, 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 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  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 @clacn2_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @cgttrs_(ptr noundef, 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 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"", !13, i64 0, !13, i64 4}
!16 = !{!15, !13, i64 4}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; 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__1 = external hidden global i32, align 4
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @cgtcon_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef writeonly %8, ptr noundef %9, ptr noundef %10) local_unnamed_addr #0 {
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca [3 x i32], align 4
  %15 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
  %16 = getelementptr inbounds i8, ptr %3, i64 -8
  store i32 0, ptr %10, align 4, !tbaa !5
  %17 = load i8, ptr %0, align 1, !tbaa !9
  %18 = icmp eq i8 %17, 49
  br i1 %18, label %.thread, label %19

19:                                               ; preds = %11
  %20 = tail call i32 @lsame_(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3
  %.not66 = icmp eq i32 %20, 0
  br i1 %.not66, label %21, label %.thread

21:                                               ; preds = %19
  %22 = tail call i32 @lsame_(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %.thread64.sink.split, label %.thread

.thread:                                          ; preds = %11, %21, %19
  %. = phi i32 [ 2, %21 ], [ 1, %19 ], [ 1, %11 ]
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %24 = icmp slt i32 %23, 0
  br i1 %24, label %.thread64.sink.split, label %25

25:                                               ; preds = %.thread
  %26 = load float, ptr %7, align 4, !tbaa !10
  %27 = fcmp olt float %26, 0.000000e+00
  br i1 %27, label %.thread64.sink.split, label %28

28:                                               ; preds = %25
  %.pr = load i32, ptr %10, align 4, !tbaa !5
  %.not60 = icmp eq i32 %.pr, 0
  br i1 %.not60, label %32, label %.thread64

.thread64.sink.split:                             ; preds = %25, %.thread, %21
  %.sink = phi i32 [ -1, %21 ], [ -2, %.thread ], [ -8, %25 ]
  store i32 %.sink, ptr %10, align 4, !tbaa !5
  br label %.thread64

.thread64:                                        ; preds = %.thread64.sink.split, %28
  %29 = phi i32 [ %.pr, %28 ], [ %.sink, %.thread64.sink.split ]
  %30 = sub nsw i32 0, %29
  store i32 %30, ptr %12, align 4, !tbaa !5
  %31 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %12, i32 noundef 6) #3
  br label %.loopexit

32:                                               ; preds = %28
  store float 0.000000e+00, ptr %8, align 4, !tbaa !10
  %33 = icmp eq i32 %23, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %32
  store float 1.000000e+00, ptr %8, align 4, !tbaa !10
  br label %.loopexit

35:                                               ; preds = %32
  %36 = load float, ptr %7, align 4, !tbaa !10
  %37 = fcmp oeq float %36, 0.000000e+00
  br i1 %37, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %35
  %38 = add nuw i32 %23, 1
  %wide.trip.count = zext i32 %38 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %46
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %46 ]
  %39 = getelementptr inbounds %struct.complex, ptr %16, i64 %indvars.iv
  %40 = load float, ptr %39, align 4, !tbaa !12
  %41 = fcmp oeq float %40, 0.000000e+00
  br i1 %41, label %42, label %46

42:                                               ; preds = %.lr.ph
  %43 = getelementptr inbounds i8, ptr %39, i64 4
  %44 = load float, ptr %43, align 4, !tbaa !14
  %45 = fcmp oeq float %44, 0.000000e+00
  br i1 %45, label %.loopexit, label %46

46:                                               ; preds = %.lr.ph, %42
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15

._crit_edge:                                      ; preds = %46
  store float 0.000000e+00, ptr %15, align 4, !tbaa !10
  store i32 0, ptr %13, align 4, !tbaa !5
  %47 = zext nneg i32 %23 to i64
  %gep69 = getelementptr %struct.complex, ptr %9, i64 %47
  call void @clacn2_(ptr noundef nonnull %1, ptr noundef %gep69, ptr noundef %9, ptr noundef nonnull %15, ptr noundef nonnull %13, ptr noundef nonnull %14) #3
  %48 = load i32, ptr %13, align 4, !tbaa !5
  %.not6270 = icmp eq i32 %48, 0
  br i1 %.not6270, label %._crit_edge73, label %.lr.ph72

.lr.ph72:                                         ; preds = %._crit_edge, %.lr.ph72
  %49 = phi i32 [ %53, %.lr.ph72 ], [ %48, %._crit_edge ]
  %50 = icmp eq i32 %49, %.
  %.str.3..str.4 = select i1 %50, ptr @.str.3, ptr @.str.4
  call void @cgttrs_(ptr noundef nonnull %.str.3..str.4, ptr noundef nonnull %1, ptr noundef nonnull @c__1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %9, ptr noundef nonnull %1, ptr noundef nonnull %10) #3
  %51 = load i32, ptr %1, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %gep = getelementptr %struct.complex, ptr %9, i64 %52
  call void @clacn2_(ptr noundef nonnull %1, ptr noundef %gep, ptr noundef %9, ptr noundef nonnull %15, ptr noundef nonnull %13, ptr noundef nonnull %14) #3
  %53 = load i32, ptr %13, align 4, !tbaa !5
  %.not62 = icmp eq i32 %53, 0
  br i1 %.not62, label %._crit_edge73, label %.lr.ph72

._crit_edge73:                                    ; preds = %.lr.ph72, %._crit_edge
  %54 = load float, ptr %15, align 4, !tbaa !10
  %55 = fcmp une float %54, 0.000000e+00
  br i1 %55, label %56, label %.loopexit

56:                                               ; preds = %._crit_edge73
  %57 = fdiv float 1.000000e+00, %54
  %58 = load float, ptr %7, align 4, !tbaa !10
  %59 = fdiv float %57, %58
  store float %59, ptr %8, align 4, !tbaa !10
  br label %.loopexit

.loopexit:                                        ; preds = %42, %._crit_edge73, %56, %35, %34, %.thread64
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  ret void
}

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

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

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

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

declare void @cgttrs_(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

; 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass