; LLVM IR from libxsmm/libxsmm :: src (libxsmm_generator_gemm_driver)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.libxsmm_descriptor_blob = type { [96 x i8] }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.libxsmm_descriptor_blob, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store double 0.000000e+00, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !5
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = icmp ne i32 %29, 17
  br i1 %30, label %31, label %35

31:                                               ; preds = %2
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = icmp ne i32 %32, 18
  br i1 %33, label %34, label %35

34:                                               ; preds = %31
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

35:                                               ; preds = %31, %2
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = getelementptr inbounds ptr, ptr %36, i64 1
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  store ptr %38, ptr %10, align 8, !tbaa !9
  %39 = load ptr, ptr %5, align 8, !tbaa !9
  %40 = getelementptr inbounds ptr, ptr %39, i64 2
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  store ptr %41, ptr %11, align 8, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = getelementptr inbounds ptr, ptr %42, i64 3
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  store ptr %44, ptr %13, align 8, !tbaa !9
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = getelementptr inbounds ptr, ptr %45, i64 4
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %48 = call i32 @atoi(ptr noundef %47) #7
  store i32 %48, ptr %16, align 4, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = getelementptr inbounds ptr, ptr %49, i64 5
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = call i32 @atoi(ptr noundef %51) #7
  store i32 %52, ptr %17, align 4, !tbaa !5
  %53 = load ptr, ptr %5, align 8, !tbaa !9
  %54 = getelementptr inbounds ptr, ptr %53, i64 6
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = call i32 @atoi(ptr noundef %55) #7
  store i32 %56, ptr %18, align 4, !tbaa !5
  %57 = load ptr, ptr %5, align 8, !tbaa !9
  %58 = getelementptr inbounds ptr, ptr %57, i64 7
  %59 = load ptr, ptr %58, align 8, !tbaa !9
  %60 = call i32 @atoi(ptr noundef %59) #7
  store i32 %60, ptr %19, align 4, !tbaa !5
  %61 = load ptr, ptr %5, align 8, !tbaa !9
  %62 = getelementptr inbounds ptr, ptr %61, i64 8
  %63 = load ptr, ptr %62, align 8, !tbaa !9
  %64 = call i32 @atoi(ptr noundef %63) #7
  store i32 %64, ptr %20, align 4, !tbaa !5
  %65 = load ptr, ptr %5, align 8, !tbaa !9
  %66 = getelementptr inbounds ptr, ptr %65, i64 9
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = call i32 @atoi(ptr noundef %67) #7
  store i32 %68, ptr %21, align 4, !tbaa !5
  %69 = load i32, ptr %19, align 4, !tbaa !5
  %70 = icmp slt i32 %69, 1
  br i1 %70, label %71, label %72

71:                                               ; preds = %35
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %71, %35
  %73 = load i32, ptr %20, align 4, !tbaa !5
  %74 = icmp slt i32 %73, 1
  br i1 %74, label %75, label %76

75:                                               ; preds = %72
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %75, %72
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  %78 = getelementptr inbounds ptr, ptr %77, i64 10
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = call double @atof(ptr noundef %79) #7
  store double %80, ptr %24, align 8, !tbaa !11
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  %82 = getelementptr inbounds ptr, ptr %81, i64 11
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = call double @atof(ptr noundef %83) #7
  store double %84, ptr %25, align 8, !tbaa !11
  %85 = load ptr, ptr %5, align 8, !tbaa !9
  %86 = getelementptr inbounds ptr, ptr %85, i64 12
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = call i32 @atoi(ptr noundef %87) #7
  store i32 %88, ptr %22, align 4, !tbaa !5
  %89 = load ptr, ptr %5, align 8, !tbaa !9
  %90 = getelementptr inbounds ptr, ptr %89, i64 13
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = call i32 @atoi(ptr noundef %91) #7
  store i32 %92, ptr %23, align 4, !tbaa !5
  %93 = load i32, ptr %22, align 4, !tbaa !5
  %94 = icmp ne i32 0, %93
  %95 = zext i1 %94 to i64
  %96 = select i1 %94, i32 8, i32 0
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = or i32 %97, %96
  store i32 %98, ptr %7, align 4, !tbaa !5
  %99 = load i32, ptr %23, align 4, !tbaa !5
  %100 = icmp ne i32 0, %99
  %101 = zext i1 %100 to i64
  %102 = select i1 %100, i32 16, i32 0
  %103 = load i32, ptr %7, align 4, !tbaa !5
  %104 = or i32 %103, %102
  store i32 %104, ptr %7, align 4, !tbaa !5
  %105 = load double, ptr %25, align 8, !tbaa !11
  %106 = fcmp oeq double %105, 0.000000e+00
  %107 = zext i1 %106 to i64
  %108 = select i1 %106, i32 4, i32 0
  %109 = load i32, ptr %7, align 4, !tbaa !5
  %110 = or i32 %109, %108
  store i32 %110, ptr %7, align 4, !tbaa !5
  %111 = load ptr, ptr %5, align 8, !tbaa !9
  %112 = getelementptr inbounds ptr, ptr %111, i64 14
  %113 = load ptr, ptr %112, align 8, !tbaa !9
  store ptr %113, ptr %14, align 8, !tbaa !9
  %114 = load ptr, ptr %5, align 8, !tbaa !9
  %115 = getelementptr inbounds ptr, ptr %114, i64 16
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  store ptr %116, ptr %15, align 8, !tbaa !9
  %117 = load ptr, ptr %10, align 8, !tbaa !9
  %118 = call i32 @strcmp(ptr noundef %117, ptr noundef @.str) #7
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %133

