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

; 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 { { float, float } }

@_ZZ6cgemv_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_vectorISt7complexIfEEN5Eigen3MapINS2_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 @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @cgemv_(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) #5 {
  %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 4
  %28 = alloca %"class.std::complex", align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::complex", align 4
  %33 = alloca %"class.std::complex", align 4
  %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 4
  %40 = alloca %"class.std::complex", align 4
  %41 = alloca %"class.Eigen::Map.9", align 8
  %42 = alloca %"class.Eigen::Map.9", align 8
  %43 = alloca %"class.std::complex", align 4
  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) #9
  %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) #9
  %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) #9
  %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 8, ptr %27) #9
  %47 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %47, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %48 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %48, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  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) #9
  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) #9
  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 %263

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 8, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  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 @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %137 = call noundef zeroext i1 @_ZSteqIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %32)
  br i1 %137, label %138, label %140

138:                                              ; preds = %136
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %139 = call noundef zeroext i1 @_ZSteqIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %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 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  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 %263

145:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %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) #9
  %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) #9
  %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) #9
  br label %192

192:                                              ; preds = %191, %187
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %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_vectorIKSt7complexIfEEPT_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) #9
  %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_vectorISt7complexIfEEPT_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 8, ptr %39) #9
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %203 = call noundef zeroext i1 @_ZStneIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %39)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br i1 %203, label %204, label %215

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

206:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #9
  %207 = load ptr, ptr %38, align 8, !tbaa !5
  %208 = load i32, ptr %34, align 4, !tbaa !11
  call void @_Z11make_vectorISt7complexIfEEN5Eigen3MapINS2_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_6MatrixISt7complexIfELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %41)
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #9
  br label %214

210:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #9
  %211 = load ptr, ptr %38, align 8, !tbaa !5
  %212 = load i32, ptr %34, align 4, !tbaa !11
  call void @_Z11make_vectorISt7complexIfEEN5Eigen3MapINS2_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_6MatrixISt7complexIfELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 4 dereferenceable(8) %28)
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #9
  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 @_ZZ6cgemv_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 %262

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 @_ZZ6cgemv_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 4 %43, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !9
  %237 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %238 = load <2 x float>, ptr %237, align 4
  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, <2 x float> %238)
  %239 = load ptr, ptr %37, align 8, !tbaa !5
  %240 = load ptr, ptr %25, align 8, !tbaa !5
  %241 = icmp ne ptr %239, %240
  br i1 %241, label %242, label %247

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

245:                                              ; preds = %242
  call void @_ZdaPv(ptr noundef %243) #10
  br label %246

246:                                              ; preds = %245, %242
  br label %247

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

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

259:                                              ; preds = %251
  call void @_ZdaPv(ptr noundef %257) #10
  br label %260

260:                                              ; preds = %259, %251
  br label %261

261:                                              ; preds = %260, %247
  store i32 1, ptr %12, align 4
  store i32 1, ptr %31, align 4
  br label %262

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

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

; 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)) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSteqIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #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)) #6

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z9copy_backISt7complexIfEEPT_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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 #7 = { "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 = { 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 #9 = { nounwind }
attributes #10 = { 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 8, !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 { { float, float } }

@_ZZ6cgemv_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 uwtable
declare dso_local void @_Z11make_vectorISt7complexIfEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.9") align 8, ptr noundef, i32 noundef) local_unnamed_addr #1

; 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 @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @cgemv_(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 #4 {
  %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 4
  %17 = alloca %"class.std::complex", align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::complex", align 4
  %21 = alloca %"class.std::complex", align 4
  %22 = alloca %"class.Eigen::Map.9", align 8
  %23 = alloca %"class.Eigen::Map.9", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %24 = load i64, ptr %3, align 4, !tbaa !5
  store i64 %24, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %25 = load i64, ptr %8, align 4, !tbaa !5
  store i64 %25, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  %26 = load i8, ptr %0, align 1, !tbaa !5
  switch i8 %26, label %27 [
    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
  ]

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

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

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

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

34:                                               ; preds = %31
  store i32 3, ptr %14, align 4, !tbaa !8
  br label %.thread66

35:                                               ; preds = %31
  %36 = load i32, ptr %5, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  store i32 1, ptr %15, align 4, !tbaa !8
  %37 = 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)
  %38 = load i32, ptr %37, align 4, !tbaa !8
  %39 = icmp slt i32 %36, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  store i32 6, ptr %14, align 4, !tbaa !8
  br label %.thread66

41:                                               ; preds = %35
  %42 = load i32, ptr %7, align 4, !tbaa !8
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %41
  store i32 8, ptr %14, align 4, !tbaa !8
  br label %.thread66

45:                                               ; preds = %41
  %46 = load i32, ptr %10, align 4, !tbaa !8
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %50

48:                                               ; preds = %45
  store i32 11, ptr %14, align 4, !tbaa !8
  br label %.thread66

.thread66:                                        ; preds = %27, %34, %44, %48, %40, %30
  %49 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %14, i32 noundef 6)
  br label %106

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

53:                                               ; preds = %50
  %54 = load i32, ptr %2, align 4, !tbaa !8
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %.critedge, label %56

56:                                               ; preds = %53
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %57 = call noundef zeroext i1 @_ZSteqIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %16)
  br i1 %57, label %58, label %.critedge2

58:                                               ; preds = %56
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %59 = call noundef zeroext i1 @_ZSteqIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  br i1 %59, label %106, label %60

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

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

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

64:                                               ; preds = %60
  %65 = icmp eq i8 %63, 99
  %66 = select i1 %65, i32 2, i32 255
  br label %67

.fold.split63:                                    ; preds = %60
  br label %67

.fold.split64:                                    ; preds = %60
  br label %67

67:                                               ; preds = %60, %.fold.split63, %.fold.split64, %64
  %.ph = phi i32 [ %66, %64 ], [ 1, %.fold.split64 ], [ 1, %.fold.split63 ], [ 2, %60 ]
  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 !8
  br label %68

68:                                               ; preds = %60, %60, %67
  %69 = phi i32 [ %.pre, %67 ], [ %62, %60 ], [ %62, %60 ]
  %70 = phi i32 [ %.ph, %67 ], [ 0, %60 ], [ 0, %60 ]
  %71 = load i32, ptr %7, align 4, !tbaa !8
  %72 = call noundef ptr @_Z18get_compact_vectorIKSt7complexIfEEPT_S4_ii(ptr noundef %6, i32 noundef %69, i32 noundef %71)
  %73 = load i32, ptr %18, align 4, !tbaa !8
  %74 = load i32, ptr %10, align 4, !tbaa !8
  %75 = call noundef ptr @_Z18get_compact_vectorISt7complexIfEEPT_S3_ii(ptr noundef %9, i32 noundef %73, i32 noundef %74)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %76 = call noundef zeroext i1 @_ZStneIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br i1 %76, label %77, label %85

77:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %78 = call noundef zeroext i1 @_ZSteqIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br i1 %78, label %79, label %82

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

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

85:                                               ; preds = %79, %82, %68
  %86 = icmp ugt i32 %70, 3
  br i1 %86, label %105, label %87

87:                                               ; preds = %85
  %88 = zext nneg i32 %70 to i64
  %89 = getelementptr inbounds [4 x ptr], ptr @_ZZ6cgemv_E4func, i64 0, i64 %88
  %90 = load ptr, ptr %89, align 8, !tbaa !10
  %91 = icmp eq ptr %90, null
  br i1 %91, label %105, label %92

92:                                               ; preds = %87
  %93 = load i32, ptr %18, align 4, !tbaa !8
  %94 = load i32, ptr %19, align 4, !tbaa !8
  %95 = load i32, ptr %5, align 4, !tbaa !8
  %.sroa.0.0.copyload = load <2 x float>, ptr %12, align 8, !tbaa !5
  call void %90(i32 noundef %93, i32 noundef %94, ptr noundef %4, i32 noundef %95, ptr noundef %72, i32 noundef 1, ptr noundef %75, i32 noundef 1, <2 x float> %.sroa.0.0.copyload)
  %.not60 = icmp eq ptr %72, %6
  %96 = icmp eq ptr %72, null
  %or.cond = or i1 %.not60, %96
  br i1 %or.cond, label %98, label %97

97:                                               ; preds = %92
  call void @_ZdaPv(ptr noundef nonnull %72) #9
  br label %98

98:                                               ; preds = %97, %92
  %.not61 = icmp eq ptr %75, %9
  br i1 %.not61, label %105, label %99

99:                                               ; preds = %98
  %100 = load i32, ptr %18, align 4, !tbaa !8
  %101 = load i32, ptr %10, align 4, !tbaa !8
  %102 = call noundef ptr @_Z9copy_backISt7complexIfEEPT_S3_S3_ii(ptr noundef %75, ptr noundef %9, i32 noundef %100, i32 noundef %101)
  %103 = icmp eq ptr %102, null
  br i1 %103, label %105, label %104

104:                                              ; preds = %99
  call void @_ZdaPv(ptr noundef nonnull %102) #9
  br label %105

105:                                              ; preds = %98, %104, %99, %85, %87
  %.0 = phi i32 [ 0, %87 ], [ 0, %85 ], [ 1, %99 ], [ 1, %104 ], [ 1, %98 ]
  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 %106

106:                                              ; preds = %58, %.critedge, %105, %.thread66
  %.1 = phi i32 [ %49, %.thread66 ], [ %.0, %105 ], [ 0, %.critedge ], [ 0, %58 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, 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 @_ZSteqIfEbRKSt7complexIT_ES4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; 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_vectorIKSt7complexIfEEPT_S4_ii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(19) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIfELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 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_backISt7complexIfEEPT_S3_S3_ii(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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


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