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

; 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_micro_kernel_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [2 x %struct.libxsmm_blocking_info_t], %struct.libxsmm_tile_config, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_blocking_info_t = type { i32, [4 x i32], i32, i32 }
%struct.libxsmm_tile_config = type { i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_gemm_descriptor = type <{ i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8], i8, i64, i64, i8, i32, i32, i32, i16, i16, i8, i8, i8, i8, i16, i16, i16, i16, i16, i16, i32, i32, i32, i8 }>
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [89 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst = external hidden unnamed_addr constant [64 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

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) #1

declare i32 @libxsmm_cpuid_dot_pack_factor(i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %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
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %21 = load i32, ptr %11, align 4, !tbaa !9
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %22, i32 0, i32 2
  %24 = load i32, ptr %23, align 8, !tbaa !11
  %25 = urem i32 %21, %24
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %33

27:                                               ; preds = %6
  %28 = load i32, ptr %11, align 4, !tbaa !9
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = udiv i32 %28, %31
  br label %40

33:                                               ; preds = %6
  %34 = load i32, ptr %11, align 4, !tbaa !9
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = udiv i32 %34, %37
  %39 = add i32 %38, 1
  br label %40

40:                                               ; preds = %33, %27
  %41 = phi i32 [ %32, %27 ], [ %39, %33 ]
  store i32 %41, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !15
  %45 = load i32, ptr %12, align 4, !tbaa !9
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = mul i32 %45, %46
  %48 = sub i32 %44, %47
  store i32 %48, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 1, ptr %19, align 4, !tbaa !9
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = icmp ugt i32 %49, 30
  br i1 %50, label %54, label %51

51:                                               ; preds = %40
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = icmp ult i32 %52, 1
  br i1 %53, label %54, label %63

54:                                               ; preds = %51, %40
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %57 = icmp ult i32 1, %56
  br i1 %57, label %58, label %60

58:                                               ; preds = %54
  %59 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %61

60:                                               ; preds = %54
  br label %61

61:                                               ; preds = %60, %58
  %62 = phi i32 [ %59, %58 ], [ 1, %60 ]
  call void @libxsmm_handle_error(ptr noundef %55, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef @.str, i32 noundef 1506, i32 noundef %62)
  store i32 1, ptr %20, align 4
  br label %501

63:                                               ; preds = %51
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %65, align 4, !tbaa !16
  %67 = icmp eq i32 %66, 1051
  br i1 %67, label %78, label %68

68:                                               ; preds = %63
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %70, align 4, !tbaa !16
  %72 = icmp eq i32 %71, 1052
  br i1 %72, label %78, label %73

73:                                               ; preds = %68
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %75, align 4, !tbaa !16
  %77 = icmp eq i32 %76, 1053
  br i1 %77, label %78, label %111

78:                                               ; preds = %73, %68, %63
  %79 = load i32, ptr %13, align 4, !tbaa !9
  %80 = load i32, ptr %12, align 4, !tbaa !9
  %81 = mul i32 %79, %80
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = add i32 %81, %82
  %84 = add i32 %83, 1
  %85 = icmp ugt i32 %84, 32
  br i1 %85, label %86, label %95

86:                                               ; preds = %78
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %89 = icmp ult i32 1, %88
  br i1 %89, label %90, label %92

90:                                               ; preds = %86
  %91 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %93

92:                                               ; preds = %86
  br label %93

93:                                               ; preds = %92, %90
  %94 = phi i32 [ %91, %90 ], [ 1, %92 ]
  call void @libxsmm_handle_error(ptr noundef %87, i32 noundef 90019, ptr noundef @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef @.str, i32 noundef 1513, i32 noundef %94)
  store i32 1, ptr %20, align 4
  br label %501

95:                                               ; preds = %78
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = icmp ult i32 %96, 1
  br i1 %97, label %101, label %98

98:                                               ; preds = %95
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = icmp ugt i32 %99, 8
  br i1 %100, label %101, label %110

101:                                              ; preds = %98, %95
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %104 = icmp ult i32 1, %103
  br i1 %104, label %105, label %107

105:                                              ; preds = %101
  %106 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %108

107:                                              ; preds = %101
  br label %108

108:                                              ; preds = %107, %105
  %109 = phi i32 [ %106, %105 ], [ 1, %107 ]
  call void @libxsmm_handle_error(ptr noundef %102, i32 noundef 90017, ptr noundef @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef @.str, i32 noundef 1517, i32 noundef %109)
  store i32 1, ptr %20, align 4
  br label %501

110:                                              ; preds = %98
  br label %147

111:                                              ; preds = %73
  %112 = load i32, ptr %13, align 4, !tbaa !9
  %113 = icmp ult i32 %112, 1
  br i1 %113, label %117, label %114

114:                                              ; preds = %111
  %115 = load i32, ptr %13, align 4, !tbaa !9
  %116 = icmp ugt i32 %115, 4
  br i1 %116, label %117, label %126

117:                                              ; preds = %114, %111
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %120 = icmp ult i32 1, %119
  br i1 %120, label %121, label %123

121:                                              ; preds = %117
  %122 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %124

123:                                              ; preds = %117
  br label %124

124:                                              ; preds = %123, %121
  %125 = phi i32 [ %122, %121 ], [ 1, %123 ]
  call void @libxsmm_handle_error(ptr noundef %118, i32 noundef 90017, ptr noundef @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef @.str, i32 noundef 1522, i32 noundef %125)
  store i32 1, ptr %20, align 4
  br label %501

126:                                              ; preds = %114
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = load i32, ptr %12, align 4, !tbaa !9
  %129 = mul i32 %127, %128
  %130 = load i32, ptr %13, align 4, !tbaa !9
  %131 = add i32 %129, %130
  %132 = add i32 %131, 1
  %133 = icmp ugt i32 %132, 32
  br i1 %133, label %134, label %146

134:                                              ; preds = %126
  %135 = load i32, ptr %12, align 4, !tbaa !9
  %136 = icmp ult i32 %135, 7
  br i1 %136, label %137, label %146

137:                                              ; preds = %134
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %140 = icmp ult i32 1, %139
  br i1 %140, label %141, label %143

141:                                              ; preds = %137
  %142 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %144

143:                                              ; preds = %137
  br label %144

144:                                              ; preds = %143, %141
  %145 = phi i32 [ %142, %141 ], [ 1, %143 ]
  call void @libxsmm_handle_error(ptr noundef %138, i32 noundef 90019, ptr noundef @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef @.str, i32 noundef 1526, i32 noundef %145)
  store i32 1, ptr %20, align 4
  br label %501

146:                                              ; preds = %134, %126
  br label %147

147:                                              ; preds = %146, %110
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %149, align 1, !tbaa !18
  %151 = and i32 %150, 2048
  %152 = icmp eq i32 %151, 2048
  br i1 %152, label %153, label %159

153:                                              ; preds = %147
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %154, i32 0, i32 8
  %156 = getelementptr inbounds [3 x i8], ptr %155, i64 0, i64 0
  %157 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %156)
  %158 = call i32 @libxsmm_cpuid_dot_pack_factor(i32 noundef %157)
  store i32 %158, ptr %19, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %153, %147
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %497, %159
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = icmp ult i32 %161, 2
  br i1 %162, label %163, label %500

163:                                              ; preds = %160
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %268, %163
  %165 = load i32, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %12, align 4, !tbaa !9
  %167 = icmp ult i32 %165, %166
  br i1 %167, label %168, label %271

168:                                              ; preds = %164
  %169 = load ptr, ptr %10, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %170, align 1, !tbaa !18
  %172 = and i32 %171, 2
  %173 = icmp ugt i32 %172, 0
  br i1 %173, label %174, label %182

174:                                              ; preds = %168
  %175 = load i32, ptr %14, align 4, !tbaa !9
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %176, i32 0, i32 4
  %178 = load i32, ptr %177, align 8, !tbaa !21
  %179 = mul i32 %175, %178
  %180 = load i32, ptr %19, align 4, !tbaa !9
  %181 = mul i32 %179, %180
  store i32 %181, ptr %17, align 4, !tbaa !9
  br label %192

182:                                              ; preds = %168
  %183 = load ptr, ptr %10, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %183, i32 0, i32 4
  %185 = load i32, ptr %184, align 1, !tbaa !22
  %186 = load i32, ptr %14, align 4, !tbaa !9
  %187 = mul i32 %185, %186
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %188, i32 0, i32 4
  %190 = load i32, ptr %189, align 8, !tbaa !21
  %191 = mul i32 %187, %190
  store i32 %191, ptr %17, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %182, %174
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 8, !tbaa !23
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %197, i32 0, i32 7
  %199 = load i32, ptr %198, align 4, !tbaa !24
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %200, i32 0, i32 3
  %202 = load i32, ptr %201, align 4, !tbaa !25
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %204, i32 0, i32 21
  %206 = load i8, ptr %205, align 4, !tbaa !27
  %207 = load i32, ptr %14, align 4, !tbaa !9
  %208 = add i32 1, %207
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %193, i32 noundef %196, i32 noundef %199, i32 noundef %202, i32 noundef 127, i32 noundef 0, i32 noundef %203, i8 noundef signext %206, i32 noundef %208, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = load i32, ptr %12, align 4, !tbaa !9
  %211 = sub i32 %210, 1
  %212 = icmp eq i32 %209, %211
  br i1 %212, label %213, label %246

213:                                              ; preds = %192
  %214 = load i32, ptr %18, align 4, !tbaa !9
  %215 = icmp eq i32 %214, 1
  br i1 %215, label %216, label %246

216:                                              ; preds = %213
  %217 = load ptr, ptr %10, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %218, align 1, !tbaa !18
  %220 = and i32 %219, 2
  %221 = icmp ugt i32 %220, 0
  br i1 %221, label %222, label %230

222:                                              ; preds = %216
  %223 = load ptr, ptr %10, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %223, i32 0, i32 4
  %225 = load i32, ptr %224, align 1, !tbaa !22
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %226, i32 0, i32 4
  %228 = load i32, ptr %227, align 8, !tbaa !21
  %229 = mul i32 %225, %228
  store i32 %229, ptr %17, align 4, !tbaa !9
  br label %236

230:                                              ; preds = %216
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %231, i32 0, i32 4
  %233 = load i32, ptr %232, align 8, !tbaa !21
  %234 = load i32, ptr %19, align 4, !tbaa !9
  %235 = mul i32 %233, %234
  store i32 %235, ptr %17, align 4, !tbaa !9
  br label %236

236:                                              ; preds = %230, %222
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = load ptr, ptr %9, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %238, i32 0, i32 16
  %240 = load i32, ptr %239, align 8, !tbaa !28
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %241, i32 0, i32 3
  %243 = load i32, ptr %242, align 4, !tbaa !25
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = sext i32 %244 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %237, i32 noundef %240, i32 noundef %243, i64 noundef %245)
  br label %246

246:                                              ; preds = %236, %213, %192
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = icmp eq i32 %247, 0
  br i1 %248, label %249, label %258

249:                                              ; preds = %246
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %251, i32 0, i32 21
  %253 = load i8, ptr %252, align 4, !tbaa !27
  %254 = load i32, ptr %14, align 4, !tbaa !9
  %255 = add i32 1, %254
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = add i32 1, %256
  call void @libxsmm_x86_instruction_vec_compute_2reg_mask(ptr noundef %250, i32 noundef -528017809, i8 noundef signext %253, i32 noundef %255, i32 noundef %257, i32 noundef 3, i32 noundef 1)
  br label %267

258:                                              ; preds = %246
  %259 = load ptr, ptr %7, align 8, !tbaa !5
  %260 = load ptr, ptr %9, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %260, i32 0, i32 21
  %262 = load i8, ptr %261, align 4, !tbaa !27
  %263 = load i32, ptr %14, align 4, !tbaa !9
  %264 = add i32 1, %263
  %265 = load i32, ptr %14, align 4, !tbaa !9
  %266 = add i32 1, %265
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %259, i32 noundef 611128946, i8 noundef signext %262, i32 noundef %264, i32 noundef %266, i32 noundef 16)
  br label %267

267:                                              ; preds = %258, %249
  br label %268