120:                                              ; preds = %76
  %121 = load ptr, ptr %10, align 8, !tbaa !9
  %122 = call i32 @strcmp(ptr noundef %121, ptr noundef @.str.1) #7
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %133

124:                                              ; preds = %120
  %125 = load ptr, ptr %10, align 8, !tbaa !9
  %126 = call i32 @strcmp(ptr noundef %125, ptr noundef @.str.2) #7
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %133

128:                                              ; preds = %124
  %129 = load ptr, ptr %10, align 8, !tbaa !9
  %130 = call i32 @strcmp(ptr noundef %129, ptr noundef @.str.3) #7
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %128
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

133:                                              ; preds = %128, %124, %120, %76
  %134 = load ptr, ptr %10, align 8, !tbaa !9
  %135 = call i32 @strcmp(ptr noundef %134, ptr noundef @.str) #7
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %140

137:                                              ; preds = %133
  %138 = load i32, ptr %4, align 4, !tbaa !5
  %139 = icmp ne i32 %138, 18
  br i1 %139, label %161, label %140

140:                                              ; preds = %137, %133
  %141 = load ptr, ptr %10, align 8, !tbaa !9
  %142 = call i32 @strcmp(ptr noundef %141, ptr noundef @.str.1) #7
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %147

144:                                              ; preds = %140
  %145 = load i32, ptr %4, align 4, !tbaa !5
  %146 = icmp ne i32 %145, 18
  br i1 %146, label %161, label %147

147:                                              ; preds = %144, %140
  %148 = load ptr, ptr %10, align 8, !tbaa !9
  %149 = call i32 @strcmp(ptr noundef %148, ptr noundef @.str.2) #7
  %150 = icmp eq i32 %149, 0
  br i1 %150, label %151, label %154

151:                                              ; preds = %147
  %152 = load i32, ptr %4, align 4, !tbaa !5
  %153 = icmp ne i32 %152, 17
  br i1 %153, label %161, label %154

154:                                              ; preds = %151, %147
  %155 = load ptr, ptr %10, align 8, !tbaa !9
  %156 = call i32 @strcmp(ptr noundef %155, ptr noundef @.str.3) #7
  %157 = icmp eq i32 %156, 0
  br i1 %157, label %158, label %162

158:                                              ; preds = %154
  %159 = load i32, ptr %4, align 4, !tbaa !5
  %160 = icmp ne i32 %159, 17
  br i1 %160, label %161, label %162

161:                                              ; preds = %158, %151, %144, %137
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

162:                                              ; preds = %158, %154
  %163 = load ptr, ptr %5, align 8, !tbaa !9
  %164 = getelementptr inbounds ptr, ptr %163, i64 15
  %165 = load ptr, ptr %164, align 8, !tbaa !9
  %166 = call i32 @strcmp(ptr noundef @.str.4, ptr noundef %165) #7
  %167 = icmp eq i32 %166, 0
  br i1 %167, label %168, label %169

168:                                              ; preds = %162
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %178

169:                                              ; preds = %162
  %170 = load ptr, ptr %5, align 8, !tbaa !9
  %171 = getelementptr inbounds ptr, ptr %170, i64 15
  %172 = load ptr, ptr %171, align 8, !tbaa !9
  %173 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef %172) #7
  %174 = icmp eq i32 %173, 0
  br i1 %174, label %175, label %176

175:                                              ; preds = %169
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %177

176:                                              ; preds = %169
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

177:                                              ; preds = %175
  br label %178

178:                                              ; preds = %177, %168
  %179 = load ptr, ptr %14, align 8, !tbaa !9
  %180 = call i32 @strcmp(ptr noundef %179, ptr noundef @.str.6) #7
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %207

182:                                              ; preds = %178
  %183 = load ptr, ptr %14, align 8, !tbaa !9
  %184 = call i32 @strcmp(ptr noundef %183, ptr noundef @.str.7) #7
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %207

186:                                              ; preds = %182
  %187 = load ptr, ptr %14, align 8, !tbaa !9
  %188 = call i32 @strcmp(ptr noundef %187, ptr noundef @.str.8) #7
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %207

190:                                              ; preds = %186
  %191 = load ptr, ptr %14, align 8, !tbaa !9
  %192 = call i32 @strcmp(ptr noundef %191, ptr noundef @.str.9) #7
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %207

194:                                              ; preds = %190
  %195 = load ptr, ptr %14, align 8, !tbaa !9
  %196 = call i32 @strcmp(ptr noundef %195, ptr noundef @.str.10) #7
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %207

198:                                              ; preds = %194
  %199 = load ptr, ptr %14, align 8, !tbaa !9
  %200 = call i32 @strcmp(ptr noundef %199, ptr noundef @.str.11) #7
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %207

202:                                              ; preds = %198
  %203 = load ptr, ptr %14, align 8, !tbaa !9
  %204 = call i32 @strcmp(ptr noundef %203, ptr noundef @.str.12) #7
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %207

206:                                              ; preds = %202
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

207:                                              ; preds = %202, %198, %194, %190, %186, %182, %178
  %208 = load ptr, ptr %15, align 8, !tbaa !9
  %209 = call i32 @strcmp(ptr noundef %208, ptr noundef @.str.13) #7
  %210 = icmp eq i32 %209, 0
  br i1 %210, label %211, label %212

211:                                              ; preds = %207
  store i32 1, ptr %26, align 4, !tbaa !5
  br label %225

212:                                              ; preds = %207
  %213 = load ptr, ptr %15, align 8, !tbaa !9
  %214 = call i32 @strcmp(ptr noundef %213, ptr noundef @.str.14) #7
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %217

216:                                              ; preds = %212
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %224

217:                                              ; preds = %212
  %218 = load ptr, ptr %15, align 8, !tbaa !9
  %219 = call i32 @strcmp(ptr noundef %218, ptr noundef @.str.15) #7
  %220 = icmp eq i32 %219, 0
  br i1 %220, label %221, label %222

221:                                              ; preds = %217
  store i32 2, ptr %26, align 4, !tbaa !5
  br label %223

222:                                              ; preds = %217
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

223:                                              ; preds = %221
  br label %224

224:                                              ; preds = %223, %216
  br label %225

225:                                              ; preds = %224, %211
  %226 = load double, ptr %24, align 8, !tbaa !11
  %227 = fcmp une double %226, 1.000000e+00
  br i1 %227, label %228, label %229

228:                                              ; preds = %225
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

229:                                              ; preds = %225
  %230 = load double, ptr %25, align 8, !tbaa !11
  %231 = fcmp une double %230, 0.000000e+00
  br i1 %231, label %232, label %236

232:                                              ; preds = %229
  %233 = load double, ptr %25, align 8, !tbaa !11
  %234 = fcmp une double %233, 1.000000e+00
  br i1 %234, label %235, label %236

235:                                              ; preds = %232
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

236:                                              ; preds = %232, %229
  %237 = load i32, ptr %26, align 4, !tbaa !5
  switch i32 %237, label %268 [
    i32 0, label %238
    i32 1, label %248
    i32 2, label %258
  ]

238:                                              ; preds = %236
  %239 = load i32, ptr %16, align 4, !tbaa !5
  %240 = load i32, ptr %17, align 4, !tbaa !5
  %241 = load i32, ptr %18, align 4, !tbaa !5
  %242 = load i32, ptr %19, align 4, !tbaa !5
  %243 = load i32, ptr %20, align 4, !tbaa !5
  %244 = load i32, ptr %21, align 4, !tbaa !5
  %245 = load i32, ptr %7, align 4, !tbaa !5
  %246 = load i32, ptr %8, align 4, !tbaa !5
  %247 = call ptr @libxsmm_gemm_descriptor_init(ptr noundef %9, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %239, i32 noundef %240, i32 noundef %241, i32 noundef %242, i32 noundef %243, i32 noundef %244, i32 noundef %245, i32 noundef %246)
  store ptr %247, ptr %6, align 8, !tbaa !9
  br label %269

248:                                              ; preds = %236
  %249 = load i32, ptr %16, align 4, !tbaa !5
  %250 = load i32, ptr %17, align 4, !tbaa !5
  %251 = load i32, ptr %18, align 4, !tbaa !5
  %252 = load i32, ptr %19, align 4, !tbaa !5
  %253 = load i32, ptr %20, align 4, !tbaa !5
  %254 = load i32, ptr %21, align 4, !tbaa !5
  %255 = load i32, ptr %7, align 4, !tbaa !5
  %256 = load i32, ptr %8, align 4, !tbaa !5
  %257 = call ptr @libxsmm_gemm_descriptor_init(ptr noundef %9, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef %249, i32 noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256)
  store ptr %257, ptr %6, align 8, !tbaa !9
  br label %269

258:                                              ; preds = %236
  %259 = load i32, ptr %16, align 4, !tbaa !5
  %260 = load i32, ptr %17, align 4, !tbaa !5
  %261 = load i32, ptr %18, align 4, !tbaa !5
  %262 = load i32, ptr %19, align 4, !tbaa !5
  %263 = load i32, ptr %20, align 4, !tbaa !5
  %264 = load i32, ptr %21, align 4, !tbaa !5
  %265 = load i32, ptr %7, align 4, !tbaa !5
  %266 = load i32, ptr %8, align 4, !tbaa !5
  %267 = call ptr @libxsmm_gemm_descriptor_init(ptr noundef %9, i32 noundef 10, i32 noundef 10, i32 noundef 8, i32 noundef 8, i32 noundef %259, i32 noundef %260, i32 noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265, i32 noundef %266)
  store ptr %267, ptr %6, align 8, !tbaa !9
  br label %269

268:                                              ; preds = %236
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

269:                                              ; preds = %258, %248, %238
  %270 = load ptr, ptr %6, align 8, !tbaa !9
  %271 = icmp eq ptr null, %270
  br i1 %271, label %272, label %273

272:                                              ; preds = %269
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

273:                                              ; preds = %269
  %274 = load ptr, ptr %10, align 8, !tbaa !9
  %275 = call i32 @strcmp(ptr noundef %274, ptr noundef @.str) #7
  %276 = icmp eq i32 %275, 0
  br i1 %276, label %281, label %277

277:                                              ; preds = %273
  %278 = load ptr, ptr %10, align 8, !tbaa !9
  %279 = call i32 @strcmp(ptr noundef %278, ptr noundef @.str.1) #7
  %280 = icmp eq i32 %279, 0
  br i1 %280, label %281, label %318

281:                                              ; preds = %277, %273
  %282 = load ptr, ptr %5, align 8, !tbaa !9
  %283 = getelementptr inbounds ptr, ptr %282, i64 17
  %284 = load ptr, ptr %283, align 8, !tbaa !9
  store ptr %284, ptr %12, align 8, !tbaa !9
  %285 = load double, ptr %24, align 8, !tbaa !11
  %286 = fcmp olt double %285, 1.000000e+00
  br i1 %286, label %290, label %287

287:                                              ; preds = %281
  %288 = load double, ptr %24, align 8, !tbaa !11
  %289 = fcmp olt double 1.000000e+00, %288
  br i1 %289, label %290, label %291

290:                                              ; preds = %287, %281
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

291:                                              ; preds = %287
  %292 = load i32, ptr %19, align 4, !tbaa !5
  %293 = icmp slt i32 %292, 1
  br i1 %293, label %294, label %298

294:                                              ; preds = %291
  %295 = load i32, ptr %20, align 4, !tbaa !5
  %296 = icmp slt i32 %295, 1
  br i1 %296, label %297, label %298

297:                                              ; preds = %294
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

298:                                              ; preds = %294, %291
  %299 = load i32, ptr %21, align 4, !tbaa !5
  %300 = icmp slt i32 %299, 1
  br i1 %300, label %301, label %302

301:                                              ; preds = %298
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

302:                                              ; preds = %298
  %303 = load i32, ptr %26, align 4, !tbaa !5
  %304 = icmp sgt i32 %303, 1
  br i1 %304, label %305, label %306

305:                                              ; preds = %302
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

306:                                              ; preds = %302
  %307 = load ptr, ptr %10, align 8, !tbaa !9
  %308 = call i32 @strcmp(ptr noundef %307, ptr noundef @.str.1) #7
  %309 = icmp eq i32 %308, 0
  br i1 %309, label %310, label %311

310:                                              ; preds = %306
  store i32 1, ptr %27, align 4, !tbaa !5
  br label %311

311:                                              ; preds = %310, %306
  %312 = load ptr, ptr %11, align 8, !tbaa !9
  %313 = load ptr, ptr %13, align 8, !tbaa !9
  %314 = load ptr, ptr %6, align 8, !tbaa !9
  %315 = load ptr, ptr %14, align 8, !tbaa !9
  %316 = load ptr, ptr %12, align 8, !tbaa !9
  %317 = load i32, ptr %27, align 4, !tbaa !5
  call void @libxsmm_generator_spgemm(ptr noundef %312, ptr noundef %313, ptr noundef %314, ptr noundef %315, ptr noundef %316, i32 noundef %317)
  br label %318

318:                                              ; preds = %311, %277
  %319 = load ptr, ptr %10, align 8, !tbaa !9
  %320 = call i32 @strcmp(ptr noundef %319, ptr noundef @.str.2) #7
  %321 = icmp eq i32 %320, 0
  br i1 %321, label %326, label %322

322:                                              ; preds = %318
  %323 = load ptr, ptr %10, align 8, !tbaa !9
  %324 = call i32 @strcmp(ptr noundef %323, ptr noundef @.str.3) #7
  %325 = icmp eq i32 %324, 0
  br i1 %325, label %326, label %351

326:                                              ; preds = %322, %318
  %327 = load i32, ptr %19, align 4, !tbaa !5
  %328 = icmp slt i32 %327, 1
  br i1 %328, label %335, label %329

329:                                              ; preds = %326
  %330 = load i32, ptr %20, align 4, !tbaa !5
  %331 = icmp slt i32 %330, 1
  br i1 %331, label %335, label %332

332:                                              ; preds = %329
  %333 = load i32, ptr %21, align 4, !tbaa !5
  %334 = icmp slt i32 %333, 1
  br i1 %334, label %335, label %336

335:                                              ; preds = %332, %329, %326
  call void @print_help()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

336:                                              ; preds = %332
  %337 = load ptr, ptr %10, align 8, !tbaa !9
  %338 = call i32 @strcmp(ptr noundef %337, ptr noundef @.str.2) #7
  %339 = icmp eq i32 %338, 0
  br i1 %339, label %340, label %345

340:                                              ; preds = %336
  %341 = load ptr, ptr %11, align 8, !tbaa !9
  %342 = load ptr, ptr %13, align 8, !tbaa !9
  %343 = load ptr, ptr %6, align 8, !tbaa !9
  %344 = load ptr, ptr %14, align 8, !tbaa !9
  call void @libxsmm_generator_gemm_inlineasm(ptr noundef %341, ptr noundef %342, ptr noundef %343, ptr noundef %344)
  br label %350

345:                                              ; preds = %336
  %346 = load ptr, ptr %11, align 8, !tbaa !9
  %347 = load ptr, ptr %13, align 8, !tbaa !9
  %348 = load ptr, ptr %6, align 8, !tbaa !9
  %349 = load ptr, ptr %14, align 8, !tbaa !9
  call void @libxsmm_generator_gemm_directasm(ptr noundef %346, ptr noundef %347, ptr noundef %348, ptr noundef %349)
  br label %350

350:                                              ; preds = %345, %340
  br label %351

351:                                              ; preds = %350, %322
  store i32 0, ptr %3, align 4
  store i32 1, ptr %28, align 4
  br label %352

352:                                              ; preds = %351, %335, %305, %301, %297, %290, %272, %268, %235, %228, %222, %206, %176, %161, %132, %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %353 = load i32, ptr %3, align 4
  ret i32 %353
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @print_help() #2

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

declare ptr @libxsmm_gemm_descriptor_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

declare void @libxsmm_generator_spgemm(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #5

declare void @libxsmm_generator_gemm_inlineasm(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

declare void @libxsmm_generator_gemm_directasm(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 nounwind willreturn memory(read) 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 = { nounwind willreturn memory(read) "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 = { "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 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !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"

%struct.libxsmm_descriptor_blob = type { [96 x i8] }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.libxsmm_descriptor_blob, align 1
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #6
  %4 = icmp ne i32 %0, 17
  %5 = icmp ne i32 %0, 18
  %6 = add i32 %0, -19
  %or.cond = icmp ult i32 %6, -2
  br i1 %or.cond, label %7, label %8

7:                                                ; preds = %2
  tail call void @print_help()
  br label %156

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %1, i64 16
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %1, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %1, i64 32
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = tail call i32 @atoi(ptr nocapture noundef %16) #7
  %18 = getelementptr inbounds i8, ptr %1, i64 40
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = tail call i32 @atoi(ptr nocapture noundef %19) #7
  %21 = getelementptr inbounds i8, ptr %1, i64 48
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  %23 = tail call i32 @atoi(ptr nocapture noundef %22) #7
  %24 = getelementptr inbounds i8, ptr %1, i64 56
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = tail call i32 @atoi(ptr nocapture noundef %25) #7
  %27 = getelementptr inbounds i8, ptr %1, i64 64
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = tail call i32 @atoi(ptr nocapture noundef %28) #7
  %30 = getelementptr inbounds i8, ptr %1, i64 72
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  %32 = tail call i32 @atoi(ptr nocapture noundef %31) #7
  %33 = icmp slt i32 %26, 1
  %spec.store.select = select i1 %33, i32 0, i32 %26
  %34 = icmp slt i32 %29, 1
  %spec.store.select20 = select i1 %34, i32 0, i32 %29
  %35 = getelementptr inbounds i8, ptr %1, i64 80
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = tail call double @atof(ptr noundef %36) #7
  %38 = getelementptr inbounds i8, ptr %1, i64 88
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = tail call double @atof(ptr noundef %39) #7
  %41 = getelementptr inbounds i8, ptr %1, i64 96
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  %43 = tail call i32 @atoi(ptr nocapture noundef %42) #7
  %44 = getelementptr inbounds i8, ptr %1, i64 104
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = tail call i32 @atoi(ptr nocapture noundef %45) #7
  %.not = icmp eq i32 %43, 0
  %47 = select i1 %.not, i32 0, i32 8
  %.not133 = icmp eq i32 %46, 0
  %48 = select i1 %.not133, i32 0, i32 16
  %49 = fcmp oeq double %40, 0.000000e+00
  %50 = select i1 %49, i32 4, i32 0
  %51 = or disjoint i32 %47, %50
  %52 = or disjoint i32 %51, %48
  %53 = getelementptr inbounds i8, ptr %1, i64 112
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %1, i64 128
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str) #7
  %.not134 = icmp eq i32 %57, 0
  br i1 %.not134, label %65, label %58

58:                                               ; preds = %8
  %59 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.1) #7
  %.not135 = icmp eq i32 %59, 0
  br i1 %.not135, label %.thread, label %60

60:                                               ; preds = %58
  %61 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.2) #7
  %.not136 = icmp eq i32 %61, 0
  br i1 %.not136, label %.thread, label %62

62:                                               ; preds = %60
  %63 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.3) #7
  %.not137 = icmp eq i32 %63, 0
  br i1 %.not137, label %.thread, label %64

64:                                               ; preds = %62
  tail call void @print_help()
  br label %156

65:                                               ; preds = %8
  br i1 %5, label %73, label %.thread.thread

.thread:                                          ; preds = %58, %60, %62
  %66 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.1) #7
  %67 = icmp eq i32 %66, 0
  %or.cond5 = and i1 %5, %67
  br i1 %or.cond5, label %73, label %.thread.thread

.thread.thread:                                   ; preds = %65, %.thread
  %68 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.2) #7
  %69 = icmp eq i32 %68, 0
  %or.cond7 = and i1 %4, %69
  br i1 %or.cond7, label %73, label %70

70:                                               ; preds = %.thread.thread
  %71 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.3) #7
  %72 = icmp eq i32 %71, 0
  %or.cond9 = and i1 %4, %72
  br i1 %or.cond9, label %73, label %74

73:                                               ; preds = %70, %.thread.thread, %.thread, %65
  tail call void @print_help()
  br label %156

74:                                               ; preds = %70
  %75 = getelementptr inbounds i8, ptr %1, i64 120
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull dereferenceable(1) %76) #7
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %83, label %79

79:                                               ; preds = %74
  %80 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull dereferenceable(1) %76) #7
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  tail call void @print_help()
  br label %156

83:                                               ; preds = %79, %74
  %.0131 = phi i32 [ 0, %74 ], [ 1, %79 ]
  %84 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.6) #7
  %.not138 = icmp eq i32 %84, 0
  br i1 %.not138, label %98, label %85

85:                                               ; preds = %83
  %86 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.7) #7
  %.not139 = icmp eq i32 %86, 0
  br i1 %.not139, label %98, label %87

87:                                               ; preds = %85
  %88 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.8) #7
  %.not140 = icmp eq i32 %88, 0
  br i1 %.not140, label %98, label %89

89:                                               ; preds = %87
  %90 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.9) #7
  %.not141 = icmp eq i32 %90, 0
  br i1 %.not141, label %98, label %91

91:                                               ; preds = %89
  %92 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.10) #7
  %.not142 = icmp eq i32 %92, 0
  br i1 %.not142, label %98, label %93

93:                                               ; preds = %91
  %94 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.11) #7
  %.not143 = icmp eq i32 %94, 0
  br i1 %.not143, label %98, label %95

95:                                               ; preds = %93
  %96 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.12) #7
  %.not144 = icmp eq i32 %96, 0
  br i1 %.not144, label %98, label %97

97:                                               ; preds = %95
  tail call void @print_help()
  br label %156

98:                                               ; preds = %95, %93, %91, %89, %87, %85, %83
  %99 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %56, ptr noundef nonnull dereferenceable(1) @.str.13) #7
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %108, label %101

101:                                              ; preds = %98
  %102 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %56, ptr noundef nonnull dereferenceable(1) @.str.14) #7
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %108, label %104

104:                                              ; preds = %101
  %105 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %56, ptr noundef nonnull dereferenceable(1) @.str.15) #7
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  tail call void @print_help()
  br label %156

108:                                              ; preds = %104, %101, %98
  %109 = phi i1 [ false, %98 ], [ false, %101 ], [ true, %104 ]
  %.0128 = phi i32 [ 1, %98 ], [ 0, %101 ], [ 2, %104 ]
  %110 = fcmp une double %37, 1.000000e+00
  br i1 %110, label %111, label %112

111:                                              ; preds = %108
  tail call void @print_help()
  br label %156

112:                                              ; preds = %108
  %113 = fcmp une double %40, 0.000000e+00
  %114 = fcmp une double %40, 1.000000e+00
  %or.cond11 = and i1 %113, %114
  br i1 %or.cond11, label %115, label %116

115:                                              ; preds = %112
  tail call void @print_help()
  br label %156

116:                                              ; preds = %112
  switch i32 %.0128, label %default.unreachable150 [
    i32 0, label %117
    i32 1, label %119
    i32 2, label %121
  ]

117:                                              ; preds = %116
  %118 = call ptr @libxsmm_gemm_descriptor_init(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %spec.store.select, i32 noundef %spec.store.select20, i32 noundef %32, i32 noundef %52, i32 noundef %.0131) #6
  br label %123

119:                                              ; preds = %116
  %120 = call ptr @libxsmm_gemm_descriptor_init(ptr noundef nonnull %3, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %spec.store.select, i32 noundef %spec.store.select20, i32 noundef %32, i32 noundef %52, i32 noundef %.0131) #6
  br label %123

121:                                              ; preds = %116
  %122 = call ptr @libxsmm_gemm_descriptor_init(ptr noundef nonnull %3, i32 noundef 10, i32 noundef 10, i32 noundef 8, i32 noundef 8, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %spec.store.select, i32 noundef %spec.store.select20, i32 noundef %32, i32 noundef %52, i32 noundef %.0131) #6
  br label %123

default.unreachable150:                           ; preds = %116
  unreachable

123:                                              ; preds = %121, %119, %117
  %.0130 = phi ptr [ %122, %121 ], [ %120, %119 ], [ %118, %117 ]
  %124 = icmp eq ptr %.0130, null
  br i1 %124, label %125, label %126

125:                                              ; preds = %123
  call void @print_help()
  br label %156

126:                                              ; preds = %123
  %127 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str) #7
  %128 = icmp eq i32 %127, 0
  br i1 %128, label %132, label %129

129:                                              ; preds = %126
  %130 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.1) #7
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %144

132:                                              ; preds = %126, %129
  %133 = getelementptr inbounds i8, ptr %1, i64 136
  %134 = load ptr, ptr %133, align 8, !tbaa !5
  %or.cond15 = select i1 %33, i1 %34, i1 false
  br i1 %or.cond15, label %135, label %136

135:                                              ; preds = %132
  call void @print_help()
  br label %156

136:                                              ; preds = %132
  %137 = icmp slt i32 %32, 1
  br i1 %137, label %138, label %139

138:                                              ; preds = %136
  call void @print_help()
  br label %156

139:                                              ; preds = %136
  br i1 %109, label %140, label %141

140:                                              ; preds = %139
  call void @print_help()
  br label %156

141:                                              ; preds = %139
  %142 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.1) #7
  %143 = icmp eq i32 %142, 0
  %spec.select = zext i1 %143 to i32
  call void @libxsmm_generator_spgemm(ptr noundef %12, ptr noundef %14, ptr noundef nonnull %.0130, ptr noundef %54, ptr noundef %134, i32 noundef %spec.select) #6
  br label %144

144:                                              ; preds = %141, %129
  %145 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.2) #7
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %150, label %147

147:                                              ; preds = %144
  %148 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.3) #7
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %.thread146, label %156

150:                                              ; preds = %144
  %or.cond17 = select i1 %33, i1 true, i1 %34
  %151 = icmp slt i32 %32, 1
  %or.cond19 = select i1 %or.cond17, i1 true, i1 %151
  br i1 %or.cond19, label %153, label %154

.thread146:                                       ; preds = %147
  %or.cond17147 = select i1 %33, i1 true, i1 %34
  %152 = icmp slt i32 %32, 1
  %or.cond19148 = select i1 %or.cond17147, i1 true, i1 %152
  br i1 %or.cond19148, label %153, label %155

153:                                              ; preds = %.thread146, %150
  call void @print_help()
  br label %156

154:                                              ; preds = %150
  call void @libxsmm_generator_gemm_inlineasm(ptr noundef %12, ptr noundef %14, ptr noundef nonnull %.0130, ptr noundef %54) #6
  br label %156

155:                                              ; preds = %.thread146
  call void @libxsmm_generator_gemm_directasm(ptr noundef %12, ptr noundef %14, ptr noundef nonnull %.0130, ptr noundef %54) #6
  br label %156

156:                                              ; preds = %147, %155, %154, %153, %140, %138, %135, %125, %115, %111, %107, %97, %82, %73, %64, %7
  %.0129 = phi i32 [ 1, %7 ], [ 1, %64 ], [ 1, %73 ], [ 1, %97 ], [ 1, %111 ], [ 1, %115 ], [ 1, %125 ], [ 1, %135 ], [ 1, %138 ], [ 1, %140 ], [ 1, %153 ], [ 1, %107 ], [ 1, %82 ], [ 0, %154 ], [ 0, %155 ], [ 0, %147 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #6
  ret i32 %.0129
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @print_help() local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4

declare ptr @libxsmm_gemm_descriptor_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare void @libxsmm_generator_spgemm(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare void @libxsmm_generator_gemm_inlineasm(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @libxsmm_generator_gemm_directasm(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 nofree nounwind willreturn memory(read) 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 nofree nounwind willreturn memory(argmem: read) "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 = { "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 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: ConstraintEliminationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass