; LLVM IR from libxsmm/libxsmm :: src (generator_gemm_sse_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_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 [86 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@__func__.libxsmm_generator_gemm_sse_microkernel_bf16_vnni_emu = external hidden unnamed_addr constant [53 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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_sse_microkernel_bf16_vnni_emu(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 i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %13, align 4, !tbaa !9
  %44 = mul i32 %42, %43
  %45 = sub i32 16, %44
  store i32 %45, 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
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = icmp ugt i32 %46, 3
  br i1 %47, label %51, label %48

48:                                               ; preds = %40
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = icmp ult i32 %49, 1
  br i1 %50, label %51, label %60

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

55:                                               ; preds = %51
  %56 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %58

57:                                               ; preds = %51
  br label %58

58:                                               ; preds = %57, %55
  %59 = phi i32 [ %56, %55 ], [ 1, %57 ]
  call void @libxsmm_handle_error(ptr noundef %52, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_gemm_sse_microkernel_bf16_vnni_emu, ptr noundef @.str, i32 noundef 517, i32 noundef %59)
  store i32 1, ptr %20, align 4
  br label %329

60:                                               ; preds = %48
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %62, align 1, !tbaa !15
  %64 = and i32 %63, 2048
  %65 = icmp eq i32 %64, 2048
  br i1 %65, label %66, label %72

66:                                               ; preds = %60
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %67, i32 0, i32 8
  %69 = getelementptr inbounds [3 x i8], ptr %68, i64 0, i64 0
  %70 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %69)
  %71 = call i32 @libxsmm_cpuid_dot_pack_factor(i32 noundef %70)
  store i32 %71, ptr %19, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %66, %60
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %75, i32 0, i32 23
  %77 = load i32, ptr %76, align 4, !tbaa !18
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %73, ptr noundef %74, i32 noundef 23, i32 noundef %77)
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %325, %72
  %79 = load i32, ptr %18, align 4, !tbaa !9
  %80 = icmp ult i32 %79, 2
  br i1 %80, label %81, label %328

81:                                               ; preds = %78
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %83, i32 0, i32 0
  %85 = load i32, ptr %84, align 8, !tbaa !20
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %86, i32 0, i32 23
  %88 = load i32, ptr %87, align 4, !tbaa !18
  %89 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %82, i32 noundef %85, i32 noundef -1610346480, i32 noundef %88, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext 120, i32 noundef %89, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %159, %81
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = icmp ult i32 %91, %92
  br i1 %93, label %94, label %162

94:                                               ; preds = %90
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %96, align 1, !tbaa !15
  %98 = and i32 %97, 2
  %99 = icmp ugt i32 %98, 0
  br i1 %99, label %100, label %108

100:                                              ; preds = %94
  %101 = load i32, ptr %14, align 4, !tbaa !9
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %102, i32 0, i32 3
  %104 = load i32, ptr %103, align 4, !tbaa !21
  %105 = mul i32 %101, %104
  %106 = load i32, ptr %19, align 4, !tbaa !9
  %107 = mul i32 %105, %106
  store i32 %107, ptr %17, align 4, !tbaa !9
  br label %118

108:                                              ; preds = %94
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %109, i32 0, i32 4
  %111 = load i32, ptr %110, align 1, !tbaa !22
  %112 = load i32, ptr %14, align 4, !tbaa !9
  %113 = mul i32 %111, %112
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %114, i32 0, i32 3
  %116 = load i32, ptr %115, align 4, !tbaa !21
  %117 = mul i32 %113, %116
  store i32 %117, ptr %17, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %108, %100
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %120, i32 0, i32 0
  %122 = load i32, ptr %121, align 8, !tbaa !20
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %123, i32 0, i32 7
  %125 = load i32, ptr %124, align 4, !tbaa !23
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %126, i32 0, i32 3
  %128 = load i32, ptr %127, align 4, !tbaa !24
  %129 = load i32, ptr %17, align 4, !tbaa !9
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %130, i32 0, i32 21
  %132 = load i8, ptr %131, align 4, !tbaa !25
  %133 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %119, i32 noundef %122, i32 noundef %125, i32 noundef %128, i32 noundef 127, i32 noundef 0, i32 noundef %129, i8 noundef signext %132, i32 noundef %133, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %135, i32 0, i32 8
  %137 = load i32, ptr %136, align 8, !tbaa !26
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %138, i32 0, i32 21
  %140 = load i8, ptr %139, align 4, !tbaa !25
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %134, i32 noundef %137, i8 noundef signext %140, i32 noundef %141, i32 noundef %142, i32 noundef 0)
  %143 = load i32, ptr %18, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %152

145:                                              ; preds = %118
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %147, i32 0, i32 21
  %149 = load i8, ptr %148, align 4, !tbaa !25
  %150 = load i32, ptr %12, align 4, !tbaa !9
  %151 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %146, i32 noundef -1610280741, i8 noundef signext %149, i32 noundef %150, i32 noundef %151)
  br label %158

152:                                              ; preds = %118
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %154, i32 0, i32 21
  %156 = load i8, ptr %155, align 4, !tbaa !25
  %157 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_1reg_imm8(ptr noundef %153, i32 noundef -1804791694, i8 noundef signext %156, i32 noundef %157, i32 noundef 16)
  br label %158

158:                                              ; preds = %152, %145
  br label %159

159:                                              ; preds = %158
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = add i32 %160, 1
  store i32 %161, ptr %14, align 4, !tbaa !9
  br label %90, !llvm.loop !27

162:                                              ; preds = %90
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = icmp eq i32 %163, 1
  br i1 %164, label %165, label %195

165:                                              ; preds = %162
  %166 = load ptr, ptr %10, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %167, align 1, !tbaa !15
  %169 = and i32 %168, 2
  %170 = icmp ugt i32 %169, 0
  br i1 %170, label %171, label %179

171:                                              ; preds = %165
  %172 = load ptr, ptr %10, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %172, i32 0, i32 4
  %174 = load i32, ptr %173, align 1, !tbaa !22
  %175 = load ptr, ptr %9, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %175, i32 0, i32 3
  %177 = load i32, ptr %176, align 4, !tbaa !21
  %178 = mul i32 %174, %177
  store i32 %178, ptr %17, align 4, !tbaa !9
  br label %185

179:                                              ; preds = %165
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %180, i32 0, i32 3
  %182 = load i32, ptr %181, align 4, !tbaa !21
  %183 = load i32, ptr %19, align 4, !tbaa !9
  %184 = mul i32 %182, %183
  store i32 %184, ptr %17, align 4, !tbaa !9
  br label %185

185:                                              ; preds = %179, %171
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = load ptr, ptr %9, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %187, i32 0, i32 16
  %189 = load i32, ptr %188, align 8, !tbaa !29
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %190, i32 0, i32 3
  %192 = load i32, ptr %191, align 4, !tbaa !24
  %193 = load i32, ptr %17, align 4, !tbaa !9
  %194 = sext i32 %193 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %186, i32 noundef %189, i32 noundef %192, i64 noundef %194)
  br label %195

195:                                              ; preds = %185, %162
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %196

196:                                              ; preds = %321, %195
  %197 = load i32, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %13, align 4, !tbaa !9
  %199 = icmp ult i32 %197, %198
  br i1 %199, label %200, label %324

200:                                              ; preds = %196
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %201

201:                                              ; preds = %317, %200
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %12, align 4, !tbaa !9
  %204 = icmp ult i32 %202, %203
  br i1 %204, label %205, label %320

205:                                              ; preds = %201
  %206 = load ptr, ptr %7, align 8, !tbaa !5
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %208, align 8, !tbaa !30
  %210 = load ptr, ptr %8, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %210, i32 0, i32 1
  %212 = load i32, ptr %211, align 4, !tbaa !31
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %213, i32 0, i32 3
  %215 = load i32, ptr %214, align 4, !tbaa !21
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %216, i32 0, i32 2
  %218 = load i32, ptr %217, align 8, !tbaa !11
  %219 = mul i32 %215, %218
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = mul i32 %219, %220
  %222 = load i32, ptr %19, align 4, !tbaa !9
  %223 = mul i32 %221, %222
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %224, i32 0, i32 21
  %226 = load i8, ptr %225, align 4, !tbaa !25
  %227 = load i32, ptr %12, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %13, align 4, !tbaa !9
  %230 = sub i32 %229, 1
  %231 = icmp eq i32 %228, %230
  br i1 %231, label %232, label %236

232:                                              ; preds = %205
  %233 = load ptr, ptr %9, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %233, i32 0, i32 11
  %235 = load i32, ptr %234, align 4, !tbaa !32
  br label %237

236:                                              ; preds = %205
  br label %237

237:                                              ; preds = %236, %232
  %238 = phi i32 [ %235, %232 ], [ 0, %236 ]
  %239 = load i32, ptr %11, align 4, !tbaa !9
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %240, i32 0, i32 2
  %242 = load i32, ptr %241, align 8, !tbaa !11
  %243 = urem i32 %239, %242
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %206, i32 noundef %209, i32 noundef %212, i32 noundef 127, i32 noundef 0, i32 noundef %223, i8 noundef signext %226, i32 noundef %227, i32 noundef %238, i32 noundef %243, i32 noundef 0)
  %244 = load i32, ptr %18, align 4, !tbaa !9
  %245 = icmp eq i32 %244, 0
  br i1 %245, label %246, label %253

246:                                              ; preds = %237
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = load ptr, ptr %9, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %248, i32 0, i32 21
  %250 = load i8, ptr %249, align 4, !tbaa !25
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %247, i32 noundef -1609748466, i8 noundef signext %250, i32 noundef %251, i32 noundef %252, i32 noundef 85)
  br label %259

253:                                              ; preds = %237
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %255, i32 0, i32 21
  %257 = load i8, ptr %256, align 4, !tbaa !25
  %258 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_1reg_imm8(ptr noundef %254, i32 noundef -1804791694, i8 noundef signext %257, i32 noundef %258, i32 noundef 16)
  br label %259

259:                                              ; preds = %253, %246
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %13, align 4, !tbaa !9
  %262 = sub i32 %261, 1
  %263 = icmp eq i32 %260, %262
  br i1 %263, label %264, label %292

264:                                              ; preds = %259
  %265 = load i32, ptr %14, align 4, !tbaa !9
  %266 = load i32, ptr %12, align 4, !tbaa !9
  %267 = sub i32 %266, 1
  %268 = icmp eq i32 %265, %267
  br i1 %268, label %269, label %292

269:                                              ; preds = %264
  %270 = load i32, ptr %18, align 4, !tbaa !9
  %271 = icmp eq i32 %270, 1
  br i1 %271, label %272, label %292

272:                                              ; preds = %269
  %273 = load ptr, ptr %7, align 8, !tbaa !5
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %274, i32 0, i32 16
  %276 = load i32, ptr %275, align 8, !tbaa !29
  %277 = load ptr, ptr %8, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %277, i32 0, i32 1
  %279 = load i32, ptr %278, align 4, !tbaa !31
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %280, i32 0, i32 3
  %282 = load i32, ptr %281, align 1, !tbaa !33
  %283 = zext i32 %282 to i64
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %284, i32 0, i32 3
  %286 = load i32, ptr %285, align 4, !tbaa !21
  %287 = zext i32 %286 to i64
  %288 = mul nsw i64 %283, %287
  %289 = load i32, ptr %19, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = mul nsw i64 %288, %290
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %273, i32 noundef %276, i32 noundef %279, i64 noundef %291)
  br label %292

292:                                              ; preds = %272, %269, %264, %259
  %293 = load ptr, ptr %7, align 8, !tbaa !5
  %294 = load ptr, ptr %9, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %294, i32 0, i32 14
  %296 = load i32, ptr %295, align 8, !tbaa !34
  %297 = load ptr, ptr %9, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %297, i32 0, i32 21
  %299 = load i8, ptr %298, align 4, !tbaa !25
  %300 = load i32, ptr %14, align 4, !tbaa !9
  %301 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %293, i32 noundef %296, i8 noundef signext %299, i32 noundef %300, i32 noundef %301)
  %302 = load ptr, ptr %7, align 8, !tbaa !5
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %303, i32 0, i32 15
  %305 = load i32, ptr %304, align 4, !tbaa !35
  %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 !25
  %309 = load i32, ptr %12, align 4, !tbaa !9
  %310 = load i32, ptr %16, align 4, !tbaa !9
  %311 = load i32, ptr %15, align 4, !tbaa !9
  %312 = add i32 %310, %311
  %313 = load i32, ptr %13, align 4, !tbaa !9
  %314 = load i32, ptr %14, align 4, !tbaa !9
  %315 = mul i32 %313, %314
  %316 = add i32 %312, %315
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %302, i32 noundef %305, i8 noundef signext %308, i32 noundef %309, i32 noundef %316)
  br label %317

317:                                              ; preds = %292
  %318 = load i32, ptr %14, align 4, !tbaa !9
  %319 = add i32 %318, 1
  store i32 %319, ptr %14, align 4, !tbaa !9
  br label %201, !llvm.loop !36

320:                                              ; preds = %201
  br label %321

321:                                              ; preds = %320
  %322 = load i32, ptr %15, align 4, !tbaa !9
  %323 = add i32 %322, 1
  store i32 %323, ptr %15, align 4, !tbaa !9
  br label %196, !llvm.loop !37

324:                                              ; preds = %196
  br label %325

325:                                              ; preds = %324
  %326 = load i32, ptr %18, align 4, !tbaa !9
  %327 = add i32 %326, 1
  store i32 %327, ptr %18, align 4, !tbaa !9
  br label %78, !llvm.loop !38

328:                                              ; preds = %78
  store i32 0, ptr %20, align 4
  br label %329

329:                                              ; preds = %328, %58
  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
  %330 = load i32, ptr %20, align 4
  switch i32 %330, label %332 [
    i32 0, label %331
    i32 1, label %331
  ]

331:                                              ; preds = %329, %329
  ret void

332:                                              ; preds = %329
  unreachable
}

declare i32 @libxsmm_cpuid_dot_pack_factor(i32 noundef) #1

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

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

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

declare void @libxsmm_x86_instruction_unified_vec_move(ptr 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_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1

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_2reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) #1

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

declare void @libxsmm_x86_instruction_vec_compute_1reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, 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 = !{!16, !10, i64 24}
!16 = !{!"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, !17, i64 33, !17, 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}
!17 = !{!"long long", !7, i64 0}
!18 = !{!19, !10, i64 92}
!19 = !{!"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}
!20 = !{!12, !10, i64 0}
!21 = !{!12, !10, i64 12}
!22 = !{!16, !10, i64 16}
!23 = !{!12, !10, i64 28}
!24 = !{!19, !10, i64 12}
!25 = !{!12, !7, i64 84}
!26 = !{!12, !10, i64 32}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!12, !10, i64 64}
!30 = !{!12, !10, i64 24}
!31 = !{!19, !10, i64 4}
!32 = !{!12, !10, i64 44}
!33 = !{!16, !10, i64 12}
!34 = !{!12, !10, i64 56}
!35 = !{!12, !10, i64 60}
!36 = distinct !{!36, !28}
!37 = distinct !{!37, !28}
!38 = distinct !{!38, !28}


; 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 [86 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_sse_microkernel_bf16_vnni_emu = external hidden unnamed_addr constant [53 x i8], align 1

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_sse_microkernel_bf16_vnni_emu(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %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 = add i32 %5, -4
  %or.cond = icmp ult i32 %14, -3
  br i1 %or.cond, label %15, label %20

15:                                               ; preds = %6
  %16 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !13
  %17 = icmp ugt i32 %16, 1
  %18 = load i32, ptr @libxsmm_verbosity, align 4
  %19 = select i1 %17, i32 %18, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_gemm_sse_microkernel_bf16_vnni_emu, ptr noundef nonnull @.str, i32 noundef 517, i32 noundef %19) #2
  br label %.loopexit

20:                                               ; preds = %6
  %21 = getelementptr inbounds i8, ptr %3, i64 24
  %22 = load i32, ptr %21, align 1, !tbaa !14
  %23 = and i32 %22, 2048
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %28, label %24

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %3, i64 29
  %26 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %25) #2
  %27 = tail call i32 @libxsmm_cpuid_dot_pack_factor(i32 noundef %26) #2
  br label %28

28:                                               ; preds = %24, %20
  %.0 = phi i32 [ %27, %24 ], [ 1, %20 ]
  %29 = getelementptr inbounds i8, ptr %1, i64 92
  %30 = load i32, ptr %29, align 4, !tbaa !17
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 23, i32 noundef %30) #2
  %31 = getelementptr inbounds i8, ptr %2, i64 12
  %32 = getelementptr inbounds i8, ptr %3, i64 16
  %33 = getelementptr inbounds i8, ptr %2, i64 28
  %34 = getelementptr inbounds i8, ptr %1, i64 12
  %35 = getelementptr inbounds i8, ptr %2, i64 84
  %36 = getelementptr inbounds i8, ptr %2, i64 32
  %37 = getelementptr inbounds i8, ptr %2, i64 64
  %.not134 = icmp eq i32 %13, 0
  %38 = getelementptr inbounds i8, ptr %2, i64 24
  %39 = getelementptr inbounds i8, ptr %1, i64 4
  %40 = add i32 %13, -1
  %41 = getelementptr inbounds i8, ptr %2, i64 44
  %42 = add nsw i32 %5, -1
  %43 = getelementptr inbounds i8, ptr %3, i64 12
  %44 = zext i32 %.0 to i64
  %45 = getelementptr inbounds i8, ptr %2, i64 56
  %46 = getelementptr inbounds i8, ptr %2, i64 60
  br label %.lr.ph

.lr.ph:                                           ; preds = %28, %._crit_edge130
  %47 = phi i1 [ true, %28 ], [ false, %._crit_edge130 ]
  %48 = phi i1 [ false, %28 ], [ true, %._crit_edge130 ]
  %49 = load i32, ptr %2, align 8, !tbaa !19
  %50 = load i32, ptr %29, align 4, !tbaa !17
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %49, i32 noundef -1610346480, i32 noundef %50, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext 120, i32 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
  br label %51

51:                                               ; preds = %.lr.ph, %73
  %.0118125 = phi i32 [ 0, %.lr.ph ], [ %74, %73 ]
  %52 = load i32, ptr %21, align 1, !tbaa !14
  %53 = and i32 %52, 2
  %.not124 = icmp eq i32 %53, 0
  br i1 %.not124, label %58, label %54

54:                                               ; preds = %51
  %55 = load i32, ptr %31, align 4, !tbaa !20
  %56 = mul i32 %.0118125, %.0
  %57 = mul i32 %56, %55
  br label %63

58:                                               ; preds = %51
  %59 = load i32, ptr %32, align 1, !tbaa !21
  %60 = mul i32 %59, %.0118125
  %61 = load i32, ptr %31, align 4, !tbaa !20
  %62 = mul i32 %60, %61
  br label %63

63:                                               ; preds = %58, %54
  %.0117 = phi i32 [ %57, %54 ], [ %62, %58 ]
  %64 = load i32, ptr %2, align 8, !tbaa !19
  %65 = load i32, ptr %33, align 4, !tbaa !22
  %66 = load i32, ptr %34, align 4, !tbaa !23
  %67 = load i8, ptr %35, align 4, !tbaa !24
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef 127, i32 noundef 0, i32 noundef %.0117, i8 noundef signext %67, i32 noundef %.0118125, i32 noundef 0, i32 noundef 1, i32 noundef 0) #2
  %68 = load i32, ptr %36, align 8, !tbaa !25
  %69 = load i8, ptr %35, align 4, !tbaa !24
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef %68, i8 noundef signext %69, i32 noundef %.0118125, i32 noundef %.0118125, i32 noundef 0) #2
  %70 = load i8, ptr %35, align 4, !tbaa !24
  br i1 %47, label %71, label %72

71:                                               ; preds = %63
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %0, i32 noundef -1610280741, i8 noundef signext %70, i32 noundef %5, i32 noundef %.0118125) #2
  br label %73

72:                                               ; preds = %63
  tail call void @libxsmm_x86_instruction_vec_compute_1reg_imm8(ptr noundef %0, i32 noundef -1804791694, i8 noundef signext %70, i32 noundef %.0118125, i32 noundef 16) #2
  br label %73

73:                                               ; preds = %71, %72
  %74 = add nuw i32 %.0118125, 1
  %exitcond.not = icmp eq i32 %74, %5
  br i1 %exitcond.not, label %._crit_edge, label %51, !llvm.loop !26

._crit_edge:                                      ; preds = %73
  br i1 %48, label %75, label %86

75:                                               ; preds = %._crit_edge
  %76 = load i32, ptr %21, align 1, !tbaa !14
  %77 = and i32 %76, 2
  %.not123 = icmp eq i32 %77, 0
  br i1 %.not123, label %80, label %78

78:                                               ; preds = %75
  %79 = load i32, ptr %32, align 1, !tbaa !21
  br label %80

80:                                               ; preds = %75, %78
  %.0.sink = phi i32 [ %79, %78 ], [ %.0, %75 ]
  %81 = load i32, ptr %31, align 4, !tbaa !20
  %82 = mul i32 %81, %.0.sink
  %83 = load i32, ptr %37, align 8, !tbaa !28
  %84 = load i32, ptr %34, align 4, !tbaa !23
  %85 = sext i32 %82 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %83, i32 noundef %84, i64 noundef %85) #2
  br label %86

86:                                               ; preds = %80, %._crit_edge
  br i1 %.not134, label %._crit_edge130, label %.preheader.us

.preheader.us:                                    ; preds = %86, %._crit_edge128.us
  %.0120129.us = phi i32 [ %122, %._crit_edge128.us ], [ 0, %86 ]
  %87 = mul i32 %.0120129.us, %.0
  %88 = icmp eq i32 %.0120129.us, %40
  %89 = add i32 %.0120129.us, 16
  br label %90

90:                                               ; preds = %.preheader.us, %115
  %.1119126.us = phi i32 [ 0, %.preheader.us ], [ %121, %115 ]
  %91 = load i32, ptr %38, align 8, !tbaa !29
  %92 = load i32, ptr %39, align 4, !tbaa !30
  %93 = load i32, ptr %31, align 4, !tbaa !20
  %94 = load i32, ptr %7, align 8, !tbaa !5
  %95 = mul i32 %87, %93
  %96 = mul i32 %95, %94
  %97 = load i8, ptr %35, align 4, !tbaa !24
  br i1 %88, label %98, label %100

98:                                               ; preds = %90
  %99 = load i32, ptr %41, align 4, !tbaa !31
  br label %100

100:                                              ; preds = %98, %90
  %101 = phi i32 [ %99, %98 ], [ 0, %90 ]
  %102 = urem i32 %4, %94
  tail call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef %91, i32 noundef %92, i32 noundef 127, i32 noundef 0, i32 noundef %96, i8 noundef signext %97, i32 noundef %5, i32 noundef %101, i32 noundef %102, i32 noundef 0) #2
  %103 = load i8, ptr %35, align 4, !tbaa !24
  br i1 %47, label %.thread, label %104

.thread:                                          ; preds = %100
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef -1609748466, i8 noundef signext %103, i32 noundef %.1119126.us, i32 noundef %5, i32 noundef 85) #2
  br label %115

104:                                              ; preds = %100
  tail call void @libxsmm_x86_instruction_vec_compute_1reg_imm8(ptr noundef %0, i32 noundef -1804791694, i8 noundef signext %103, i32 noundef %5, i32 noundef 16) #2
  %105 = icmp eq i32 %.1119126.us, %42
  %or.cond3.us = and i1 %48, %105
  %or.cond132 = select i1 %88, i1 %or.cond3.us, i1 false
  br i1 %or.cond132, label %106, label %115

106:                                              ; preds = %104
  %107 = load i32, ptr %37, align 8, !tbaa !28
  %108 = load i32, ptr %39, align 4, !tbaa !30
  %109 = load i32, ptr %43, align 1, !tbaa !32
  %110 = zext i32 %109 to i64
  %111 = load i32, ptr %31, align 4, !tbaa !20
  %112 = zext i32 %111 to i64
  %113 = mul nuw i64 %110, %44
  %114 = mul i64 %113, %112
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %107, i32 noundef %108, i64 noundef %114) #2
  br label %115

115:                                              ; preds = %.thread, %106, %104
  %116 = load i32, ptr %45, align 8, !tbaa !33
  %117 = load i8, ptr %35, align 4, !tbaa !24
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %0, i32 noundef %116, i8 noundef signext %117, i32 noundef %.1119126.us, i32 noundef %5) #2
  %118 = load i32, ptr %46, align 4, !tbaa !34
  %119 = load i8, ptr %35, align 4, !tbaa !24
  %reass.add.us = sub nsw i32 %.1119126.us, %5
  %reass.mul.us = mul i32 %reass.add.us, %13
  %120 = add i32 %89, %reass.mul.us
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %0, i32 noundef %118, i8 noundef signext %119, i32 noundef %5, i32 noundef %120) #2
  %121 = add nuw i32 %.1119126.us, 1
  %exitcond137.not = icmp eq i32 %121, %5
  br i1 %exitcond137.not, label %._crit_edge128.us, label %90, !llvm.loop !35

._crit_edge128.us:                                ; preds = %115
  %122 = add nuw i32 %.0120129.us, 1
  %exitcond138.not = icmp eq i32 %122, %13
  br i1 %exitcond138.not, label %._crit_edge130, label %.preheader.us, !llvm.loop !36

._crit_edge130:                                   ; preds = %._crit_edge128.us, %86
  br i1 %47, label %.lr.ph, label %.loopexit, !llvm.loop !37

.loopexit:                                        ; preds = %._crit_edge130, %15
  ret void
}

declare i32 @libxsmm_cpuid_dot_pack_factor(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_generator_gemm_getval_stack_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_unified_vec_move(ptr 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_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #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) 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_x86_instruction_vec_compute_2reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_vec_compute_1reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, 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 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 24}
!15 = !{!"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, !16, i64 33, !16, 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}
!16 = !{!"long long", !8, i64 0}
!17 = !{!18, !7, i64 92}
!18 = !{!"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}
!19 = !{!6, !7, i64 0}
!20 = !{!6, !7, i64 12}
!21 = !{!15, !7, i64 16}
!22 = !{!6, !7, i64 28}
!23 = !{!18, !7, i64 12}
!24 = !{!6, !8, i64 84}
!25 = !{!6, !7, i64 32}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!6, !7, i64 64}
!29 = !{!6, !7, i64 24}
!30 = !{!18, !7, i64 4}
!31 = !{!6, !7, i64 44}
!32 = !{!15, !7, i64 12}
!33 = !{!6, !7, i64 56}
!34 = !{!6, !7, i64 60}
!35 = distinct !{!35, !27}
!36 = distinct !{!36, !27}
!37 = distinct !{!37, !27}


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