268:                                              ; preds = %267
  %269 = load i32, ptr %14, align 4, !tbaa !9
  %270 = add i32 %269, 1
  store i32 %270, ptr %14, align 4, !tbaa !9
  br label %164, !llvm.loop !29

271:                                              ; preds = %164
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %272

272:                                              ; preds = %493, %271
  %273 = load i32, ptr %15, align 4, !tbaa !9
  %274 = load i32, ptr %13, align 4, !tbaa !9
  %275 = icmp ult i32 %273, %274
  br i1 %275, label %276, label %496

276:                                              ; preds = %272
  %277 = load i32, ptr %18, align 4, !tbaa !9
  %278 = icmp eq i32 %277, 0
  br i1 %278, label %279, label %347

279:                                              ; preds = %276
  %280 = load ptr, ptr %9, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %280, i32 0, i32 11
  %282 = load i32, ptr %281, align 4, !tbaa !31
  %283 = icmp ne i32 %282, 0
  br i1 %283, label %284, label %324

284:                                              ; preds = %279
  %285 = load ptr, ptr %7, align 8, !tbaa !5
  %286 = load ptr, ptr %9, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %286, i32 0, i32 0
  %288 = load i32, ptr %287, align 8, !tbaa !23
  %289 = load ptr, ptr %9, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %289, i32 0, i32 6
  %291 = load i32, ptr %290, align 8, !tbaa !32
  %292 = load ptr, ptr %8, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %292, i32 0, i32 1
  %294 = load i32, ptr %293, align 4, !tbaa !33
  %295 = load ptr, ptr %9, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %295, i32 0, i32 3
  %297 = load i32, ptr %296, align 4, !tbaa !34
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %298, i32 0, i32 2
  %300 = load i32, ptr %299, align 8, !tbaa !11
  %301 = mul i32 %297, %300
  %302 = load i32, ptr %15, align 4, !tbaa !9
  %303 = mul i32 %301, %302
  %304 = load i32, ptr %19, align 4, !tbaa !9
  %305 = mul i32 %303, %304
  %306 = load ptr, ptr %9, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %306, i32 0, i32 21
  %308 = load i8, ptr %307, align 4, !tbaa !27
  %309 = load i32, ptr %15, align 4, !tbaa !9
  %310 = load i32, ptr %13, align 4, !tbaa !9
  %311 = sub i32 %310, 1
  %312 = icmp eq i32 %309, %311
  br i1 %312, label %313, label %317

313:                                              ; preds = %284
  %314 = load ptr, ptr %9, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %314, i32 0, i32 11
  %316 = load i32, ptr %315, align 4, !tbaa !31
  br label %318

317:                                              ; preds = %284
  br label %318

318:                                              ; preds = %317, %313
  %319 = phi i32 [ %316, %313 ], [ 0, %317 ]
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %285, i32 noundef %288, i32 noundef %291, i32 noundef %294, i32 noundef 127, i32 noundef 0, i32 noundef %305, i8 noundef signext %308, i32 noundef 0, i32 noundef %319, i32 noundef 1, i32 noundef 0)
  %320 = load ptr, ptr %7, align 8, !tbaa !5
  %321 = load ptr, ptr %9, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %321, i32 0, i32 21
  %323 = load i8, ptr %322, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_compute_2reg_mask(ptr noundef %320, i32 noundef -528017809, i8 noundef signext %323, i32 noundef 0, i32 noundef 0, i32 noundef 3, i32 noundef 1)
  br label %346

324:                                              ; preds = %279
  %325 = load ptr, ptr %7, align 8, !tbaa !5
  %326 = load ptr, ptr %9, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %326, i32 0, i32 0
  %328 = load i32, ptr %327, align 8, !tbaa !23
  %329 = load ptr, ptr %8, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %329, i32 0, i32 1
  %331 = load i32, ptr %330, align 4, !tbaa !33
  %332 = load ptr, ptr %9, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %332, i32 0, i32 3
  %334 = load i32, ptr %333, align 4, !tbaa !34
  %335 = load ptr, ptr %9, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %335, i32 0, i32 2
  %337 = load i32, ptr %336, align 8, !tbaa !11
  %338 = mul i32 %334, %337
  %339 = load i32, ptr %15, align 4, !tbaa !9
  %340 = mul i32 %338, %339
  %341 = load i32, ptr %19, align 4, !tbaa !9
  %342 = mul i32 %340, %341
  %343 = load ptr, ptr %9, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %343, i32 0, i32 21
  %345 = load i8, ptr %344, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %325, i32 noundef %328, i32 noundef -528017809, i32 noundef %331, i32 noundef 127, i32 noundef 0, i32 noundef %342, i8 noundef signext %345, i32 noundef 0, i32 noundef 3, i32 noundef 1, i32 noundef 0)
  br label %346

346:                                              ; preds = %324, %318
  br label %387

347:                                              ; preds = %276
  %348 = load ptr, ptr %7, align 8, !tbaa !5
  %349 = load ptr, ptr %9, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %349, i32 0, i32 0
  %351 = load i32, ptr %350, align 8, !tbaa !23
  %352 = load ptr, ptr %9, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %352, i32 0, i32 6
  %354 = load i32, ptr %353, align 8, !tbaa !32
  %355 = load ptr, ptr %8, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %355, i32 0, i32 1
  %357 = load i32, ptr %356, align 4, !tbaa !33
  %358 = load ptr, ptr %9, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %358, i32 0, i32 3
  %360 = load i32, ptr %359, align 4, !tbaa !34
  %361 = load ptr, ptr %9, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %361, i32 0, i32 2
  %363 = load i32, ptr %362, align 8, !tbaa !11
  %364 = mul i32 %360, %363
  %365 = load i32, ptr %15, align 4, !tbaa !9
  %366 = mul i32 %364, %365
  %367 = load i32, ptr %19, align 4, !tbaa !9
  %368 = mul i32 %366, %367
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %369, i32 0, i32 21
  %371 = load i8, ptr %370, align 4, !tbaa !27
  %372 = load i32, ptr %15, align 4, !tbaa !9
  %373 = load i32, ptr %13, align 4, !tbaa !9
  %374 = sub i32 %373, 1
  %375 = icmp eq i32 %372, %374
  br i1 %375, label %376, label %380

376:                                              ; preds = %347
  %377 = load ptr, ptr %9, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %377, i32 0, i32 11
  %379 = load i32, ptr %378, align 4, !tbaa !31
  br label %381

380:                                              ; preds = %347
  br label %381

381:                                              ; preds = %380, %376
  %382 = phi i32 [ %379, %376 ], [ 0, %380 ]
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %348, i32 noundef %351, i32 noundef %354, i32 noundef %357, i32 noundef 127, i32 noundef 0, i32 noundef %368, i8 noundef signext %371, i32 noundef 0, i32 noundef %382, i32 noundef 1, i32 noundef 0)
  %383 = load ptr, ptr %7, align 8, !tbaa !5
  %384 = load ptr, ptr %9, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %384, i32 0, i32 21
  %386 = load i8, ptr %385, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %383, i32 noundef 611128946, i8 noundef signext %386, i32 noundef 0, i32 noundef 0, i32 noundef 16)
  br label %387

387:                                              ; preds = %381, %346
  %388 = load i32, ptr %18, align 4, !tbaa !9
  %389 = icmp eq i32 %388, 1
  br i1 %389, label %390, label %413

390:                                              ; preds = %387
  %391 = load ptr, ptr %10, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %391, i32 0, i32 7
  %393 = load i8, ptr %392, align 1, !tbaa !35
  %394 = zext i8 %393 to i32
  %395 = icmp eq i32 %394, 1
  br i1 %395, label %396, label %412

396:                                              ; preds = %390
  %397 = load ptr, ptr %7, align 8, !tbaa !5
  %398 = load ptr, ptr %8, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %398, i32 0, i32 6
  %400 = load i32, ptr %399, align 4, !tbaa !36
  %401 = load ptr, ptr %9, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %401, i32 0, i32 3
  %403 = load i32, ptr %402, align 4, !tbaa !34
  %404 = load ptr, ptr %9, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %404, i32 0, i32 2
  %406 = load i32, ptr %405, align 8, !tbaa !11
  %407 = load i32, ptr %19, align 4, !tbaa !9
  %408 = mul i32 %406, %407
  %409 = mul i32 %403, %408
  %410 = load i32, ptr %15, align 4, !tbaa !9
  %411 = mul i32 %409, %410
  call void @libxsmm_x86_instruction_prefetch(ptr noundef %397, i32 noundef -1809575912, i32 noundef %400, i32 noundef 127, i32 noundef 0, i32 noundef %411)
  br label %412

412:                                              ; preds = %396, %390
  br label %413

413:                                              ; preds = %412, %387
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %414

414:                                              ; preds = %489, %413
  %415 = load i32, ptr %14, align 4, !tbaa !9
  %416 = load i32, ptr %12, align 4, !tbaa !9
  %417 = icmp ult i32 %415, %416
  br i1 %417, label %418, label %492

418:                                              ; preds = %414
  %419 = load i32, ptr %14, align 4, !tbaa !9
  %420 = icmp eq i32 %419, 0
  br i1 %420, label %421, label %475

421:                                              ; preds = %418
  %422 = load i32, ptr %15, align 4, !tbaa !9
  %423 = load i32, ptr %13, align 4, !tbaa !9
  %424 = sub i32 %423, 1
  %425 = icmp eq i32 %422, %424
  br i1 %425, label %426, label %475

426:                                              ; preds = %421
  %427 = load i32, ptr %18, align 4, !tbaa !9
  %428 = icmp eq i32 %427, 1
  br i1 %428, label %429, label %475

429:                                              ; preds = %426
  %430 = load ptr, ptr %7, align 8, !tbaa !5
  %431 = load ptr, ptr %9, align 8, !tbaa !5
  %432 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %431, i32 0, i32 16
  %433 = load i32, ptr %432, align 8, !tbaa !28
  %434 = load ptr, ptr %8, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %434, i32 0, i32 1
  %436 = load i32, ptr %435, align 4, !tbaa !33
  %437 = load ptr, ptr %10, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %437, i32 0, i32 3
  %439 = load i32, ptr %438, align 1, !tbaa !37
  %440 = zext i32 %439 to i64
  %441 = load ptr, ptr %9, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %441, i32 0, i32 3
  %443 = load i32, ptr %442, align 4, !tbaa !34
  %444 = zext i32 %443 to i64
  %445 = mul nsw i64 %440, %444
  %446 = load i32, ptr %19, align 4, !tbaa !9
  %447 = zext i32 %446 to i64
  %448 = mul nsw i64 %445, %447
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %430, i32 noundef %433, i32 noundef %436, i64 noundef %448)
  %449 = load ptr, ptr %10, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %449, i32 0, i32 7
  %451 = load i8, ptr %450, align 1, !tbaa !35
  %452 = zext i8 %451 to i32
  %453 = icmp eq i32 %452, 1
  br i1 %453, label %454, label %474

454:                                              ; preds = %429
  %455 = load ptr, ptr %7, align 8, !tbaa !5
  %456 = load ptr, ptr %9, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %456, i32 0, i32 16
  %458 = load i32, ptr %457, align 8, !tbaa !28
  %459 = load ptr, ptr %8, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %459, i32 0, i32 6
  %461 = load i32, ptr %460, align 4, !tbaa !36
  %462 = load ptr, ptr %10, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %462, i32 0, i32 3
  %464 = load i32, ptr %463, align 1, !tbaa !37
  %465 = zext i32 %464 to i64
  %466 = load ptr, ptr %9, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %466, i32 0, i32 3
  %468 = load i32, ptr %467, align 4, !tbaa !34
  %469 = zext i32 %468 to i64
  %470 = mul nsw i64 %465, %469
  %471 = load i32, ptr %19, align 4, !tbaa !9
  %472 = zext i32 %471 to i64
  %473 = mul nsw i64 %470, %472
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %455, i32 noundef %458, i32 noundef %461, i64 noundef %473)
  br label %474

474:                                              ; preds = %454, %429
  br label %475

475:                                              ; preds = %474, %426, %421, %418
  %476 = load ptr, ptr %7, align 8, !tbaa !5
  %477 = load ptr, ptr %9, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %477, i32 0, i32 21
  %479 = load i8, ptr %478, align 4, !tbaa !27
  %480 = load i32, ptr %14, align 4, !tbaa !9
  %481 = add i32 1, %480
  %482 = load i32, ptr %16, align 4, !tbaa !9
  %483 = load i32, ptr %15, align 4, !tbaa !9
  %484 = add i32 %482, %483
  %485 = load i32, ptr %13, align 4, !tbaa !9
  %486 = load i32, ptr %14, align 4, !tbaa !9
  %487 = mul i32 %485, %486
  %488 = add i32 %484, %487
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %476, i32 noundef 805643960, i8 noundef signext %479, i32 noundef %481, i32 noundef 0, i32 noundef %488)
  br label %489

489:                                              ; preds = %475
  %490 = load i32, ptr %14, align 4, !tbaa !9
  %491 = add i32 %490, 1
  store i32 %491, ptr %14, align 4, !tbaa !9
  br label %414, !llvm.loop !38

492:                                              ; preds = %414
  br label %493

493:                                              ; preds = %492
  %494 = load i32, ptr %15, align 4, !tbaa !9
  %495 = add i32 %494, 1
  store i32 %495, ptr %15, align 4, !tbaa !9
  br label %272, !llvm.loop !39

496:                                              ; preds = %272
  br label %497

497:                                              ; preds = %496
  %498 = load i32, ptr %18, align 4, !tbaa !9
  %499 = add i32 %498, 1
  store i32 %499, ptr %18, align 4, !tbaa !9
  br label %160, !llvm.loop !40

500:                                              ; preds = %160
  store i32 0, ptr %20, align 4
  br label %501

501:                                              ; preds = %500, %144, %124, %108, %93, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  %502 = load i32, ptr %20, align 4
  switch i32 %502, label %504 [
    i32 0, label %503
    i32 1, label %503
  ]

503:                                              ; preds = %501, %501
  ret void

504:                                              ; preds = %501
  unreachable
}

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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_x86_instruction_prefetch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1

declare void @libxsmm_x86_instruction_vec_compute_2reg_mask(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"libxsmm_micro_kernel_config", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !7, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !7, i64 364, !7, i64 380, !7, i64 396, !7, i64 412, !7, i64 428, !7, i64 444, !10, i64 460, !7, i64 464, !13, i64 520, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !6, i64 592, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !10, i64 680}
!13 = !{!"libxsmm_tile_config", !7, i64 0, !14, i64 2, !7, i64 4, !14, i64 6, !7, i64 8, !14, i64 10, !7, i64 12, !14, i64 14, !7, i64 16, !14, i64 18, !7, i64 20, !14, i64 22, !7, i64 24, !14, i64 26, !7, i64 28, !14, i64 30, !7, i64 32}
!14 = !{!"short", !7, i64 0}
!15 = !{!12, !10, i64 4}
!16 = !{!17, !10, i64 28}
!17 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!18 = !{!19, !10, i64 24}
!19 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 32, !20, i64 33, !20, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !14, i64 62, !14, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !14, i64 70, !14, i64 72, !14, i64 74, !14, i64 76, !14, i64 78, !14, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!20 = !{!"long long", !7, i64 0}
!21 = !{!12, !10, i64 16}
!22 = !{!19, !10, i64 16}
!23 = !{!12, !10, i64 0}
!24 = !{!12, !10, i64 28}
!25 = !{!26, !10, i64 12}
!26 = !{!"libxsmm_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128}
!27 = !{!12, !7, i64 84}
!28 = !{!12, !10, i64 64}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!12, !10, i64 44}
!32 = !{!12, !10, i64 24}
!33 = !{!26, !10, i64 4}
!34 = !{!12, !10, i64 12}
!35 = !{!19, !7, i64 28}
!36 = !{!26, !10, i64 24}
!37 = !{!19, !10, i64 12}
!38 = distinct !{!38, !30}
!39 = distinct !{!39, !30}
!40 = distinct !{!40, !30}


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

@.str = external hidden unnamed_addr constant [89 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst = external hidden unnamed_addr constant [64 x i8], align 1

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #0

declare i32 @libxsmm_cpuid_dot_pack_factor(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %2, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = urem i32 %4, %8
  %10 = icmp ne i32 %9, 0
  %11 = udiv i32 %4, %8
  %12 = zext i1 %10 to i32
  %13 = add i32 %11, %12
  %14 = getelementptr inbounds i8, ptr %2, i64 4
  %15 = load i32, ptr %14, align 4, !tbaa !13
  %16 = mul i32 %13, %5
  %17 = sub i32 %15, %16
  %18 = add i32 %5, -31
  %or.cond = icmp ult i32 %18, -30
  br i1 %or.cond, label %19, label %24

19:                                               ; preds = %6
  %20 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !14
  %21 = icmp ugt i32 %20, 1
  %22 = load i32, ptr @libxsmm_verbosity, align 4
  %23 = select i1 %21, i32 %22, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef nonnull @.str, i32 noundef 1506, i32 noundef %23) #2
  br label %.loopexit

24:                                               ; preds = %6
  %25 = getelementptr inbounds i8, ptr %0, i64 28
  %26 = load i32, ptr %25, align 4, !tbaa !15
  %.off = add i32 %26, -1051
  %switch = icmp ult i32 %.off, 3
  br i1 %switch, label %27, label %43

27:                                               ; preds = %24
  %28 = or disjoint i32 %5, -32
  %29 = add i32 %28, %16
  %30 = icmp ult i32 %29, -33
  br i1 %30, label %31, label %36

31:                                               ; preds = %27
  %32 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !14
  %33 = icmp ugt i32 %32, 1
  %34 = load i32, ptr @libxsmm_verbosity, align 4
  %35 = select i1 %33, i32 %34, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90019, ptr noundef nonnull @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef nonnull @.str, i32 noundef 1513, i32 noundef %35) #2
  br label %.loopexit

36:                                               ; preds = %27
  %37 = add i32 %13, -9
  %or.cond3 = icmp ult i32 %37, -8
  br i1 %or.cond3, label %38, label %59

38:                                               ; preds = %36
  %39 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !14
  %40 = icmp ugt i32 %39, 1
  %41 = load i32, ptr @libxsmm_verbosity, align 4
  %42 = select i1 %40, i32 %41, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90017, ptr noundef nonnull @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef nonnull @.str, i32 noundef 1517, i32 noundef %42) #2
  br label %.loopexit

43:                                               ; preds = %24
  %44 = add i32 %13, -5
  %or.cond5 = icmp ult i32 %44, -4
  br i1 %or.cond5, label %45, label %50

45:                                               ; preds = %43
  %46 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !14
  %47 = icmp ugt i32 %46, 1
  %48 = load i32, ptr @libxsmm_verbosity, align 4
  %49 = select i1 %47, i32 %48, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90017, ptr noundef nonnull @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef nonnull @.str, i32 noundef 1522, i32 noundef %49) #2
  br label %.loopexit

50:                                               ; preds = %43
  %51 = add nuw nsw i32 %16, %13
  %52 = icmp ugt i32 %51, 31
  %53 = icmp ult i32 %5, 7
  %or.cond7 = and i1 %53, %52
  br i1 %or.cond7, label %54, label %59

54:                                               ; preds = %50
  %55 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !14
  %56 = icmp ugt i32 %55, 1
  %57 = load i32, ptr @libxsmm_verbosity, align 4
  %58 = select i1 %56, i32 %57, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90019, ptr noundef nonnull @__func__.libxsmm_generator_gemm_avx512_microkernel_m8_bf16_emu_nofsdbcst, ptr noundef nonnull @.str, i32 noundef 1526, i32 noundef %58) #2
  br label %.loopexit

59:                                               ; preds = %50, %36
  %60 = getelementptr inbounds i8, ptr %3, i64 24
  %61 = load i32, ptr %60, align 1, !tbaa !17
  %62 = and i32 %61, 2048
  %.not = icmp eq i32 %62, 0
  br i1 %.not, label %67, label %63

63:                                               ; preds = %59
  %64 = getelementptr inbounds i8, ptr %3, i64 29
  %65 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %64) #2
  %66 = tail call i32 @libxsmm_cpuid_dot_pack_factor(i32 noundef %65) #2
  br label %67

67:                                               ; preds = %63, %59
  %.0 = phi i32 [ %66, %63 ], [ 1, %59 ]
  %68 = getelementptr inbounds i8, ptr %2, i64 16
  %69 = getelementptr inbounds i8, ptr %3, i64 16
  %70 = getelementptr inbounds i8, ptr %2, i64 28
  %71 = getelementptr inbounds i8, ptr %1, i64 12
  %72 = getelementptr inbounds i8, ptr %2, i64 84
  %73 = add nsw i32 %5, -1
  %74 = getelementptr inbounds i8, ptr %2, i64 64
  %75 = getelementptr inbounds i8, ptr %2, i64 24
  %76 = getelementptr inbounds i8, ptr %1, i64 4
  %77 = getelementptr inbounds i8, ptr %2, i64 12
  %78 = add nsw i32 %13, -1
  %79 = getelementptr inbounds i8, ptr %2, i64 44
  %80 = getelementptr inbounds i8, ptr %3, i64 28
  %81 = getelementptr inbounds i8, ptr %1, i64 24
  %82 = getelementptr inbounds i8, ptr %3, i64 12
  %83 = zext i32 %.0 to i64
  %exitcond185.peel.not = icmp eq i32 %5, 1
  br label %.preheader172

.preheader172:                                    ; preds = %67, %._crit_edge178
  %84 = phi i1 [ false, %67 ], [ true, %._crit_edge178 ]
  %85 = phi i1 [ true, %67 ], [ false, %._crit_edge178 ]
  br label %86

86:                                               ; preds = %.preheader172, %120
  %.0160173 = phi i32 [ 0, %.preheader172 ], [ %103, %120 ]
  %87 = load i32, ptr %60, align 1, !tbaa !17
  %88 = and i32 %87, 2
  %.not169 = icmp eq i32 %88, 0
  br i1 %.not169, label %93, label %89

89:                                               ; preds = %86
  %90 = load i32, ptr %68, align 8, !tbaa !20
  %91 = mul i32 %.0160173, %.0
  %92 = mul i32 %91, %90
  br label %98

93:                                               ; preds = %86
  %94 = load i32, ptr %69, align 1, !tbaa !21
  %95 = mul i32 %94, %.0160173
  %96 = load i32, ptr %68, align 8, !tbaa !20
  %97 = mul i32 %95, %96
  br label %98

98:                                               ; preds = %93, %89
  %.0159 = phi i32 [ %92, %89 ], [ %97, %93 ]
  %99 = load i32, ptr %2, align 8, !tbaa !22
  %100 = load i32, ptr %70, align 4, !tbaa !23
  %101 = load i32, ptr %71, align 4, !tbaa !24
  %102 = load i8, ptr %72, align 4, !tbaa !26
  %103 = add nuw i32 %.0160173, 1
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef 127, i32 noundef 0, i32 noundef %.0159, i8 noundef signext %102, i32 noundef %103, i32 noundef 0, i32 noundef 1, i32 noundef 0) #2
  %104 = icmp eq i32 %.0160173, %73
  %or.cond9 = and i1 %84, %104
  br i1 %or.cond9, label %105, label %115

105:                                              ; preds = %98
  %106 = load i32, ptr %60, align 1, !tbaa !17
  %107 = and i32 %106, 2
  %.not170 = icmp eq i32 %107, 0
  br i1 %.not170, label %.thread, label %108

108:                                              ; preds = %105
  %109 = load i32, ptr %69, align 1, !tbaa !21
  br label %.thread

.thread:                                          ; preds = %105, %108
  %.sink190 = phi i32 [ %109, %108 ], [ %.0, %105 ]
  %110 = load i32, ptr %68, align 8, !tbaa !20
  %111 = mul i32 %110, %.sink190
  %112 = load i32, ptr %74, align 8, !tbaa !27
  %113 = load i32, ptr %71, align 4, !tbaa !24
  %114 = sext i32 %111 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %112, i32 noundef %113, i64 noundef %114) #2
  br label %118

115:                                              ; preds = %98
  br i1 %85, label %116, label %118

116:                                              ; preds = %115
  %117 = load i8, ptr %72, align 4, !tbaa !26
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_mask(ptr noundef %0, i32 noundef -528017809, i8 noundef signext %117, i32 noundef %103, i32 noundef %103, i32 noundef 3, i32 noundef 1) #2
  br label %120

118:                                              ; preds = %.thread, %115
  %119 = load i8, ptr %72, align 4, !tbaa !26
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 611128946, i8 noundef signext %119, i32 noundef %103, i32 noundef %103, i32 noundef 16) #2
  br label %120

120:                                              ; preds = %116, %118
  %exitcond.not = icmp eq i32 %103, %5
  br i1 %exitcond.not, label %.lr.ph177, label %86, !llvm.loop !28

.lr.ph177:                                        ; preds = %120, %._crit_edge
  %.0162176 = phi i32 [ %197, %._crit_edge ], [ 0, %120 ]
  br i1 %84, label %143, label %121

121:                                              ; preds = %.lr.ph177
  %122 = load i32, ptr %79, align 4, !tbaa !30
  %.not168 = icmp eq i32 %122, 0
  %123 = load i32, ptr %2, align 8, !tbaa !22
  br i1 %.not168, label %135, label %124

124:                                              ; preds = %121
  %125 = load i32, ptr %75, align 8, !tbaa !31
  %126 = load i32, ptr %76, align 4, !tbaa !32
  %127 = load i32, ptr %77, align 4, !tbaa !33
  %128 = load i32, ptr %7, align 8, !tbaa !5
  %129 = mul i32 %.0162176, %.0
  %130 = mul i32 %129, %127
  %131 = mul i32 %130, %128
  %132 = load i8, ptr %72, align 4, !tbaa !26
  %133 = icmp eq i32 %.0162176, %78
  %spec.select = select i1 %133, i32 %122, i32 0
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %123, i32 noundef %125, i32 noundef %126, i32 noundef 127, i32 noundef 0, i32 noundef %131, i8 noundef signext %132, i32 noundef 0, i32 noundef %spec.select, i32 noundef 1, i32 noundef 0) #2
  %134 = load i8, ptr %72, align 4, !tbaa !26
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_mask(ptr noundef %0, i32 noundef -528017809, i8 noundef signext %134, i32 noundef 0, i32 noundef 0, i32 noundef 3, i32 noundef 1) #2
  br label %.lr.ph175

135:                                              ; preds = %121
  %136 = load i32, ptr %76, align 4, !tbaa !32
  %137 = load i32, ptr %77, align 4, !tbaa !33
  %138 = load i32, ptr %7, align 8, !tbaa !5
  %139 = mul i32 %.0162176, %.0
  %140 = mul i32 %139, %137
  %141 = mul i32 %140, %138
  %142 = load i8, ptr %72, align 4, !tbaa !26
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %123, i32 noundef -528017809, i32 noundef %136, i32 noundef 127, i32 noundef 0, i32 noundef %141, i8 noundef signext %142, i32 noundef 0, i32 noundef 3, i32 noundef 1, i32 noundef 0) #2
  br label %.lr.ph175

143:                                              ; preds = %.lr.ph177
  %144 = load i32, ptr %2, align 8, !tbaa !22
  %145 = load i32, ptr %75, align 8, !tbaa !31
  %146 = load i32, ptr %76, align 4, !tbaa !32
  %147 = load i32, ptr %77, align 4, !tbaa !33
  %148 = load i32, ptr %7, align 8, !tbaa !5
  %149 = mul i32 %.0162176, %.0
  %150 = mul i32 %149, %147
  %151 = mul i32 %150, %148
  %152 = load i8, ptr %72, align 4, !tbaa !26
  %153 = icmp eq i32 %.0162176, %78
  br i1 %153, label %154, label %156

154:                                              ; preds = %143
  %155 = load i32, ptr %79, align 4, !tbaa !30
  br label %156

156:                                              ; preds = %154, %143
  %157 = phi i32 [ %155, %154 ], [ 0, %143 ]
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef 127, i32 noundef 0, i32 noundef %151, i8 noundef signext %152, i32 noundef 0, i32 noundef %157, i32 noundef 1, i32 noundef 0) #2
  %158 = load i8, ptr %72, align 4, !tbaa !26
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 611128946, i8 noundef signext %158, i32 noundef 0, i32 noundef 0, i32 noundef 16) #2
  %159 = load i8, ptr %80, align 1, !tbaa !34
  %160 = icmp eq i8 %159, 1
  br i1 %160, label %161, label %.lr.ph175

161:                                              ; preds = %156
  %162 = load i32, ptr %81, align 4, !tbaa !35
  %163 = load i32, ptr %77, align 4, !tbaa !33
  %164 = load i32, ptr %7, align 8, !tbaa !5
  %165 = mul i32 %149, %163
  %166 = mul i32 %165, %164
  tail call void @libxsmm_x86_instruction_prefetch(ptr noundef %0, i32 noundef -1809575912, i32 noundef %162, i32 noundef 127, i32 noundef 0, i32 noundef %166) #2
  br label %.lr.ph175

.lr.ph175:                                        ; preds = %161, %156, %124, %135
  %167 = icmp eq i32 %.0162176, %78
  %.fr = freeze i1 %167
  %or.cond11 = and i1 %.fr, %84
  %168 = add i32 %17, %.0162176
  br i1 %or.cond11, label %.lr.ph175.split.us.preheader, label %.lr.ph175.split

.lr.ph175.split.us.preheader:                     ; preds = %.lr.ph175
  %169 = load i32, ptr %74, align 8, !tbaa !27
  %170 = load i32, ptr %76, align 4, !tbaa !32
  %171 = load i32, ptr %82, align 1, !tbaa !36
  %172 = zext i32 %171 to i64
  %173 = load i32, ptr %77, align 4, !tbaa !33
  %174 = zext i32 %173 to i64
  %175 = mul nuw i64 %172, %83
  %176 = mul i64 %175, %174
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %169, i32 noundef %170, i64 noundef %176) #2
  %177 = load i8, ptr %80, align 1, !tbaa !34
  %178 = icmp eq i8 %177, 1
  br i1 %178, label %179, label %188

179:                                              ; preds = %.lr.ph175.split.us.preheader
  %180 = load i32, ptr %74, align 8, !tbaa !27
  %181 = load i32, ptr %81, align 4, !tbaa !35
  %182 = load i32, ptr %82, align 1, !tbaa !36
  %183 = zext i32 %182 to i64
  %184 = load i32, ptr %77, align 4, !tbaa !33
  %185 = zext i32 %184 to i64
  %186 = mul nuw i64 %183, %83
  %187 = mul i64 %186, %185
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %180, i32 noundef %181, i64 noundef %187) #2
  br label %188

188:                                              ; preds = %179, %.lr.ph175.split.us.preheader
  %189 = load i8, ptr %72, align 4, !tbaa !26
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %0, i32 noundef 805643960, i8 noundef signext %189, i32 noundef 1, i32 noundef 0, i32 noundef %168) #2
  br i1 %exitcond185.peel.not, label %._crit_edge, label %.lr.ph175.split.us.peel.next

.lr.ph175.split.us.peel.next:                     ; preds = %188, %.lr.ph175.split.us.peel.next
  %.1161174.us = phi i32 [ %190, %.lr.ph175.split.us.peel.next ], [ 1, %188 ]
  %.pre = load i8, ptr %72, align 4, !tbaa !26
  %190 = add nuw i32 %.1161174.us, 1
  %191 = mul i32 %.1161174.us, %13
  %192 = add i32 %168, %191
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %0, i32 noundef 805643960, i8 noundef signext %.pre, i32 noundef %190, i32 noundef 0, i32 noundef %192) #2
  %exitcond185.not = icmp eq i32 %190, %5
  br i1 %exitcond185.not, label %._crit_edge, label %.lr.ph175.split.us.peel.next, !llvm.loop !37

.lr.ph175.split:                                  ; preds = %.lr.ph175, %.lr.ph175.split
  %.1161174 = phi i32 [ %194, %.lr.ph175.split ], [ 0, %.lr.ph175 ]
  %193 = load i8, ptr %72, align 4, !tbaa !26
  %194 = add nuw nsw i32 %.1161174, 1
  %195 = mul i32 %.1161174, %13
  %196 = add i32 %168, %195
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %0, i32 noundef 805643960, i8 noundef signext %193, i32 noundef %194, i32 noundef 0, i32 noundef %196) #2
  %exitcond184.not = icmp eq i32 %194, %5
  br i1 %exitcond184.not, label %._crit_edge, label %.lr.ph175.split, !llvm.loop !39

._crit_edge:                                      ; preds = %.lr.ph175.split, %.lr.ph175.split.us.peel.next, %188
  %197 = add nuw i32 %.0162176, 1
  %exitcond187.not = icmp eq i32 %197, %13
  br i1 %exitcond187.not, label %._crit_edge178, label %.lr.ph177, !llvm.loop !40

._crit_edge178:                                   ; preds = %._crit_edge
  br i1 %85, label %.preheader172, label %.loopexit, !llvm.loop !41

.loopexit:                                        ; preds = %._crit_edge178, %54, %45, %38, %31, %19
  ret void
}

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_prefetch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_vec_compute_2reg_mask(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

attributes #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 = { 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 #2 = { 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, !7, i64 8}
!6 = !{!"libxsmm_micro_kernel_config", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !8, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !8, i64 364, !8, i64 380, !8, i64 396, !8, i64 412, !8, i64 428, !8, i64 444, !7, i64 460, !8, i64 464, !10, i64 520, !7, i64 556, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !12, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !12, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !7, i64 644, !7, i64 648, !7, i64 652, !7, i64 656, !7, i64 660, !7, i64 664, !7, i64 668, !7, i64 672, !7, i64 676, !7, i64 680}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"libxsmm_tile_config", !8, i64 0, !11, i64 2, !8, i64 4, !11, i64 6, !8, i64 8, !11, i64 10, !8, i64 12, !11, i64 14, !8, i64 16, !11, i64 18, !8, i64 20, !11, i64 22, !8, i64 24, !11, i64 26, !8, i64 28, !11, i64 30, !8, i64 32}
!11 = !{!"short", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 28}
!16 = !{!"libxsmm_generated_code", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!17 = !{!18, !7, i64 24}
!18 = !{!"libxsmm_gemm_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !19, i64 33, !19, i64 41, !8, i64 49, !7, i64 50, !7, i64 54, !7, i64 58, !11, i64 62, !11, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !11, i64 70, !11, i64 72, !11, i64 74, !11, i64 76, !11, i64 78, !11, i64 80, !7, i64 82, !7, i64 86, !7, i64 90, !8, i64 94}
!19 = !{!"long long", !8, i64 0}
!20 = !{!6, !7, i64 16}
!21 = !{!18, !7, i64 16}
!22 = !{!6, !7, i64 0}
!23 = !{!6, !7, i64 28}
!24 = !{!25, !7, i64 12}
!25 = !{!"libxsmm_gp_reg_mapping_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128}
!26 = !{!6, !8, i64 84}
!27 = !{!6, !7, i64 64}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!6, !7, i64 44}
!31 = !{!6, !7, i64 24}
!32 = !{!25, !7, i64 4}
!33 = !{!6, !7, i64 12}
!34 = !{!18, !8, i64 28}
!35 = !{!25, !7, i64 24}
!36 = !{!18, !7, i64 12}
!37 = distinct !{!37, !29, !38}
!38 = !{!"llvm.loop.peeled.count", i32 1}
!39 = distinct !{!39, !29}
!40 = distinct !{!40, !29}
!41 = distinct !{!41, !29}


; Effective O3 passes: ADCEPass,BDCEPass,ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass