; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/blas (complex_double)

; 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"

%"class.Eigen::Map.9" = type { %"class.Eigen::MapBase.base.19", [7 x i8] }
%"class.Eigen::MapBase.base.19" = type { %"class.Eigen::MapBase.base.18" }
%"class.Eigen::MapBase.base.18" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.std::complex" = type { { double, double } }

@_ZZ6zgemv_E4func = external hidden constant [4 x ptr], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.9") align 8, ptr noundef, i32 noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local i32 @zgemv_(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) #2 {
  %12 = alloca i32, align 4
  %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 ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::complex", align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.std::complex", align 8
  %40 = alloca %"class.std::complex", align 8
  %41 = alloca %"class.Eigen::Map.9", align 8
  %42 = alloca %"class.Eigen::Map.9", align 8
  %43 = alloca %"class.std::complex", align 8
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store ptr %2, ptr %15, align 8, !tbaa !5
  store ptr %3, ptr %16, align 8, !tbaa !5
  store ptr %4, ptr %17, align 8, !tbaa !5
  store ptr %5, ptr %18, align 8, !tbaa !5
  store ptr %6, ptr %19, align 8, !tbaa !5
  store ptr %7, ptr %20, align 8, !tbaa !5
  store ptr %8, ptr %21, align 8, !tbaa !5
  store ptr %9, ptr %22, align 8, !tbaa !5
  store ptr %10, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %44, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %45 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %45, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %46 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %46, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %47 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %47, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  %48 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %48, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !11
  %49 = load ptr, ptr %13, align 8, !tbaa !5
  %50 = load i8, ptr %49, align 1, !tbaa !10
  %51 = sext i8 %50 to i32
  %52 = icmp eq i32 %51, 78
  br i1 %52, label %58, label %53

53:                                               ; preds = %11
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = load i8, ptr %54, align 1, !tbaa !10
  %56 = sext i8 %55 to i32
  %57 = icmp eq i32 %56, 110
  br i1 %57, label %58, label %59

58:                                               ; preds = %53, %11
  br label %86

59:                                               ; preds = %53
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = load i8, ptr %60, align 1, !tbaa !10
  %62 = sext i8 %61 to i32
  %63 = icmp eq i32 %62, 84
  br i1 %63, label %69, label %64

64:                                               ; preds = %59
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = load i8, ptr %65, align 1, !tbaa !10
  %67 = sext i8 %66 to i32
  %68 = icmp eq i32 %67, 116
  br i1 %68, label %69, label %70

69:                                               ; preds = %64, %59
  br label %84

70:                                               ; preds = %64
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = load i8, ptr %71, align 1, !tbaa !10
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, 67
  br i1 %74, label %80, label %75

75:                                               ; preds = %70
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  %77 = load i8, ptr %76, align 1, !tbaa !10
  %78 = sext i8 %77 to i32
  %79 = icmp eq i32 %78, 99
  br label %80

80:                                               ; preds = %75, %70
  %81 = phi i1 [ true, %70 ], [ %79, %75 ]
  %82 = zext i1 %81 to i64
  %83 = select i1 %81, i32 2, i32 255
  br label %84

84:                                               ; preds = %80, %69
  %85 = phi i32 [ 1, %69 ], [ %83, %80 ]
  br label %86

86:                                               ; preds = %84, %58
  %87 = phi i32 [ 0, %58 ], [ %85, %84 ]
  %88 = icmp eq i32 %87, 255
  br i1 %88, label %89, label %90

89:                                               ; preds = %86
  store i32 1, ptr %29, align 4, !tbaa !11
  br label %123

90:                                               ; preds = %86
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = load i32, ptr %91, align 4, !tbaa !11
  %93 = icmp slt i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %90
  store i32 2, ptr %29, align 4, !tbaa !11
  br label %122

95:                                               ; preds = %90
  %96 = load ptr, ptr %15, align 8, !tbaa !5
  %97 = load i32, ptr %96, align 4, !tbaa !11
  %98 = icmp slt i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %95
  store i32 3, ptr %29, align 4, !tbaa !11
  br label %121

100:                                              ; preds = %95
  %101 = load ptr, ptr %18, align 8, !tbaa !5
  %102 = load i32, ptr %101, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 1, ptr %30, align 4, !tbaa !11
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %103)
  %105 = load i32, ptr %104, align 4, !tbaa !11
  %106 = icmp slt i32 %102, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br i1 %106, label %107, label %108

107:                                              ; preds = %100
  store i32 6, ptr %29, align 4, !tbaa !11
  br label %120

108:                                              ; preds = %100
  %109 = load ptr, ptr %20, align 8, !tbaa !5
  %110 = load i32, ptr %109, align 4, !tbaa !11
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %108
  store i32 8, ptr %29, align 4, !tbaa !11
  br label %119

113:                                              ; preds = %108
  %114 = load ptr, ptr %23, align 8, !tbaa !5
  %115 = load i32, ptr %114, align 4, !tbaa !11
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %113
  store i32 11, ptr %29, align 4, !tbaa !11
  br label %118

118:                                              ; preds = %117, %113
  br label %119

119:                                              ; preds = %118, %112
  br label %120

120:                                              ; preds = %119, %107
  br label %121

121:                                              ; preds = %120, %99
  br label %122

122:                                              ; preds = %121, %94
  br label %123

123:                                              ; preds = %122, %89
  %124 = load i32, ptr %29, align 4, !tbaa !11
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %128

126:                                              ; preds = %123
  %127 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %29, i32 noundef 6)
  store i32 %127, ptr %12, align 4
  store i32 1, ptr %31, align 4
  br label %265

128:                                              ; preds = %123
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load i32, ptr %129, align 4, !tbaa !11
  %131 = icmp eq i32 %130, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #8
  br i1 %131, label %142, label %132

132:                                              ; preds = %128
  %133 = load ptr, ptr %15, align 8, !tbaa !5
  %134 = load i32, ptr %133, align 4, !tbaa !11
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %142, label %136

136:                                              ; preds = %132
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %32, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %137 = call noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %32)
  br i1 %137, label %138, label %140

138:                                              ; preds = %136
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %33, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %139 = call noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %33)
  br label %140

140:                                              ; preds = %138, %136
  %141 = phi i1 [ false, %136 ], [ %139, %138 ]
  br label %142

142:                                              ; preds = %140, %132, %128
  %143 = phi i1 [ true, %132 ], [ true, %128 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  br i1 %143, label %144, label %145

144:                                              ; preds = %142
  store i32 0, ptr %12, align 4
  store i32 1, ptr %31, align 4
  br label %265

145:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  %147 = load i32, ptr %146, align 4, !tbaa !11
  store i32 %147, ptr %34, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  %148 = load ptr, ptr %15, align 8, !tbaa !5
  %149 = load i32, ptr %148, align 4, !tbaa !11
  store i32 %149, ptr %35, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  %150 = load ptr, ptr %13, align 8, !tbaa !5
  %151 = load i8, ptr %150, align 1, !tbaa !10
  %152 = sext i8 %151 to i32
  %153 = icmp eq i32 %152, 78
  br i1 %153, label %159, label %154

154:                                              ; preds = %145
  %155 = load ptr, ptr %13, align 8, !tbaa !5
  %156 = load i8, ptr %155, align 1, !tbaa !10
  %157 = sext i8 %156 to i32
  %158 = icmp eq i32 %157, 110
  br i1 %158, label %159, label %160

159:                                              ; preds = %154, %145
  br label %187

160:                                              ; preds = %154
  %161 = load ptr, ptr %13, align 8, !tbaa !5
  %162 = load i8, ptr %161, align 1, !tbaa !10
  %163 = sext i8 %162 to i32
  %164 = icmp eq i32 %163, 84
  br i1 %164, label %170, label %165

165:                                              ; preds = %160
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = load i8, ptr %166, align 1, !tbaa !10
  %168 = sext i8 %167 to i32
  %169 = icmp eq i32 %168, 116
  br i1 %169, label %170, label %171

170:                                              ; preds = %165, %160
  br label %185

171:                                              ; preds = %165
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  %173 = load i8, ptr %172, align 1, !tbaa !10
  %174 = sext i8 %173 to i32
  %175 = icmp eq i32 %174, 67
  br i1 %175, label %181, label %176

176:                                              ; preds = %171
  %177 = load ptr, ptr %13, align 8, !tbaa !5
  %178 = load i8, ptr %177, align 1, !tbaa !10
  %179 = sext i8 %178 to i32
  %180 = icmp eq i32 %179, 99
  br label %181

181:                                              ; preds = %176, %171
  %182 = phi i1 [ true, %171 ], [ %180, %176 ]
  %183 = zext i1 %182 to i64
  %184 = select i1 %182, i32 2, i32 255
  br label %185

185:                                              ; preds = %181, %170
  %186 = phi i32 [ 1, %170 ], [ %184, %181 ]
  br label %187

187:                                              ; preds = %185, %159
  %188 = phi i32 [ 0, %159 ], [ %186, %185 ]
  store i32 %188, ptr %36, align 4, !tbaa !11
  %189 = load i32, ptr %36, align 4, !tbaa !11
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %187
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35) #8
  br label %192

192:                                              ; preds = %191, %187
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %193 = load ptr, ptr %25, align 8, !tbaa !5
  %194 = load i32, ptr %35, align 4, !tbaa !11
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  %196 = load i32, ptr %195, align 4, !tbaa !11
  %197 = call noundef ptr @_Z18get_compact_vectorIKSt7complexIdEEPT_S4_ii(ptr noundef %193, i32 noundef %194, i32 noundef %196)
  store ptr %197, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %198 = load ptr, ptr %26, align 8, !tbaa !5
  %199 = load i32, ptr %34, align 4, !tbaa !11
  %200 = load ptr, ptr %23, align 8, !tbaa !5
  %201 = load i32, ptr %200, align 4, !tbaa !11
  %202 = call noundef ptr @_Z18get_compact_vectorISt7complexIdEEPT_S3_ii(ptr noundef %198, i32 noundef %199, i32 noundef %201)
  store ptr %202, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %39, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %203 = call noundef zeroext i1 @_ZStneIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %39)
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #8
  br i1 %203, label %204, label %215

204:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %40, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %205 = call noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #8
  br i1 %205, label %206, label %210

206:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #8
  %207 = load ptr, ptr %38, align 8, !tbaa !5
  %208 = load i32, ptr %34, align 4, !tbaa !11
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind writable sret(%"class.Eigen::Map.9") align 8 %41, ptr noundef %207, i32 noundef %208)
  %209 = call noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %41)
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  br label %214

210:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #8
  %211 = load ptr, ptr %38, align 8, !tbaa !5
  %212 = load i32, ptr %34, align 4, !tbaa !11
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind writable sret(%"class.Eigen::Map.9") align 8 %42, ptr noundef %211, i32 noundef %212)
  %213 = call noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 8 dereferenceable(16) %28)
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br label %214

214:                                              ; preds = %210, %206
  br label %215

215:                                              ; preds = %214, %192
  %216 = load i32, ptr %36, align 4, !tbaa !11
  %217 = icmp sge i32 %216, 4
  br i1 %217, label %224, label %218

218:                                              ; preds = %215
  %219 = load i32, ptr %36, align 4, !tbaa !11
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [4 x ptr], ptr @_ZZ6zgemv_E4func, i64 0, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !5
  %223 = icmp eq ptr %222, null
  br i1 %223, label %224, label %225

224:                                              ; preds = %218, %215
  store i32 0, ptr %12, align 4
  store i32 1, ptr %31, align 4
  br label %264

225:                                              ; preds = %218
  %226 = load i32, ptr %36, align 4, !tbaa !11
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [4 x ptr], ptr @_ZZ6zgemv_E4func, i64 0, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !5
  %230 = load i32, ptr %34, align 4, !tbaa !11
  %231 = load i32, ptr %35, align 4, !tbaa !11
  %232 = load ptr, ptr %24, align 8, !tbaa !5
  %233 = load ptr, ptr %18, align 8, !tbaa !5
  %234 = load i32, ptr %233, align 4, !tbaa !11
  %235 = load ptr, ptr %37, align 8, !tbaa !5
  %236 = load ptr, ptr %38, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !9
  %237 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %238 = load double, ptr %237, align 8
  %239 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %240 = load double, ptr %239, align 8
  call void %229(i32 noundef %230, i32 noundef %231, ptr noundef %232, i32 noundef %234, ptr noundef %235, i32 noundef 1, ptr noundef %236, i32 noundef 1, double %238, double %240)
  %241 = load ptr, ptr %37, align 8, !tbaa !5
  %242 = load ptr, ptr %25, align 8, !tbaa !5
  %243 = icmp ne ptr %241, %242
  br i1 %243, label %244, label %249

244:                                              ; preds = %225
  %245 = load ptr, ptr %37, align 8, !tbaa !5
  %246 = icmp eq ptr %245, null
  br i1 %246, label %248, label %247

247:                                              ; preds = %244
  call void @_ZdaPv(ptr noundef %245) #9
  br label %248

248:                                              ; preds = %247, %244
  br label %249

249:                                              ; preds = %248, %225
  %250 = load ptr, ptr %38, align 8, !tbaa !5
  %251 = load ptr, ptr %26, align 8, !tbaa !5
  %252 = icmp ne ptr %250, %251
  br i1 %252, label %253, label %263

253:                                              ; preds = %249
  %254 = load ptr, ptr %38, align 8, !tbaa !5
  %255 = load ptr, ptr %26, align 8, !tbaa !5
  %256 = load i32, ptr %34, align 4, !tbaa !11
  %257 = load ptr, ptr %23, align 8, !tbaa !5
  %258 = load i32, ptr %257, align 4, !tbaa !11
  %259 = call noundef ptr @_Z9copy_backISt7complexIdEEPT_S3_S3_ii(ptr noundef %254, ptr noundef %255, i32 noundef %256, i32 noundef %258)
  %260 = icmp eq ptr %259, null
  br i1 %260, label %262, label %261

261:                                              ; preds = %253
  call void @_ZdaPv(ptr noundef %259) #9
  br label %262

262:                                              ; preds = %261, %253
  br label %263

263:                                              ; preds = %262, %249
  store i32 1, ptr %12, align 4
  store i32 1, ptr %31, align 4
  br label %264

264:                                              ; preds = %263, %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %265

265:                                              ; preds = %264, %144, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  %266 = load i32, ptr %12, align 4
  ret i32 %266
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

declare i32 @xerbla_(ptr noundef, ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z18get_compact_vectorIKSt7complexIdEEPT_S4_ii(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z18get_compact_vectorISt7complexIdEEPT_S3_ii(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z9copy_backISt7complexIdEEPT_S3_S3_ii(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 #3 = { mustprogress 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 #4 = { inlinehint mustprogress 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 #5 = { inlinehint mustprogress 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 #6 = { "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 #7 = { nobuiltin nounwind "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 #8 = { nounwind }
attributes #9 = { builtin 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++ TBAA"}
!9 = !{i64 0, i64 16, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; 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"

%"class.Eigen::Map.9" = type { %"class.Eigen::MapBase.base.19", [7 x i8] }
%"class.Eigen::MapBase.base.19" = type { %"class.Eigen::MapBase.base.18" }
%"class.Eigen::MapBase.base.18" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.std::complex" = type { { double, double } }

@_ZZ6zgemv_E4func = external hidden local_unnamed_addr constant [4 x ptr], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.9") align 8, ptr noundef, i32 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) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local i32 @zgemv_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8, ptr noundef %9, ptr nocapture noundef readonly %10) local_unnamed_addr #2 {
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.Eigen::Map.9", align 8
  %23 = alloca %"class.Eigen::Map.9", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %8, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  %24 = load i8, ptr %0, align 1, !tbaa !6
  switch i8 %24, label %25 [
    i8 78, label %.fold.split
    i8 110, label %.fold.split
    i8 84, label %.fold.split
    i8 116, label %.fold.split
    i8 67, label %.fold.split
    i8 99, label %.fold.split
  ]

25:                                               ; preds = %11
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %.thread66

.fold.split:                                      ; preds = %11, %11, %11, %11, %11, %11
  %26 = load i32, ptr %1, align 4, !tbaa !9
  %27 = icmp slt i32 %26, 0
  br i1 %27, label %28, label %29

28:                                               ; preds = %.fold.split
  store i32 2, ptr %14, align 4, !tbaa !9
  br label %.thread66

29:                                               ; preds = %.fold.split
  %30 = load i32, ptr %2, align 4, !tbaa !9
  %31 = icmp slt i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %29
  store i32 3, ptr %14, align 4, !tbaa !9
  br label %.thread66

33:                                               ; preds = %29
  %34 = load i32, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  store i32 1, ptr %15, align 4, !tbaa !9
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = icmp slt i32 %34, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  br i1 %37, label %38, label %39

38:                                               ; preds = %33
  store i32 6, ptr %14, align 4, !tbaa !9
  br label %.thread66

39:                                               ; preds = %33
  %40 = load i32, ptr %7, align 4, !tbaa !9
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  store i32 8, ptr %14, align 4, !tbaa !9
  br label %.thread66

43:                                               ; preds = %39
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %48

46:                                               ; preds = %43
  store i32 11, ptr %14, align 4, !tbaa !9
  br label %.thread66

.thread66:                                        ; preds = %25, %32, %42, %46, %38, %28
  %47 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %14, i32 noundef 6)
  br label %104

48:                                               ; preds = %43
  %49 = load i32, ptr %1, align 4, !tbaa !9
  %50 = icmp eq i32 %49, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #8
  br i1 %50, label %.critedge, label %51

51:                                               ; preds = %48
  %52 = load i32, ptr %2, align 4, !tbaa !9
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %.critedge, label %54

54:                                               ; preds = %51
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %16, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %55 = call noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %16)
  br i1 %55, label %56, label %.critedge2

56:                                               ; preds = %54
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %57 = call noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br i1 %57, label %104, label %58

.critedge:                                        ; preds = %48, %51
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %104

.critedge2:                                       ; preds = %54
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %58

58:                                               ; preds = %.critedge2, %56
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #8
  %59 = load i32, ptr %1, align 4, !tbaa !9
  store i32 %59, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  %60 = load i32, ptr %2, align 4, !tbaa !9
  store i32 %60, ptr %19, align 4, !tbaa !9
  %61 = load i8, ptr %0, align 1, !tbaa !6
  switch i8 %61, label %62 [
    i8 78, label %66
    i8 110, label %66
    i8 84, label %.fold.split63
    i8 116, label %.fold.split64
    i8 67, label %65
  ]

62:                                               ; preds = %58
  %63 = icmp eq i8 %61, 99
  %64 = select i1 %63, i32 2, i32 255
  br label %65

.fold.split63:                                    ; preds = %58
  br label %65

.fold.split64:                                    ; preds = %58
  br label %65

65:                                               ; preds = %58, %.fold.split63, %.fold.split64, %62
  %.ph = phi i32 [ %64, %62 ], [ 1, %.fold.split64 ], [ 1, %.fold.split63 ], [ 2, %58 ]
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19) #8
  %.pre = load i32, ptr %19, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %58, %58, %65
  %67 = phi i32 [ %.pre, %65 ], [ %60, %58 ], [ %60, %58 ]
  %68 = phi i32 [ %.ph, %65 ], [ 0, %58 ], [ 0, %58 ]
  %69 = load i32, ptr %7, align 4, !tbaa !9
  %70 = call noundef ptr @_Z18get_compact_vectorIKSt7complexIdEEPT_S4_ii(ptr noundef %6, i32 noundef %67, i32 noundef %69)
  %71 = load i32, ptr %18, align 4, !tbaa !9
  %72 = load i32, ptr %10, align 4, !tbaa !9
  %73 = call noundef ptr @_Z18get_compact_vectorISt7complexIdEEPT_S3_ii(ptr noundef %9, i32 noundef %71, i32 noundef %72)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %20, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %74 = call noundef zeroext i1 @_ZStneIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  br i1 %74, label %75, label %83

75:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %21, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %76 = call noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %21)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  br i1 %76, label %77, label %80

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #8
  %78 = load i32, ptr %18, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.9") align 8 %22, ptr noundef %73, i32 noundef %78)
  %79 = call noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %22)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #8
  br label %83

80:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #8
  %81 = load i32, ptr %18, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.9") align 8 %23, ptr noundef %73, i32 noundef %81)
  %82 = call noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1) %23, ptr noundef nonnull align 8 dereferenceable(16) %13)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  br label %83

83:                                               ; preds = %77, %80, %66
  %84 = icmp ugt i32 %68, 3
  br i1 %84, label %103, label %85

85:                                               ; preds = %83
  %86 = zext nneg i32 %68 to i64
  %87 = getelementptr inbounds [4 x ptr], ptr @_ZZ6zgemv_E4func, i64 0, i64 %86
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  %89 = icmp eq ptr %88, null
  br i1 %89, label %103, label %90

90:                                               ; preds = %85
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = load i32, ptr %19, align 4, !tbaa !9
  %93 = load i32, ptr %5, align 4, !tbaa !9
  %.sroa.0.0.copyload = load double, ptr %12, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !6
  call void %88(i32 noundef %91, i32 noundef %92, ptr noundef %4, i32 noundef %93, ptr noundef %70, i32 noundef 1, ptr noundef %73, i32 noundef 1, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %.not60 = icmp eq ptr %70, %6
  %94 = icmp eq ptr %70, null
  %or.cond = or i1 %.not60, %94
  br i1 %or.cond, label %96, label %95

95:                                               ; preds = %90
  call void @_ZdaPv(ptr noundef nonnull %70) #9
  br label %96

96:                                               ; preds = %95, %90
  %.not61 = icmp eq ptr %73, %9
  br i1 %.not61, label %103, label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = load i32, ptr %10, align 4, !tbaa !9
  %100 = call noundef ptr @_Z9copy_backISt7complexIdEEPT_S3_S3_ii(ptr noundef %73, ptr noundef %9, i32 noundef %98, i32 noundef %99)
  %101 = icmp eq ptr %100, null
  br i1 %101, label %103, label %102

102:                                              ; preds = %97
  call void @_ZdaPv(ptr noundef nonnull %100) #9
  br label %103

103:                                              ; preds = %96, %102, %97, %83, %85
  %.0 = phi i32 [ 0, %85 ], [ 0, %83 ], [ 1, %97 ], [ 1, %102 ], [ 1, %96 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  br label %104

104:                                              ; preds = %56, %.critedge, %103, %.thread66
  %.1 = phi i32 [ %47, %.thread66 ], [ %.0, %103 ], [ 0, %.critedge ], [ 0, %56 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  ret i32 %.1
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSteqIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z18get_compact_vectorIKSt7complexIdEEPT_S4_ii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z18get_compact_vectorISt7complexIdEEPT_S3_ii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z9copy_backISt7complexIdEEPT_S3_S3_ii(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 #3 = { mustprogress 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 #4 = { inlinehint mustprogress 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 #5 = { inlinehint mustprogress 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 #6 = { "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 #7 = { nobuiltin nounwind "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 #8 = { nounwind }
attributes #9 = { builtin 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 = !{i64 0, i64 16, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass