; 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.204" = type { %"class.Eigen::MapBase.205", %"class.Eigen::OuterStride" }
%"class.Eigen::MapBase.205" = type { %"class.Eigen::MapBase.206" }
%"class.Eigen::MapBase.206" = type { ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic" }
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::OuterStride" = type { %"class.Eigen::Stride.base", [7 x i8] }
%"class.Eigen::Stride.base" = type <{ %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.std::complex" = type { { double, double } }
%"class.Eigen::internal::gemm_blocking_space.213" = type { %"class.Eigen::internal::level3_blocking", i64, i64 }
%"class.Eigen::internal::level3_blocking" = type { ptr, ptr, i64, i64, i64 }

@_ZZ6ztrsm_E4func = external hidden constant [32 x ptr], align 16
@.str.15 = 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: 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 #2 align 2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(16)) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local i32 @ztrsm_(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 personality ptr @__gxx_personality_v0 {
  %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 %"class.std::complex", align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.Eigen::internal::gemm_blocking_space.213", align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca %"class.Eigen::internal::gemm_blocking_space.213", align 8
  %36 = alloca %"class.std::complex", align 8
  %37 = alloca %"class.Eigen::Map.204", 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) #7
  %38 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %38, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %39 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %39, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  %40 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %40, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !11
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  %42 = load i8, ptr %41, align 1, !tbaa !10
  %43 = sext i8 %42 to i32
  %44 = icmp eq i32 %43, 76
  br i1 %44, label %50, label %45

45:                                               ; preds = %11
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = load i8, ptr %46, align 1, !tbaa !10
  %48 = sext i8 %47 to i32
  %49 = icmp eq i32 %48, 108
  br i1 %49, label %50, label %51

50:                                               ; preds = %45, %11
  br label %65

51:                                               ; preds = %45
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = load i8, ptr %52, align 1, !tbaa !10
  %54 = sext i8 %53 to i32
  %55 = icmp eq i32 %54, 82
  br i1 %55, label %61, label %56

56:                                               ; preds = %51
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  %58 = load i8, ptr %57, align 1, !tbaa !10
  %59 = sext i8 %58 to i32
  %60 = icmp eq i32 %59, 114
  br label %61

61:                                               ; preds = %56, %51
  %62 = phi i1 [ true, %51 ], [ %60, %56 ]
  %63 = zext i1 %62 to i64
  %64 = select i1 %62, i32 1, i32 255
  br label %65

65:                                               ; preds = %61, %50
  %66 = phi i32 [ 0, %50 ], [ %64, %61 ]
  %67 = icmp eq i32 %66, 255
  br i1 %67, label %68, label %69

68:                                               ; preds = %65
  store i32 1, ptr %27, align 4, !tbaa !11
  br label %234

69:                                               ; preds = %65
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = load i8, ptr %70, align 1, !tbaa !10
  %72 = sext i8 %71 to i32
  %73 = icmp eq i32 %72, 85
  br i1 %73, label %79, label %74

74:                                               ; preds = %69
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  %76 = load i8, ptr %75, align 1, !tbaa !10
  %77 = sext i8 %76 to i32
  %78 = icmp eq i32 %77, 117
  br i1 %78, label %79, label %80

79:                                               ; preds = %74, %69
  br label %94

80:                                               ; preds = %74
  %81 = load ptr, ptr %14, align 8, !tbaa !5
  %82 = load i8, ptr %81, align 1, !tbaa !10
  %83 = sext i8 %82 to i32
  %84 = icmp eq i32 %83, 76
  br i1 %84, label %90, label %85

85:                                               ; preds = %80
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  %87 = load i8, ptr %86, align 1, !tbaa !10
  %88 = sext i8 %87 to i32
  %89 = icmp eq i32 %88, 108
  br label %90

90:                                               ; preds = %85, %80
  %91 = phi i1 [ true, %80 ], [ %89, %85 ]
  %92 = zext i1 %91 to i64
  %93 = select i1 %91, i32 1, i32 255
  br label %94

94:                                               ; preds = %90, %79
  %95 = phi i32 [ 0, %79 ], [ %93, %90 ]
  %96 = icmp eq i32 %95, 255
  br i1 %96, label %97, label %98

97:                                               ; preds = %94
  store i32 2, ptr %27, align 4, !tbaa !11
  br label %233

98:                                               ; preds = %94
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  %100 = load i8, ptr %99, align 1, !tbaa !10
  %101 = sext i8 %100 to i32
  %102 = icmp eq i32 %101, 78
  br i1 %102, label %108, label %103

103:                                              ; preds = %98
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = load i8, ptr %104, align 1, !tbaa !10
  %106 = sext i8 %105 to i32
  %107 = icmp eq i32 %106, 110
  br i1 %107, label %108, label %109

108:                                              ; preds = %103, %98
  br label %136

109:                                              ; preds = %103
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  %111 = load i8, ptr %110, align 1, !tbaa !10
  %112 = sext i8 %111 to i32
  %113 = icmp eq i32 %112, 84
  br i1 %113, label %119, label %114

114:                                              ; preds = %109
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = load i8, ptr %115, align 1, !tbaa !10
  %117 = sext i8 %116 to i32
  %118 = icmp eq i32 %117, 116
  br i1 %118, label %119, label %120

119:                                              ; preds = %114, %109
  br label %134

120:                                              ; preds = %114
  %121 = load ptr, ptr %15, align 8, !tbaa !5
  %122 = load i8, ptr %121, align 1, !tbaa !10
  %123 = sext i8 %122 to i32
  %124 = icmp eq i32 %123, 67
  br i1 %124, label %130, label %125

125:                                              ; preds = %120
  %126 = load ptr, ptr %15, align 8, !tbaa !5
  %127 = load i8, ptr %126, align 1, !tbaa !10
  %128 = sext i8 %127 to i32
  %129 = icmp eq i32 %128, 99
  br label %130

130:                                              ; preds = %125, %120
  %131 = phi i1 [ true, %120 ], [ %129, %125 ]
  %132 = zext i1 %131 to i64
  %133 = select i1 %131, i32 2, i32 255
  br label %134

134:                                              ; preds = %130, %119
  %135 = phi i32 [ 1, %119 ], [ %133, %130 ]
  br label %136

136:                                              ; preds = %134, %108
  %137 = phi i32 [ 0, %108 ], [ %135, %134 ]
  %138 = icmp eq i32 %137, 255
  br i1 %138, label %139, label %140

139:                                              ; preds = %136
  store i32 3, ptr %27, align 4, !tbaa !11
  br label %232

140:                                              ; preds = %136
  %141 = load ptr, ptr %16, align 8, !tbaa !5
  %142 = load i8, ptr %141, align 1, !tbaa !10
  %143 = sext i8 %142 to i32
  %144 = icmp eq i32 %143, 78
  br i1 %144, label %150, label %145

145:                                              ; preds = %140
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = load i8, ptr %146, align 1, !tbaa !10
  %148 = sext i8 %147 to i32
  %149 = icmp eq i32 %148, 110
  br i1 %149, label %150, label %151

150:                                              ; preds = %145, %140
  br label %165

151:                                              ; preds = %145
  %152 = load ptr, ptr %16, align 8, !tbaa !5
  %153 = load i8, ptr %152, align 1, !tbaa !10
  %154 = sext i8 %153 to i32
  %155 = icmp eq i32 %154, 85
  br i1 %155, label %161, label %156

156:                                              ; preds = %151
  %157 = load ptr, ptr %16, align 8, !tbaa !5
  %158 = load i8, ptr %157, align 1, !tbaa !10
  %159 = sext i8 %158 to i32
  %160 = icmp eq i32 %159, 117
  br label %161

161:                                              ; preds = %156, %151
  %162 = phi i1 [ true, %151 ], [ %160, %156 ]
  %163 = zext i1 %162 to i64
  %164 = select i1 %162, i32 1, i32 255
  br label %165

165:                                              ; preds = %161, %150
  %166 = phi i32 [ 0, %150 ], [ %164, %161 ]
  %167 = icmp eq i32 %166, 255
  br i1 %167, label %168, label %169

168:                                              ; preds = %165
  store i32 4, ptr %27, align 4, !tbaa !11
  br label %231

169:                                              ; preds = %165
  %170 = load ptr, ptr %17, align 8, !tbaa !5
  %171 = load i32, ptr %170, align 4, !tbaa !11
  %172 = icmp slt i32 %171, 0
  br i1 %172, label %173, label %174

173:                                              ; preds = %169
  store i32 5, ptr %27, align 4, !tbaa !11
  br label %230

174:                                              ; preds = %169
  %175 = load ptr, ptr %18, align 8, !tbaa !5
  %176 = load i32, ptr %175, align 4, !tbaa !11
  %177 = icmp slt i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %174
  store i32 6, ptr %27, align 4, !tbaa !11
  br label %229

179:                                              ; preds = %174
  %180 = load ptr, ptr %21, align 8, !tbaa !5
  %181 = load i32, ptr %180, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 1, ptr %28, align 4, !tbaa !11
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = load i8, ptr %182, align 1, !tbaa !10
  %184 = sext i8 %183 to i32
  %185 = icmp eq i32 %184, 76
  br i1 %185, label %191, label %186

186:                                              ; preds = %179
  %187 = load ptr, ptr %13, align 8, !tbaa !5
  %188 = load i8, ptr %187, align 1, !tbaa !10
  %189 = sext i8 %188 to i32
  %190 = icmp eq i32 %189, 108
  br i1 %190, label %191, label %192

191:                                              ; preds = %186, %179
  br label %206

192:                                              ; preds = %186
  %193 = load ptr, ptr %13, align 8, !tbaa !5
  %194 = load i8, ptr %193, align 1, !tbaa !10
  %195 = sext i8 %194 to i32
  %196 = icmp eq i32 %195, 82
  br i1 %196, label %202, label %197

197:                                              ; preds = %192
  %198 = load ptr, ptr %13, align 8, !tbaa !5
  %199 = load i8, ptr %198, align 1, !tbaa !10
  %200 = sext i8 %199 to i32
  %201 = icmp eq i32 %200, 114
  br label %202

202:                                              ; preds = %197, %192
  %203 = phi i1 [ true, %192 ], [ %201, %197 ]
  %204 = zext i1 %203 to i64
  %205 = select i1 %203, i32 1, i32 255
  br label %206

206:                                              ; preds = %202, %191
  %207 = phi i32 [ 0, %191 ], [ %205, %202 ]
  %208 = icmp eq i32 %207, 0
  br i1 %208, label %209, label %211

209:                                              ; preds = %206
  %210 = load ptr, ptr %17, align 8, !tbaa !5
  br label %213

211:                                              ; preds = %206
  %212 = load ptr, ptr %18, align 8, !tbaa !5
  br label %213

213:                                              ; preds = %211, %209
  %214 = phi ptr [ %210, %209 ], [ %212, %211 ]
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %214)
  %216 = load i32, ptr %215, align 4, !tbaa !11
  %217 = icmp slt i32 %181, %216
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br i1 %217, label %218, label %219

218:                                              ; preds = %213
  store i32 9, ptr %27, align 4, !tbaa !11
  br label %228

219:                                              ; preds = %213
  %220 = load ptr, ptr %23, align 8, !tbaa !5
  %221 = load i32, ptr %220, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 1, ptr %29, align 4, !tbaa !11
  %222 = load ptr, ptr %17, align 8, !tbaa !5
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %222)
  %224 = load i32, ptr %223, align 4, !tbaa !11
  %225 = icmp slt i32 %221, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br i1 %225, label %226, label %227

226:                                              ; preds = %219
  store i32 11, ptr %27, align 4, !tbaa !11
  br label %227

227:                                              ; preds = %226, %219
  br label %228

228:                                              ; preds = %227, %218
  br label %229

229:                                              ; preds = %228, %178
  br label %230

230:                                              ; preds = %229, %173
  br label %231

231:                                              ; preds = %230, %168
  br label %232

232:                                              ; preds = %231, %139
  br label %233

233:                                              ; preds = %232, %97
  br label %234

234:                                              ; preds = %233, %68
  %235 = load i32, ptr %27, align 4, !tbaa !11
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %239

237:                                              ; preds = %234
  %238 = call i32 @xerbla_(ptr noundef @.str.15, ptr noundef %27, i32 noundef 6)
  store i32 %238, ptr %12, align 4
  store i32 1, ptr %30, align 4
  br label %478

239:                                              ; preds = %234
  %240 = load ptr, ptr %17, align 8, !tbaa !5
  %241 = load i32, ptr %240, align 4, !tbaa !11
  %242 = icmp eq i32 %241, 0
  br i1 %242, label %247, label %243

243:                                              ; preds = %239
  %244 = load ptr, ptr %18, align 8, !tbaa !5
  %245 = load i32, ptr %244, align 4, !tbaa !11
  %246 = icmp eq i32 %245, 0
  br i1 %246, label %247, label %248

247:                                              ; preds = %243, %239
  store i32 0, ptr %12, align 4
  store i32 1, ptr %30, align 4
  br label %478

248:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %249 = load ptr, ptr %15, align 8, !tbaa !5
  %250 = load i8, ptr %249, align 1, !tbaa !10
  %251 = sext i8 %250 to i32
  %252 = icmp eq i32 %251, 78
  br i1 %252, label %258, label %253

253:                                              ; preds = %248
  %254 = load ptr, ptr %15, align 8, !tbaa !5
  %255 = load i8, ptr %254, align 1, !tbaa !10
  %256 = sext i8 %255 to i32
  %257 = icmp eq i32 %256, 110
  br i1 %257, label %258, label %259

258:                                              ; preds = %253, %248
  br label %286

259:                                              ; preds = %253
  %260 = load ptr, ptr %15, align 8, !tbaa !5
  %261 = load i8, ptr %260, align 1, !tbaa !10
  %262 = sext i8 %261 to i32
  %263 = icmp eq i32 %262, 84
  br i1 %263, label %269, label %264

264:                                              ; preds = %259
  %265 = load ptr, ptr %15, align 8, !tbaa !5
  %266 = load i8, ptr %265, align 1, !tbaa !10
  %267 = sext i8 %266 to i32
  %268 = icmp eq i32 %267, 116
  br i1 %268, label %269, label %270

269:                                              ; preds = %264, %259
  br label %284

270:                                              ; preds = %264
  %271 = load ptr, ptr %15, align 8, !tbaa !5
  %272 = load i8, ptr %271, align 1, !tbaa !10
  %273 = sext i8 %272 to i32
  %274 = icmp eq i32 %273, 67
  br i1 %274, label %280, label %275

275:                                              ; preds = %270
  %276 = load ptr, ptr %15, align 8, !tbaa !5
  %277 = load i8, ptr %276, align 1, !tbaa !10
  %278 = sext i8 %277 to i32
  %279 = icmp eq i32 %278, 99
  br label %280

280:                                              ; preds = %275, %270
  %281 = phi i1 [ true, %270 ], [ %279, %275 ]
  %282 = zext i1 %281 to i64
  %283 = select i1 %281, i32 2, i32 255
  br label %284

284:                                              ; preds = %280, %269
  %285 = phi i32 [ 1, %269 ], [ %283, %280 ]
  br label %286

286:                                              ; preds = %284, %258
  %287 = phi i32 [ 0, %258 ], [ %285, %284 ]
  %288 = load ptr, ptr %13, align 8, !tbaa !5
  %289 = load i8, ptr %288, align 1, !tbaa !10
  %290 = sext i8 %289 to i32
  %291 = icmp eq i32 %290, 76
  br i1 %291, label %297, label %292

292:                                              ; preds = %286
  %293 = load ptr, ptr %13, align 8, !tbaa !5
  %294 = load i8, ptr %293, align 1, !tbaa !10
  %295 = sext i8 %294 to i32
  %296 = icmp eq i32 %295, 108
  br i1 %296, label %297, label %298

297:                                              ; preds = %292, %286
  br label %312

298:                                              ; preds = %292
  %299 = load ptr, ptr %13, align 8, !tbaa !5
  %300 = load i8, ptr %299, align 1, !tbaa !10
  %301 = sext i8 %300 to i32
  %302 = icmp eq i32 %301, 82
  br i1 %302, label %308, label %303

303:                                              ; preds = %298
  %304 = load ptr, ptr %13, align 8, !tbaa !5
  %305 = load i8, ptr %304, align 1, !tbaa !10
  %306 = sext i8 %305 to i32
  %307 = icmp eq i32 %306, 114
  br label %308

308:                                              ; preds = %303, %298
  %309 = phi i1 [ true, %298 ], [ %307, %303 ]
  %310 = zext i1 %309 to i64
  %311 = select i1 %309, i32 1, i32 255
  br label %312

312:                                              ; preds = %308, %297
  %313 = phi i32 [ 0, %297 ], [ %311, %308 ]
  %314 = shl i32 %313, 2
  %315 = or i32 %287, %314
  %316 = load ptr, ptr %14, align 8, !tbaa !5
  %317 = load i8, ptr %316, align 1, !tbaa !10
  %318 = sext i8 %317 to i32
  %319 = icmp eq i32 %318, 85
  br i1 %319, label %325, label %320

320:                                              ; preds = %312
  %321 = load ptr, ptr %14, align 8, !tbaa !5
  %322 = load i8, ptr %321, align 1, !tbaa !10
  %323 = sext i8 %322 to i32
  %324 = icmp eq i32 %323, 117
  br i1 %324, label %325, label %326

325:                                              ; preds = %320, %312
  br label %340

326:                                              ; preds = %320
  %327 = load ptr, ptr %14, align 8, !tbaa !5
  %328 = load i8, ptr %327, align 1, !tbaa !10
  %329 = sext i8 %328 to i32
  %330 = icmp eq i32 %329, 76
  br i1 %330, label %336, label %331

331:                                              ; preds = %326
  %332 = load ptr, ptr %14, align 8, !tbaa !5
  %333 = load i8, ptr %332, align 1, !tbaa !10
  %334 = sext i8 %333 to i32
  %335 = icmp eq i32 %334, 108
  br label %336

336:                                              ; preds = %331, %326
  %337 = phi i1 [ true, %326 ], [ %335, %331 ]
  %338 = zext i1 %337 to i64
  %339 = select i1 %337, i32 1, i32 255
  br label %340

340:                                              ; preds = %336, %325
  %341 = phi i32 [ 0, %325 ], [ %339, %336 ]
  %342 = shl i32 %341, 3
  %343 = or i32 %315, %342
  %344 = load ptr, ptr %16, align 8, !tbaa !5
  %345 = load i8, ptr %344, align 1, !tbaa !10
  %346 = sext i8 %345 to i32
  %347 = icmp eq i32 %346, 78
  br i1 %347, label %353, label %348

348:                                              ; preds = %340
  %349 = load ptr, ptr %16, align 8, !tbaa !5
  %350 = load i8, ptr %349, align 1, !tbaa !10
  %351 = sext i8 %350 to i32
  %352 = icmp eq i32 %351, 110
  br i1 %352, label %353, label %354

353:                                              ; preds = %348, %340
  br label %368

354:                                              ; preds = %348
  %355 = load ptr, ptr %16, align 8, !tbaa !5
  %356 = load i8, ptr %355, align 1, !tbaa !10
  %357 = sext i8 %356 to i32
  %358 = icmp eq i32 %357, 85
  br i1 %358, label %364, label %359

359:                                              ; preds = %354
  %360 = load ptr, ptr %16, align 8, !tbaa !5
  %361 = load i8, ptr %360, align 1, !tbaa !10
  %362 = sext i8 %361 to i32
  %363 = icmp eq i32 %362, 117
  br label %364

364:                                              ; preds = %359, %354
  %365 = phi i1 [ true, %354 ], [ %363, %359 ]
  %366 = zext i1 %365 to i64
  %367 = select i1 %365, i32 1, i32 255
  br label %368

368:                                              ; preds = %364, %353
  %369 = phi i32 [ 0, %353 ], [ %367, %364 ]
  %370 = shl i32 %369, 4
  %371 = or i32 %343, %370
  store i32 %371, ptr %31, align 4, !tbaa !11
  %372 = load ptr, ptr %13, align 8, !tbaa !5
  %373 = load i8, ptr %372, align 1, !tbaa !10
  %374 = sext i8 %373 to i32
  %375 = icmp eq i32 %374, 76
  br i1 %375, label %381, label %376

376:                                              ; preds = %368
  %377 = load ptr, ptr %13, align 8, !tbaa !5
  %378 = load i8, ptr %377, align 1, !tbaa !10
  %379 = sext i8 %378 to i32
  %380 = icmp eq i32 %379, 108
  br i1 %380, label %381, label %382

381:                                              ; preds = %376, %368
  br label %396

382:                                              ; preds = %376
  %383 = load ptr, ptr %13, align 8, !tbaa !5
  %384 = load i8, ptr %383, align 1, !tbaa !10
  %385 = sext i8 %384 to i32
  %386 = icmp eq i32 %385, 82
  br i1 %386, label %392, label %387

387:                                              ; preds = %382
  %388 = load ptr, ptr %13, align 8, !tbaa !5
  %389 = load i8, ptr %388, align 1, !tbaa !10
  %390 = sext i8 %389 to i32
  %391 = icmp eq i32 %390, 114
  br label %392

392:                                              ; preds = %387, %382
  %393 = phi i1 [ true, %382 ], [ %391, %387 ]
  %394 = zext i1 %393 to i64
  %395 = select i1 %393, i32 1, i32 255
  br label %396

396:                                              ; preds = %392, %381
  %397 = phi i32 [ 0, %381 ], [ %395, %392 ]
  %398 = icmp eq i32 %397, 0
  br i1 %398, label %399, label %432

399:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 56, ptr %32) #7
  %400 = load ptr, ptr %17, align 8, !tbaa !5
  %401 = load i32, ptr %400, align 4, !tbaa !11
  %402 = sext i32 %401 to i64
  %403 = load ptr, ptr %18, align 8, !tbaa !5
  %404 = load i32, ptr %403, align 4, !tbaa !11
  %405 = sext i32 %404 to i64
  %406 = load ptr, ptr %17, align 8, !tbaa !5
  %407 = load i32, ptr %406, align 4, !tbaa !11
  %408 = sext i32 %407 to i64
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56) %32, i64 noundef %402, i64 noundef %405, i64 noundef %408, i64 noundef 1, i1 noundef zeroext false)
  %409 = load i32, ptr %31, align 4, !tbaa !11
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds [32 x ptr], ptr @_ZZ6ztrsm_E4func, i64 0, i64 %410
  %412 = load ptr, ptr %411, align 8, !tbaa !5
  %413 = load ptr, ptr %17, align 8, !tbaa !5
  %414 = load i32, ptr %413, align 4, !tbaa !11
  %415 = sext i32 %414 to i64
  %416 = load ptr, ptr %18, align 8, !tbaa !5
  %417 = load i32, ptr %416, align 4, !tbaa !11
  %418 = sext i32 %417 to i64
  %419 = load ptr, ptr %24, align 8, !tbaa !5
  %420 = load ptr, ptr %21, align 8, !tbaa !5
  %421 = load i32, ptr %420, align 4, !tbaa !11
  %422 = sext i32 %421 to i64
  %423 = load ptr, ptr %25, align 8, !tbaa !5
  %424 = load ptr, ptr %23, align 8, !tbaa !5
  %425 = load i32, ptr %424, align 4, !tbaa !11
  %426 = sext i32 %425 to i64
  invoke void %412(i64 noundef %415, i64 noundef %418, ptr noundef %419, i64 noundef %422, ptr noundef %423, i64 noundef %426, ptr noundef nonnull align 8 dereferenceable(40) %32)
          to label %427 unwind label %428

427:                                              ; preds = %399
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #7
  br label %465

428:                                              ; preds = %399
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %33, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %34, align 4
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #7
  br label %477

432:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 56, ptr %35) #7
  %433 = load ptr, ptr %17, align 8, !tbaa !5
  %434 = load i32, ptr %433, align 4, !tbaa !11
  %435 = sext i32 %434 to i64
  %436 = load ptr, ptr %18, align 8, !tbaa !5
  %437 = load i32, ptr %436, align 4, !tbaa !11
  %438 = sext i32 %437 to i64
  %439 = load ptr, ptr %18, align 8, !tbaa !5
  %440 = load i32, ptr %439, align 4, !tbaa !11
  %441 = sext i32 %440 to i64
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56) %35, i64 noundef %435, i64 noundef %438, i64 noundef %441, i64 noundef 1, i1 noundef zeroext false)
  %442 = load i32, ptr %31, align 4, !tbaa !11
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds [32 x ptr], ptr @_ZZ6ztrsm_E4func, i64 0, i64 %443
  %445 = load ptr, ptr %444, align 8, !tbaa !5
  %446 = load ptr, ptr %18, align 8, !tbaa !5
  %447 = load i32, ptr %446, align 4, !tbaa !11
  %448 = sext i32 %447 to i64
  %449 = load ptr, ptr %17, align 8, !tbaa !5
  %450 = load i32, ptr %449, align 4, !tbaa !11
  %451 = sext i32 %450 to i64
  %452 = load ptr, ptr %24, align 8, !tbaa !5
  %453 = load ptr, ptr %21, align 8, !tbaa !5
  %454 = load i32, ptr %453, align 4, !tbaa !11
  %455 = sext i32 %454 to i64
  %456 = load ptr, ptr %25, align 8, !tbaa !5
  %457 = load ptr, ptr %23, align 8, !tbaa !5
  %458 = load i32, ptr %457, align 4, !tbaa !11
  %459 = sext i32 %458 to i64
  invoke void %445(i64 noundef %448, i64 noundef %451, ptr noundef %452, i64 noundef %455, ptr noundef %456, i64 noundef %459, ptr noundef nonnull align 8 dereferenceable(40) %35)
          to label %460 unwind label %461

460:                                              ; preds = %432
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %35) #7
  br label %465

461:                                              ; preds = %432
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %33, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %34, align 4
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %35) #7
  br label %477

465:                                              ; preds = %460, %427
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %36, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %466 = call noundef zeroext i1 @_ZStneIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %36)
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  br i1 %466, label %467, label %476

467:                                              ; preds = %465
  call void @llvm.lifetime.start.p0(i64 40, ptr %37) #7
  %468 = load ptr, ptr %25, align 8, !tbaa !5
  %469 = load ptr, ptr %17, align 8, !tbaa !5
  %470 = load i32, ptr %469, align 4, !tbaa !11
  %471 = load ptr, ptr %18, align 8, !tbaa !5
  %472 = load i32, ptr %471, align 4, !tbaa !11
  %473 = load ptr, ptr %23, align 8, !tbaa !5
  %474 = load i32, ptr %473, align 4, !tbaa !11
  call void @_Z6matrixISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS2_11OuterStrideILin1EEEEEPS5_iii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.204") align 8 %37, ptr noundef %468, i32 noundef %470, i32 noundef %472, i32 noundef %474)
  %475 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1) %37, ptr noundef nonnull align 8 dereferenceable(16) %26)
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #7
  br label %476

476:                                              ; preds = %467, %465
  store i32 0, ptr %12, align 4
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %478

477:                                              ; preds = %461, %428
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %480

478:                                              ; preds = %476, %247, %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  %479 = load i32, ptr %12, align 4
  ret i32 %479

480:                                              ; preds = %477
  %481 = load ptr, ptr %33, align 8
  %482 = load i32, ptr %34, align 4
  %483 = insertvalue { ptr, i32 } poison, ptr %481, 0
  %484 = insertvalue { ptr, i32 } %483, i32 %482, 1
  resume { ptr, i32 } %484
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef, i64 noundef, i1 noundef zeroext) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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"="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 = { 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 #7 = { 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.204" = type { %"class.Eigen::MapBase.205", %"class.Eigen::OuterStride" }
%"class.Eigen::MapBase.205" = type { %"class.Eigen::MapBase.206" }
%"class.Eigen::MapBase.206" = type { ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic" }
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::OuterStride" = type { %"class.Eigen::Stride.base", [7 x i8] }
%"class.Eigen::Stride.base" = type <{ %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.std::complex" = type { { double, double } }
%"class.Eigen::internal::gemm_blocking_space.213" = type { %"class.Eigen::internal::level3_blocking", i64, i64 }
%"class.Eigen::internal::level3_blocking" = type { ptr, ptr, i64, i64, i64 }

@_ZZ6ztrsm_E4func = external hidden local_unnamed_addr constant [32 x ptr], align 16
@.str.15 = 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 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 #2 align 2

; 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 #3

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

; 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 #3

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @ztrsm_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef readonly %6, ptr noundef %7, ptr nocapture noundef readonly %8, ptr noundef %9, ptr nocapture noundef readonly %10) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.Eigen::internal::gemm_blocking_space.213", align 8
  %17 = alloca %"class.Eigen::internal::gemm_blocking_space.213", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.Eigen::Map.204", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %20 = load i8, ptr %0, align 1, !tbaa !6
  switch i8 %20, label %21 [
    i8 76, label %22
    i8 108, label %22
    i8 82, label %22
    i8 114, label %22
  ]

21:                                               ; preds = %11
  store i32 1, ptr %13, align 4, !tbaa !9
  br label %.thread109

22:                                               ; preds = %11, %11, %11, %11
  %23 = load i8, ptr %1, align 1, !tbaa !6
  switch i8 %23, label %24 [
    i8 85, label %25
    i8 117, label %25
    i8 76, label %25
    i8 108, label %25
  ]

24:                                               ; preds = %22
  store i32 2, ptr %13, align 4, !tbaa !9
  br label %.thread109

25:                                               ; preds = %22, %22, %22, %22
  %26 = load i8, ptr %2, align 1, !tbaa !6
  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 = %25
  store i32 3, ptr %13, align 4, !tbaa !9
  br label %.thread109

.fold.split:                                      ; preds = %25, %25, %25, %25, %25, %25
  %28 = load i8, ptr %3, align 1, !tbaa !6
  switch i8 %28, label %29 [
    i8 78, label %30
    i8 110, label %30
    i8 85, label %30
    i8 117, label %30
  ]

29:                                               ; preds = %.fold.split
  store i32 4, ptr %13, align 4, !tbaa !9
  br label %.thread109

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

33:                                               ; preds = %30
  store i32 5, ptr %13, align 4, !tbaa !9
  br label %.thread109

34:                                               ; preds = %30
  %35 = load i32, ptr %5, align 4, !tbaa !9
  %36 = icmp slt i32 %35, 0
  br i1 %36, label %37, label %38

37:                                               ; preds = %34
  store i32 6, ptr %13, align 4, !tbaa !9
  br label %.thread109

38:                                               ; preds = %34
  %39 = load i32, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  store i32 1, ptr %14, align 4, !tbaa !9
  switch i8 %20, label %40 [
    i8 76, label %41
    i8 108, label %41
  ]

40:                                               ; preds = %38
  br label %41

41:                                               ; preds = %38, %38, %40
  %42 = phi ptr [ %5, %40 ], [ %4, %38 ], [ %4, %38 ]
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %42)
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = icmp slt i32 %39, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  store i32 9, ptr %13, align 4, !tbaa !9
  br label %.thread109

47:                                               ; preds = %41
  %48 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store i32 1, ptr %15, align 4, !tbaa !9
  %49 = 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) %4)
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = icmp slt i32 %48, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br i1 %51, label %52, label %54

52:                                               ; preds = %47
  store i32 11, ptr %13, align 4, !tbaa !9
  br label %.thread109

.thread109:                                       ; preds = %21, %27, %33, %46, %52, %37, %29, %24
  %53 = call i32 @xerbla_(ptr noundef nonnull @.str.15, ptr noundef nonnull %13, i32 noundef 6)
  br label %130

54:                                               ; preds = %47
  %55 = load i32, ptr %4, align 4, !tbaa !9
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %130, label %57

57:                                               ; preds = %54
  %58 = load i32, ptr %5, align 4, !tbaa !9
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %130, label %60

60:                                               ; preds = %57
  %61 = load i8, ptr %2, align 1, !tbaa !6
  switch i8 %61, label %switch.edge101 [
    i8 78, label %63
    i8 110, label %63
    i8 84, label %.fold.split99
    i8 116, label %.fold.split100
    i8 67, label %62
    i8 99, label %62
  ]

62:                                               ; preds = %60, %60
  br label %63

switch.edge101:                                   ; preds = %60
  br label %63

.fold.split99:                                    ; preds = %60
  br label %63

.fold.split100:                                   ; preds = %60
  br label %63

63:                                               ; preds = %62, %60, %60, %.fold.split100, %.fold.split99, %switch.edge101
  %64 = phi i32 [ 0, %60 ], [ 0, %60 ], [ 1, %.fold.split99 ], [ 1, %.fold.split100 ], [ 2, %62 ], [ 255, %switch.edge101 ]
  %65 = load i8, ptr %0, align 1, !tbaa !6
  switch i8 %65, label %66 [
    i8 76, label %70
    i8 108, label %70
    i8 82, label %69
  ]

66:                                               ; preds = %63
  %67 = icmp eq i8 %65, 114
  %68 = select i1 %67, i32 4, i32 1020
  br label %70

69:                                               ; preds = %63
  br label %70

70:                                               ; preds = %66, %63, %63, %69
  %71 = phi i32 [ 0, %63 ], [ 0, %63 ], [ %68, %66 ], [ 4, %69 ]
  %72 = or i32 %71, %64
  %73 = load i8, ptr %1, align 1, !tbaa !6
  switch i8 %73, label %74 [
    i8 85, label %78
    i8 117, label %78
    i8 76, label %77
  ]

74:                                               ; preds = %70
  %75 = icmp eq i8 %73, 108
  %76 = select i1 %75, i32 8, i32 2040
  br label %78

77:                                               ; preds = %70
  br label %78

78:                                               ; preds = %74, %70, %70, %77
  %79 = phi i32 [ 0, %70 ], [ 0, %70 ], [ %76, %74 ], [ 8, %77 ]
  %80 = or i32 %72, %79
  %81 = load i8, ptr %3, align 1, !tbaa !6
  switch i8 %81, label %82 [
    i8 78, label %86
    i8 110, label %86
    i8 85, label %85
  ]

82:                                               ; preds = %78
  %83 = icmp eq i8 %81, 117
  %84 = select i1 %83, i32 16, i32 4080
  br label %86

85:                                               ; preds = %78
  br label %86

86:                                               ; preds = %82, %78, %78, %85
  %87 = phi i32 [ 0, %78 ], [ 0, %78 ], [ %84, %82 ], [ 16, %85 ]
  %88 = or i32 %80, %87
  switch i8 %65, label %.critedge [
    i8 76, label %102
    i8 108, label %102
  ]

.critedge:                                        ; preds = %86
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %17) #7
  %89 = sext i32 %55 to i64
  %90 = sext i32 %58 to i64
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56) %17, i64 noundef %89, i64 noundef %90, i64 noundef %90, i64 noundef 1, i1 noundef zeroext false)
  %91 = zext nneg i32 %88 to i64
  %92 = getelementptr inbounds [32 x ptr], ptr @_ZZ6ztrsm_E4func, i64 0, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = load i32, ptr %5, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = load i32, ptr %4, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = load i32, ptr %8, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  invoke void %93(i64 noundef %95, i64 noundef %97, ptr noundef %7, i64 noundef %99, ptr noundef %9, i64 noundef %101, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %119 unwind label %120

102:                                              ; preds = %86, %86
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %16) #7
  %103 = sext i32 %55 to i64
  %104 = sext i32 %58 to i64
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56) %16, i64 noundef %103, i64 noundef %104, i64 noundef %103, i64 noundef 1, i1 noundef zeroext false)
  %105 = zext nneg i32 %88 to i64
  %106 = getelementptr inbounds [32 x ptr], ptr @_ZZ6ztrsm_E4func, i64 0, i64 %105
  %107 = load ptr, ptr %106, align 8, !tbaa !11
  %108 = load i32, ptr %4, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = load i32, ptr %5, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = load i32, ptr %8, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  invoke void %107(i64 noundef %109, i64 noundef %111, ptr noundef %7, i64 noundef %113, ptr noundef %9, i64 noundef %115, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %116 unwind label %117

116:                                              ; preds = %102
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #7
  br label %122

117:                                              ; preds = %102
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #7
  br label %129

119:                                              ; preds = %.critedge
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %17) #7
  br label %122

120:                                              ; preds = %.critedge
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %17) #7
  br label %129

122:                                              ; preds = %119, %116
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %18, double noundef 1.000000e+00, double noundef 0.000000e+00)
  %123 = call noundef zeroext i1 @_ZStneIdEbRKSt7complexIT_ES4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %18)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  br i1 %123, label %124, label %130

124:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #7
  %125 = load i32, ptr %4, align 4, !tbaa !9
  %126 = load i32, ptr %5, align 4, !tbaa !9
  %127 = load i32, ptr %10, align 4, !tbaa !9
  call void @_Z6matrixISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS2_11OuterStrideILin1EEEEEPS5_iii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.204") align 8 %19, ptr noundef %9, i32 noundef %125, i32 noundef %126, i32 noundef %127)
  %128 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEEmLERKS4_(ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #7
  br label %130

129:                                              ; preds = %120, %117
  %.pn = phi { ptr, i32 } [ %118, %117 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  resume { ptr, i32 } %.pn

130:                                              ; preds = %122, %124, %54, %57, %.thread109
  %.083 = phi i32 [ %53, %.thread109 ], [ 0, %57 ], [ 0, %54 ], [ 0, %124 ], [ 0, %122 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  ret i32 %.083
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef, i64 noundef, i1 noundef zeroext) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0ESt7complexIdES3_Lin1ELin1ELin1ELi4ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2 align 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 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 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 = { "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"="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 = { 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 #7 = { 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: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass