; LLVM IR from libxsmm/libxsmm :: src (generator_gemm_avx2_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 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [87 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@__func__.libxsmm_generator_gemm_avx2_microkernel_int8_uu_ss_vnni_emu = external hidden unnamed_addr constant [60 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_avx2_microkernel_int8_uu_ss_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_avx2_microkernel_int8_uu_ss_vnni_emu, ptr noundef @.str, i32 noundef 943, i32 noundef %59)
  store i32 1, ptr %20, align 4
  br label %615

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 %9, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %73, i32 0, i32 11
  %75 = load i32, ptr %74, align 4, !tbaa !18
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %83

77:                                               ; preds = %72
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %80, i32 0, i32 22
  %82 = load i32, ptr %81, align 4, !tbaa !19
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %78, ptr noundef %79, i32 noundef 22, i32 noundef %82)
  br label %83

83:                                               ; preds = %77, %72
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %85, align 4, !tbaa !21
  %87 = icmp ult i32 %86, 1007
  br i1 %87, label %88, label %90

88:                                               ; preds = %83
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %89, i32 noundef 30008, i32 noundef 4, i64 noundef 32)
  br label %90

90:                                               ; preds = %88, %83
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %604, %90
  %92 = load i32, ptr %18, align 4, !tbaa !9
  %93 = icmp ult i32 %92, 2
  br i1 %93, label %94, label %607

94:                                               ; preds = %91
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %139, %94
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = load i32, ptr %12, align 4, !tbaa !9
  %98 = icmp ult i32 %96, %97
  br i1 %98, label %99, label %142

99:                                               ; preds = %95
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %101, align 1, !tbaa !15
  %103 = and i32 %102, 2
  %104 = icmp ugt i32 %103, 0
  br i1 %104, label %105, label %113

105:                                              ; preds = %99
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %107, i32 0, i32 3
  %109 = load i32, ptr %108, align 4, !tbaa !23
  %110 = mul i32 %106, %109
  %111 = load i32, ptr %19, align 4, !tbaa !9
  %112 = mul i32 %110, %111
  store i32 %112, ptr %17, align 4, !tbaa !9
  br label %123

113:                                              ; preds = %99
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %114, i32 0, i32 4
  %116 = load i32, ptr %115, align 1, !tbaa !24
  %117 = load i32, ptr %14, align 4, !tbaa !9
  %118 = mul i32 %116, %117
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %119, i32 0, i32 3
  %121 = load i32, ptr %120, align 4, !tbaa !23
  %122 = mul i32 %118, %121
  store i32 %122, ptr %17, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %113, %105
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = icmp eq i32 %124, 1
  br i1 %125, label %126, label %129

126:                                              ; preds = %123
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = add nsw i32 %127, 2
  store i32 %128, ptr %17, align 4, !tbaa !9
  br label %129

129:                                              ; preds = %126, %123
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %131, i32 0, i32 0
  %133 = load i32, ptr %132, align 8, !tbaa !25
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %134, i32 0, i32 3
  %136 = load i32, ptr %135, align 4, !tbaa !26
  %137 = load i32, ptr %17, align 4, !tbaa !9
  %138 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %130, i32 noundef %133, i32 noundef 537209209, i32 noundef %136, i32 noundef 127, i32 noundef 0, i32 noundef %137, i8 noundef signext 120, i32 noundef %138, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  br label %139

139:                                              ; preds = %129
  %140 = load i32, ptr %14, align 4, !tbaa !9
  %141 = add i32 %140, 1
  store i32 %141, ptr %14, align 4, !tbaa !9
  br label %95, !llvm.loop !27

142:                                              ; preds = %95
  %143 = load i32, ptr %18, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 1
  br i1 %144, label %145, label %175

145:                                              ; preds = %142
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %147, align 1, !tbaa !15
  %149 = and i32 %148, 2
  %150 = icmp ugt i32 %149, 0
  br i1 %150, label %151, label %159

151:                                              ; preds = %145
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %152, i32 0, i32 4
  %154 = load i32, ptr %153, align 1, !tbaa !24
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %155, i32 0, i32 3
  %157 = load i32, ptr %156, align 4, !tbaa !23
  %158 = mul i32 %154, %157
  store i32 %158, ptr %17, align 4, !tbaa !9
  br label %165

159:                                              ; preds = %145
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %160, i32 0, i32 3
  %162 = load i32, ptr %161, align 4, !tbaa !23
  %163 = load i32, ptr %19, align 4, !tbaa !9
  %164 = mul i32 %162, %163
  store i32 %164, ptr %17, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %159, %151
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %167, i32 0, i32 16
  %169 = load i32, ptr %168, align 8, !tbaa !29
  %170 = load ptr, ptr %8, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %170, i32 0, i32 3
  %172 = load i32, ptr %171, align 4, !tbaa !26
  %173 = load i32, ptr %17, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %166, i32 noundef %169, i32 noundef %172, i64 noundef %174)
  br label %175

175:                                              ; preds = %165, %142
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %201, %175
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = load i32, ptr %12, align 4, !tbaa !9
  %179 = icmp ult i32 %177, %178
  br i1 %179, label %180, label %204

180:                                              ; preds = %176
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %182, align 1, !tbaa !15
  %184 = and i32 %183, 512
  %185 = icmp ugt i32 %184, 0
  br i1 %185, label %186, label %193

186:                                              ; preds = %180
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %188, i32 0, i32 21
  %190 = load i8, ptr %189, align 4, !tbaa !30
  %191 = load i32, ptr %14, align 4, !tbaa !9
  %192 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %187, i32 noundef 537208112, i8 noundef signext %190, i32 noundef %191, i32 noundef %192)
  br label %200

193:                                              ; preds = %180
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %195, i32 0, i32 21
  %197 = load i8, ptr %196, align 4, !tbaa !30
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %194, i32 noundef 537208096, i8 noundef signext %197, i32 noundef %198, i32 noundef %199)
  br label %200

200:                                              ; preds = %193, %186
  br label %201

201:                                              ; preds = %200
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = add i32 %202, 1
  store i32 %203, ptr %14, align 4, !tbaa !9
  br label %176, !llvm.loop !31

204:                                              ; preds = %176
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %205

205:                                              ; preds = %600, %204
  %206 = load i32, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = icmp ult i32 %206, %207
  br i1 %208, label %209, label %603

209:                                              ; preds = %205
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %210, i32 0, i32 11
  %212 = load i32, ptr %211, align 4, !tbaa !18
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %224, label %214

214:                                              ; preds = %209
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %215, i32 0, i32 11
  %217 = load i32, ptr %216, align 4, !tbaa !18
  %218 = icmp eq i32 %217, 1
  br i1 %218, label %219, label %412

219:                                              ; preds = %214
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = load i32, ptr %13, align 4, !tbaa !9
  %222 = sub i32 %221, 1
  %223 = icmp ult i32 %220, %222
  br i1 %223, label %224, label %412

224:                                              ; preds = %219, %209
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %227, align 8, !tbaa !32
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %229, i32 0, i32 1
  %231 = load i32, ptr %230, align 4, !tbaa !33
  %232 = load ptr, ptr %9, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %232, i32 0, i32 3
  %234 = load i32, ptr %233, align 4, !tbaa !23
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %235, i32 0, i32 2
  %237 = load i32, ptr %236, align 8, !tbaa !11
  %238 = mul i32 %234, %237
  %239 = load i32, ptr %15, align 4, !tbaa !9
  %240 = mul i32 %238, %239
  %241 = load i32, ptr %19, align 4, !tbaa !9
  %242 = mul i32 %240, %241
  %243 = load ptr, ptr %9, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %243, i32 0, i32 21
  %245 = load i8, ptr %244, align 4, !tbaa !30
  %246 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %225, i32 noundef %228, i32 noundef %231, i32 noundef 127, i32 noundef 0, i32 noundef %242, i8 noundef signext %245, i32 noundef %246, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = icmp eq i32 %247, 0
  br i1 %248, label %249, label %262

249:                                              ; preds = %224
  %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 !30
  %254 = load i32, ptr %12, align 4, !tbaa !9
  %255 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %250, i32 noundef 611128946, i8 noundef signext %253, i32 noundef %254, i32 noundef %255, i32 noundef 16)
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = load ptr, ptr %9, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %257, i32 0, i32 21
  %259 = load i8, ptr %258, align 4, !tbaa !30
  %260 = load i32, ptr %12, align 4, !tbaa !9
  %261 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %256, i32 noundef 606934642, i8 noundef signext %259, i32 noundef %260, i32 noundef %261, i32 noundef 16)
  br label %269

262:                                              ; preds = %224
  %263 = load ptr, ptr %7, align 8, !tbaa !5
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %264, i32 0, i32 21
  %266 = load i8, ptr %265, align 4, !tbaa !30
  %267 = load i32, ptr %12, align 4, !tbaa !9
  %268 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %263, i32 noundef 606934642, i8 noundef signext %266, i32 noundef %267, i32 noundef %268, i32 noundef 16)
  br label %269

269:                                              ; preds = %262, %249
  %270 = load ptr, ptr %7, align 8, !tbaa !5
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %271, i32 0, i32 21
  %273 = load i8, ptr %272, align 4, !tbaa !30
  %274 = load i32, ptr %12, align 4, !tbaa !9
  %275 = load i32, ptr %12, align 4, !tbaa !9
  %276 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %270, i32 noundef 805643819, i8 noundef signext %273, i32 noundef %274, i32 noundef %275, i32 noundef %276)
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  %278 = load ptr, ptr %9, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %278, i32 0, i32 21
  %280 = load i8, ptr %279, align 4, !tbaa !30
  %281 = load i32, ptr %12, align 4, !tbaa !9
  %282 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %277, i32 noundef 546127360, i8 noundef signext %280, i32 noundef %281, i32 noundef %282, i32 noundef 200)
  %283 = load ptr, ptr %10, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %283, i32 0, i32 6
  %285 = load i32, ptr %284, align 1, !tbaa !15
  %286 = and i32 %285, 256
  %287 = icmp ugt i32 %286, 0
  br i1 %287, label %288, label %295

288:                                              ; preds = %269
  %289 = load ptr, ptr %7, align 8, !tbaa !5
  %290 = load ptr, ptr %9, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %290, i32 0, i32 21
  %292 = load i8, ptr %291, align 4, !tbaa !30
  %293 = load i32, ptr %12, align 4, !tbaa !9
  %294 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %289, i32 noundef 537208112, i8 noundef signext %292, i32 noundef %293, i32 noundef %294)
  br label %302

295:                                              ; preds = %269
  %296 = load ptr, ptr %7, align 8, !tbaa !5
  %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 !30
  %300 = load i32, ptr %12, align 4, !tbaa !9
  %301 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %296, i32 noundef 537208096, i8 noundef signext %299, i32 noundef %300, i32 noundef %301)
  br label %302

302:                                              ; preds = %295, %288
  %303 = load i32, ptr %15, align 4, !tbaa !9
  %304 = load i32, ptr %13, align 4, !tbaa !9
  %305 = sub i32 %304, 1
  %306 = icmp eq i32 %303, %305
  br i1 %306, label %307, label %330

307:                                              ; preds = %302
  %308 = load i32, ptr %18, align 4, !tbaa !9
  %309 = icmp eq i32 %308, 1
  br i1 %309, label %310, label %330

310:                                              ; preds = %307
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = load ptr, ptr %9, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %312, i32 0, i32 16
  %314 = load i32, ptr %313, align 8, !tbaa !29
  %315 = load ptr, ptr %8, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %315, i32 0, i32 1
  %317 = load i32, ptr %316, align 4, !tbaa !33
  %318 = load ptr, ptr %10, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %318, i32 0, i32 3
  %320 = load i32, ptr %319, align 1, !tbaa !34
  %321 = zext i32 %320 to i64
  %322 = load ptr, ptr %9, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %322, i32 0, i32 3
  %324 = load i32, ptr %323, align 4, !tbaa !23
  %325 = zext i32 %324 to i64
  %326 = mul nsw i64 %321, %325
  %327 = load i32, ptr %19, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = mul nsw i64 %326, %328
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %311, i32 noundef %314, i32 noundef %317, i64 noundef %329)
  br label %330

330:                                              ; preds = %310, %307, %302
  %331 = load ptr, ptr %7, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %331, i32 0, i32 6
  %333 = load i32, ptr %332, align 4, !tbaa !21
  %334 = icmp ult i32 %333, 1007
  br i1 %334, label %335, label %344

335:                                              ; preds = %330
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = load ptr, ptr %9, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %337, i32 0, i32 6
  %339 = load i32, ptr %338, align 8, !tbaa !32
  %340 = load ptr, ptr %9, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %340, i32 0, i32 21
  %342 = load i8, ptr %341, align 4, !tbaa !30
  %343 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %336, i32 noundef %339, i32 noundef 4, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext %342, i32 noundef %343, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  br label %344

344:                                              ; preds = %335, %330
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %345

345:                                              ; preds = %408, %344
  %346 = load i32, ptr %14, align 4, !tbaa !9
  %347 = load i32, ptr %12, align 4, !tbaa !9
  %348 = icmp ult i32 %346, %347
  br i1 %348, label %349, label %411

349:                                              ; preds = %345
  %350 = load ptr, ptr %7, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %350, i32 0, i32 6
  %352 = load i32, ptr %351, align 4, !tbaa !21
  %353 = icmp ult i32 %352, 1007
  br i1 %353, label %354, label %393

354:                                              ; preds = %349
  %355 = load i32, ptr %14, align 4, !tbaa !9
  %356 = icmp ugt i32 %355, 0
  br i1 %356, label %357, label %366

357:                                              ; preds = %354
  %358 = load ptr, ptr %7, align 8, !tbaa !5
  %359 = load ptr, ptr %9, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %359, i32 0, i32 6
  %361 = load i32, ptr %360, align 8, !tbaa !32
  %362 = load ptr, ptr %9, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %362, i32 0, i32 21
  %364 = load i8, ptr %363, align 4, !tbaa !30
  %365 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %358, i32 noundef %361, i32 noundef 4, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext %364, i32 noundef %365, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  br label %366

366:                                              ; preds = %357, %354
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  %368 = load ptr, ptr %9, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %368, i32 0, i32 21
  %370 = load i8, ptr %369, align 4, !tbaa !30
  %371 = load i32, ptr %12, align 4, !tbaa !9
  %372 = load i32, ptr %14, align 4, !tbaa !9
  %373 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %367, i32 noundef 805639925, i8 noundef signext %370, i32 noundef %371, i32 noundef %372, i32 noundef %373)
  %374 = load ptr, ptr %7, align 8, !tbaa !5
  %375 = load ptr, ptr %9, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %375, i32 0, i32 21
  %377 = load i8, ptr %376, align 4, !tbaa !30
  %378 = load i32, ptr %12, align 4, !tbaa !9
  %379 = load i32, ptr %16, align 4, !tbaa !9
  %380 = load i32, ptr %15, align 4, !tbaa !9
  %381 = add i32 %379, %380
  %382 = load i32, ptr %13, align 4, !tbaa !9
  %383 = load i32, ptr %14, align 4, !tbaa !9
  %384 = mul i32 %382, %383
  %385 = add i32 %381, %384
  %386 = load i32, ptr %16, align 4, !tbaa !9
  %387 = load i32, ptr %15, align 4, !tbaa !9
  %388 = add i32 %386, %387
  %389 = load i32, ptr %13, align 4, !tbaa !9
  %390 = load i32, ptr %14, align 4, !tbaa !9
  %391 = mul i32 %389, %390
  %392 = add i32 %388, %391
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %374, i32 noundef 805639934, i8 noundef signext %377, i32 noundef %378, i32 noundef %385, i32 noundef %392)
  br label %407

393:                                              ; preds = %349
  %394 = load ptr, ptr %7, align 8, !tbaa !5
  %395 = load ptr, ptr %9, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %395, i32 0, i32 21
  %397 = load i8, ptr %396, align 4, !tbaa !30
  %398 = load i32, ptr %12, align 4, !tbaa !9
  %399 = load i32, ptr %14, align 4, !tbaa !9
  %400 = load i32, ptr %16, align 4, !tbaa !9
  %401 = load i32, ptr %15, align 4, !tbaa !9
  %402 = add i32 %400, %401
  %403 = load i32, ptr %13, align 4, !tbaa !9
  %404 = load i32, ptr %14, align 4, !tbaa !9
  %405 = mul i32 %403, %404
  %406 = add i32 %402, %405
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %394, i32 noundef 805643858, i8 noundef signext %397, i32 noundef %398, i32 noundef %399, i32 noundef %406)
  br label %407

407:                                              ; preds = %393, %366
  br label %408

408:                                              ; preds = %407
  %409 = load i32, ptr %14, align 4, !tbaa !9
  %410 = add i32 %409, 1
  store i32 %410, ptr %14, align 4, !tbaa !9
  br label %345, !llvm.loop !35

411:                                              ; preds = %345
  br label %599

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

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

417:                                              ; preds = %413
  %418 = load ptr, ptr %7, align 8, !tbaa !5
  %419 = load ptr, ptr %9, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %419, i32 0, i32 0
  %421 = load i32, ptr %420, align 8, !tbaa !25
  %422 = load ptr, ptr %8, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %422, i32 0, i32 22
  %424 = load i32, ptr %423, align 4, !tbaa !19
  %425 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %418, i32 noundef %421, i32 noundef 537138704, i32 noundef %424, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext 121, i32 noundef %425, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %426 = load ptr, ptr %7, align 8, !tbaa !5
  %427 = load ptr, ptr %9, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %427, i32 0, i32 6
  %429 = load i32, ptr %428, align 8, !tbaa !32
  %430 = load ptr, ptr %8, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %430, i32 0, i32 1
  %432 = load i32, ptr %431, align 4, !tbaa !33
  %433 = load ptr, ptr %9, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %433, i32 0, i32 3
  %435 = load i32, ptr %434, align 4, !tbaa !23
  %436 = load ptr, ptr %9, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %436, i32 0, i32 2
  %438 = load i32, ptr %437, align 8, !tbaa !11
  %439 = mul i32 %435, %438
  %440 = load i32, ptr %15, align 4, !tbaa !9
  %441 = mul i32 %439, %440
  %442 = load i32, ptr %19, align 4, !tbaa !9
  %443 = mul i32 %441, %442
  %444 = load ptr, ptr %9, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %444, i32 0, i32 21
  %446 = load i8, ptr %445, align 4, !tbaa !30
  %447 = load i32, ptr %12, align 4, !tbaa !9
  %448 = load i32, ptr %15, align 4, !tbaa !9
  %449 = load i32, ptr %13, align 4, !tbaa !9
  %450 = sub i32 %449, 1
  %451 = icmp eq i32 %448, %450
  br i1 %451, label %452, label %456

452:                                              ; preds = %417
  %453 = load ptr, ptr %9, align 8, !tbaa !5
  %454 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %453, i32 0, i32 11
  %455 = load i32, ptr %454, align 4, !tbaa !18
  br label %457

456:                                              ; preds = %417
  br label %457

457:                                              ; preds = %456, %452
  %458 = phi i32 [ %455, %452 ], [ 0, %456 ]
  %459 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %426, i32 noundef %429, i32 noundef %432, i32 noundef 127, i32 noundef 0, i32 noundef %443, i8 noundef signext %446, i32 noundef %447, i32 noundef %458, i32 noundef %459, i32 noundef 0)
  %460 = load i32, ptr %18, align 4, !tbaa !9
  %461 = icmp eq i32 %460, 0
  br i1 %461, label %462, label %475

462:                                              ; preds = %457
  %463 = load ptr, ptr %7, align 8, !tbaa !5
  %464 = load ptr, ptr %9, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %464, i32 0, i32 21
  %466 = load i8, ptr %465, align 4, !tbaa !30
  %467 = load i32, ptr %12, align 4, !tbaa !9
  %468 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %463, i32 noundef 611128946, i8 noundef signext %466, i32 noundef %467, i32 noundef %468, i32 noundef 16)
  %469 = load ptr, ptr %7, align 8, !tbaa !5
  %470 = load ptr, ptr %9, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %470, i32 0, i32 21
  %472 = load i8, ptr %471, align 4, !tbaa !30
  %473 = load i32, ptr %12, align 4, !tbaa !9
  %474 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %469, i32 noundef 606934642, i8 noundef signext %472, i32 noundef %473, i32 noundef %474, i32 noundef 16)
  br label %482

475:                                              ; preds = %457
  %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 !30
  %480 = load i32, ptr %12, align 4, !tbaa !9
  %481 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %476, i32 noundef 606934642, i8 noundef signext %479, i32 noundef %480, i32 noundef %481, i32 noundef 16)
  br label %482

482:                                              ; preds = %475, %462
  %483 = load ptr, ptr %7, align 8, !tbaa !5
  %484 = load ptr, ptr %9, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %484, i32 0, i32 21
  %486 = load i8, ptr %485, align 4, !tbaa !30
  %487 = load i32, ptr %12, align 4, !tbaa !9
  %488 = load i32, ptr %12, align 4, !tbaa !9
  %489 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %483, i32 noundef 805643819, i8 noundef signext %486, i32 noundef %487, i32 noundef %488, i32 noundef %489)
  %490 = load ptr, ptr %7, align 8, !tbaa !5
  %491 = load ptr, ptr %9, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %491, i32 0, i32 21
  %493 = load i8, ptr %492, align 4, !tbaa !30
  %494 = load i32, ptr %12, align 4, !tbaa !9
  %495 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %490, i32 noundef 546127360, i8 noundef signext %493, i32 noundef %494, i32 noundef %495, i32 noundef 200)
  %496 = load ptr, ptr %10, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %496, i32 0, i32 6
  %498 = load i32, ptr %497, align 1, !tbaa !15
  %499 = and i32 %498, 256
  %500 = icmp ugt i32 %499, 0
  br i1 %500, label %501, label %508

501:                                              ; preds = %482
  %502 = load ptr, ptr %7, align 8, !tbaa !5
  %503 = load ptr, ptr %9, align 8, !tbaa !5
  %504 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %503, i32 0, i32 21
  %505 = load i8, ptr %504, align 4, !tbaa !30
  %506 = load i32, ptr %12, align 4, !tbaa !9
  %507 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %502, i32 noundef 537208112, i8 noundef signext %505, i32 noundef %506, i32 noundef %507)
  br label %515

508:                                              ; preds = %482
  %509 = load ptr, ptr %7, align 8, !tbaa !5
  %510 = load ptr, ptr %9, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %510, i32 0, i32 21
  %512 = load i8, ptr %511, align 4, !tbaa !30
  %513 = load i32, ptr %12, align 4, !tbaa !9
  %514 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %509, i32 noundef 537208096, i8 noundef signext %512, i32 noundef %513, i32 noundef %514)
  br label %515

515:                                              ; preds = %508, %501
  %516 = load i32, ptr %15, align 4, !tbaa !9
  %517 = load i32, ptr %13, align 4, !tbaa !9
  %518 = sub i32 %517, 1
  %519 = icmp eq i32 %516, %518
  br i1 %519, label %520, label %548

520:                                              ; preds = %515
  %521 = load i32, ptr %14, align 4, !tbaa !9
  %522 = load i32, ptr %12, align 4, !tbaa !9
  %523 = sub i32 %522, 1
  %524 = icmp eq i32 %521, %523
  br i1 %524, label %525, label %548

525:                                              ; preds = %520
  %526 = load i32, ptr %18, align 4, !tbaa !9
  %527 = icmp eq i32 %526, 1
  br i1 %527, label %528, label %548

528:                                              ; preds = %525
  %529 = load ptr, ptr %7, align 8, !tbaa !5
  %530 = load ptr, ptr %9, align 8, !tbaa !5
  %531 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %530, i32 0, i32 16
  %532 = load i32, ptr %531, align 8, !tbaa !29
  %533 = load ptr, ptr %8, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %533, i32 0, i32 1
  %535 = load i32, ptr %534, align 4, !tbaa !33
  %536 = load ptr, ptr %10, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %536, i32 0, i32 3
  %538 = load i32, ptr %537, align 1, !tbaa !34
  %539 = zext i32 %538 to i64
  %540 = load ptr, ptr %9, align 8, !tbaa !5
  %541 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %540, i32 0, i32 3
  %542 = load i32, ptr %541, align 4, !tbaa !23
  %543 = zext i32 %542 to i64
  %544 = mul nsw i64 %539, %543
  %545 = load i32, ptr %19, align 4, !tbaa !9
  %546 = zext i32 %545 to i64
  %547 = mul nsw i64 %544, %546
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %529, i32 noundef %532, i32 noundef %535, i64 noundef %547)
  br label %548

548:                                              ; preds = %528, %525, %520, %515
  %549 = load ptr, ptr %7, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %549, i32 0, i32 6
  %551 = load i32, ptr %550, align 4, !tbaa !21
  %552 = icmp ult i32 %551, 1007
  br i1 %552, label %553, label %580

553:                                              ; preds = %548
  %554 = load ptr, ptr %7, align 8, !tbaa !5
  %555 = load ptr, ptr %9, align 8, !tbaa !5
  %556 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %555, i32 0, i32 21
  %557 = load i8, ptr %556, align 4, !tbaa !30
  %558 = load i32, ptr %12, align 4, !tbaa !9
  %559 = load i32, ptr %14, align 4, !tbaa !9
  %560 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %554, i32 noundef 805639925, i8 noundef signext %557, i32 noundef %558, i32 noundef %559, i32 noundef %560)
  %561 = load ptr, ptr %7, align 8, !tbaa !5
  %562 = load ptr, ptr %9, align 8, !tbaa !5
  %563 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %562, i32 0, i32 21
  %564 = load i8, ptr %563, align 4, !tbaa !30
  %565 = load i32, ptr %12, align 4, !tbaa !9
  %566 = load i32, ptr %16, align 4, !tbaa !9
  %567 = load i32, ptr %15, align 4, !tbaa !9
  %568 = add i32 %566, %567
  %569 = load i32, ptr %13, align 4, !tbaa !9
  %570 = load i32, ptr %14, align 4, !tbaa !9
  %571 = mul i32 %569, %570
  %572 = add i32 %568, %571
  %573 = load i32, ptr %16, align 4, !tbaa !9
  %574 = load i32, ptr %15, align 4, !tbaa !9
  %575 = add i32 %573, %574
  %576 = load i32, ptr %13, align 4, !tbaa !9
  %577 = load i32, ptr %14, align 4, !tbaa !9
  %578 = mul i32 %576, %577
  %579 = add i32 %575, %578
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %561, i32 noundef 805639934, i8 noundef signext %564, i32 noundef %565, i32 noundef %572, i32 noundef %579)
  br label %594

580:                                              ; preds = %548
  %581 = load ptr, ptr %7, align 8, !tbaa !5
  %582 = load ptr, ptr %9, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %582, i32 0, i32 21
  %584 = load i8, ptr %583, align 4, !tbaa !30
  %585 = load i32, ptr %12, align 4, !tbaa !9
  %586 = load i32, ptr %14, align 4, !tbaa !9
  %587 = load i32, ptr %16, align 4, !tbaa !9
  %588 = load i32, ptr %15, align 4, !tbaa !9
  %589 = add i32 %587, %588
  %590 = load i32, ptr %13, align 4, !tbaa !9
  %591 = load i32, ptr %14, align 4, !tbaa !9
  %592 = mul i32 %590, %591
  %593 = add i32 %589, %592
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %581, i32 noundef 805643858, i8 noundef signext %584, i32 noundef %585, i32 noundef %586, i32 noundef %593)
  br label %594

594:                                              ; preds = %580, %553
  br label %595

595:                                              ; preds = %594
  %596 = load i32, ptr %14, align 4, !tbaa !9
  %597 = add i32 %596, 1
  store i32 %597, ptr %14, align 4, !tbaa !9
  br label %413, !llvm.loop !36

598:                                              ; preds = %413
  br label %599

599:                                              ; preds = %598, %411
  br label %600

600:                                              ; preds = %599
  %601 = load i32, ptr %15, align 4, !tbaa !9
  %602 = add i32 %601, 1
  store i32 %602, ptr %15, align 4, !tbaa !9
  br label %205, !llvm.loop !37

603:                                              ; preds = %205
  br label %604

604:                                              ; preds = %603
  %605 = load i32, ptr %18, align 4, !tbaa !9
  %606 = add i32 %605, 1
  store i32 %606, ptr %18, align 4, !tbaa !9
  br label %91, !llvm.loop !38

607:                                              ; preds = %91
  %608 = load ptr, ptr %7, align 8, !tbaa !5
  %609 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %608, i32 0, i32 6
  %610 = load i32, ptr %609, align 4, !tbaa !21
  %611 = icmp ult i32 %610, 1007
  br i1 %611, label %612, label %614

612:                                              ; preds = %607
  %613 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %613, i32 noundef 30000, i32 noundef 4, i64 noundef 32)
  br label %614

614:                                              ; preds = %612, %607
  store i32 0, ptr %20, align 4
  br label %615

615:                                              ; preds = %614, %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
  %616 = load i32, ptr %20, align 4
  switch i32 %616, label %618 [
    i32 0, label %617
    i32 1, label %617
  ]

617:                                              ; preds = %615, %615
  ret void

618:                                              ; preds = %615
  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_generator_gemm_getval_stack_var(ptr noundef, ptr noundef, i32 noundef, i32 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_3reg(ptr noundef, i32 noundef, i8 noundef signext, i32 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_vec_compute_2reg(ptr noundef, i32 noundef, i8 noundef signext, 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_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr 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 = !{!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 = !{!12, !10, i64 44}
!19 = !{!20, !10, i64 88}
!20 = !{!"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}
!21 = !{!22, !10, i64 28}
!22 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!23 = !{!12, !10, i64 12}
!24 = !{!16, !10, i64 16}
!25 = !{!12, !10, i64 0}
!26 = !{!20, !10, i64 12}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!12, !10, i64 64}
!30 = !{!12, !7, i64 84}
!31 = distinct !{!31, !28}
!32 = !{!12, !10, i64 24}
!33 = !{!20, !10, i64 4}
!34 = !{!16, !10, i64 12}
!35 = distinct !{!35, !28}
!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 [87 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_avx2_microkernel_int8_uu_ss_vnni_emu = external hidden unnamed_addr constant [60 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_avx2_microkernel_int8_uu_ss_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 = mul i32 %13, %5
  %15 = sub i32 16, %14
  %16 = add i32 %5, -4
  %or.cond = icmp ult i32 %16, -3
  br i1 %or.cond, label %17, label %22

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

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

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

30:                                               ; preds = %26, %22
  %.0 = phi i32 [ %29, %26 ], [ 1, %22 ]
  %31 = getelementptr inbounds i8, ptr %2, i64 44
  %32 = load i32, ptr %31, align 4, !tbaa !17
  %.not256 = icmp eq i32 %32, 0
  br i1 %.not256, label %36, label %33

33:                                               ; preds = %30
  %34 = getelementptr inbounds i8, ptr %1, i64 88
  %35 = load i32, ptr %34, align 4, !tbaa !18
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 22, i32 noundef %35) #2
  br label %36

36:                                               ; preds = %33, %30
  %37 = getelementptr inbounds i8, ptr %0, i64 28
  %38 = load i32, ptr %37, align 4, !tbaa !20
  %39 = icmp ult i32 %38, 1007
  br i1 %39, label %40, label %41

40:                                               ; preds = %36
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30008, i32 noundef 4, i64 noundef 32) #2
  br label %41

41:                                               ; preds = %40, %36
  %42 = getelementptr inbounds i8, ptr %2, i64 12
  %43 = getelementptr inbounds i8, ptr %3, i64 16
  %44 = getelementptr inbounds i8, ptr %1, i64 12
  %45 = getelementptr inbounds i8, ptr %2, i64 64
  %46 = getelementptr inbounds i8, ptr %2, i64 84
  %.not283 = icmp eq i32 %13, 0
  %47 = add i32 %13, -1
  %48 = getelementptr inbounds i8, ptr %2, i64 24
  %49 = getelementptr inbounds i8, ptr %1, i64 4
  %50 = getelementptr inbounds i8, ptr %3, i64 12
  %51 = zext i32 %.0 to i64
  %52 = getelementptr inbounds i8, ptr %1, i64 88
  %53 = add nsw i32 %5, -1
  %exitcond288.peel.not = icmp eq i32 %5, 1
  br label %.preheader264

.preheader264:                                    ; preds = %41, %._crit_edge278
  %54 = phi i1 [ false, %41 ], [ true, %._crit_edge278 ]
  %55 = phi i1 [ true, %41 ], [ false, %._crit_edge278 ]
  br label %56

56:                                               ; preds = %.preheader264, %68
  %.0249265 = phi i32 [ 0, %.preheader264 ], [ %72, %68 ]
  %57 = load i32, ptr %23, align 1, !tbaa !14
  %58 = and i32 %57, 2
  %.not262 = icmp eq i32 %58, 0
  br i1 %.not262, label %63, label %59

59:                                               ; preds = %56
  %60 = load i32, ptr %42, align 4, !tbaa !22
  %61 = mul i32 %.0249265, %.0
  %62 = mul i32 %61, %60
  br label %68

63:                                               ; preds = %56
  %64 = load i32, ptr %43, align 1, !tbaa !23
  %65 = mul i32 %64, %.0249265
  %66 = load i32, ptr %42, align 4, !tbaa !22
  %67 = mul i32 %65, %66
  br label %68

68:                                               ; preds = %63, %59
  %.0248 = phi i32 [ %62, %59 ], [ %67, %63 ]
  %69 = add nsw i32 %.0248, 2
  %spec.select = select i1 %54, i32 %69, i32 %.0248
  %70 = load i32, ptr %2, align 8, !tbaa !24
  %71 = load i32, ptr %44, align 4, !tbaa !25
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %70, i32 noundef 537209209, i32 noundef %71, i32 noundef 127, i32 noundef 0, i32 noundef %spec.select, i8 noundef signext 120, i32 noundef %.0249265, i32 noundef 0, i32 noundef 1, i32 noundef 0) #2
  %72 = add nuw i32 %.0249265, 1
  %exitcond.not = icmp eq i32 %72, %5
  br i1 %exitcond.not, label %._crit_edge, label %56, !llvm.loop !26

._crit_edge:                                      ; preds = %68
  br i1 %54, label %73, label %.lr.ph268.preheader

73:                                               ; preds = %._crit_edge
  %74 = load i32, ptr %23, align 1, !tbaa !14
  %75 = and i32 %74, 2
  %.not257 = icmp eq i32 %75, 0
  br i1 %.not257, label %78, label %76

76:                                               ; preds = %73
  %77 = load i32, ptr %43, align 1, !tbaa !23
  br label %78

78:                                               ; preds = %73, %76
  %.0.sink = phi i32 [ %77, %76 ], [ %.0, %73 ]
  %79 = load i32, ptr %42, align 4, !tbaa !22
  %80 = mul i32 %79, %.0.sink
  %81 = load i32, ptr %45, align 8, !tbaa !28
  %82 = load i32, ptr %44, align 4, !tbaa !25
  %83 = sext i32 %80 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %81, i32 noundef %82, i64 noundef %83) #2
  br label %.lr.ph268.preheader

.lr.ph268.preheader:                              ; preds = %._crit_edge, %78
  br label %.lr.ph268

.preheader:                                       ; preds = %.lr.ph268
  br i1 %.not283, label %._crit_edge278, label %.lr.ph277

.lr.ph268:                                        ; preds = %.lr.ph268.preheader, %.lr.ph268
  %.1250266 = phi i32 [ %87, %.lr.ph268 ], [ 0, %.lr.ph268.preheader ]
  %84 = load i32, ptr %23, align 1, !tbaa !14
  %85 = and i32 %84, 512
  %.not261 = icmp eq i32 %85, 0
  %86 = load i8, ptr %46, align 4, !tbaa !29
  %. = select i1 %.not261, i32 537208096, i32 537208112
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %0, i32 noundef %., i8 noundef signext %86, i32 noundef %.1250266, i32 noundef %.1250266) #2
  %87 = add nuw i32 %.1250266, 1
  %exitcond287.not = icmp eq i32 %87, %5
  br i1 %exitcond287.not, label %.preheader, label %.lr.ph268, !llvm.loop !30

.lr.ph277:                                        ; preds = %.preheader, %.loopexit
  %.0252275 = phi i32 [ %196, %.loopexit ], [ 0, %.preheader ]
  %88 = load i32, ptr %31, align 4, !tbaa !17
  switch i32 %88, label %.lr.ph274 [
    i32 0, label %91
    i32 1, label %89
  ]

89:                                               ; preds = %.lr.ph277
  %90 = icmp ult i32 %.0252275, %47
  br i1 %90, label %91, label %.lr.ph274

91:                                               ; preds = %.lr.ph277, %89
  %92 = load i32, ptr %48, align 8, !tbaa !31
  %93 = load i32, ptr %49, align 4, !tbaa !32
  %94 = load i32, ptr %42, align 4, !tbaa !22
  %95 = load i32, ptr %7, align 8, !tbaa !5
  %96 = mul i32 %.0252275, %.0
  %97 = mul i32 %96, %94
  %98 = mul i32 %97, %95
  %99 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef %92, i32 noundef %93, i32 noundef 127, i32 noundef 0, i32 noundef %98, i8 noundef signext %99, i32 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
  %100 = load i8, ptr %46, align 4, !tbaa !29
  br i1 %55, label %101, label %103

101:                                              ; preds = %91
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 611128946, i8 noundef signext %100, i32 noundef %5, i32 noundef %5, i32 noundef 16) #2
  %102 = load i8, ptr %46, align 4, !tbaa !29
  br label %103

103:                                              ; preds = %91, %101
  %.sink294 = phi i8 [ %102, %101 ], [ %100, %91 ]
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 606934642, i8 noundef signext %.sink294, i32 noundef %5, i32 noundef %5, i32 noundef 16) #2
  %104 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %0, i32 noundef 805643819, i8 noundef signext %104, i32 noundef %5, i32 noundef %5, i32 noundef %5) #2
  %105 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 546127360, i8 noundef signext %105, i32 noundef %5, i32 noundef %5, i32 noundef 200) #2
  %106 = load i32, ptr %23, align 1, !tbaa !14
  %107 = and i32 %106, 256
  %.not259 = icmp eq i32 %107, 0
  %.300 = select i1 %.not259, i32 537208096, i32 537208112
  %108 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %0, i32 noundef %.300, i8 noundef signext %108, i32 noundef %5, i32 noundef %5) #2
  %109 = icmp eq i32 %.0252275, %47
  %or.cond3 = and i1 %54, %109
  br i1 %or.cond3, label %110, label %119

110:                                              ; preds = %103
  %111 = load i32, ptr %45, align 8, !tbaa !28
  %112 = load i32, ptr %49, align 4, !tbaa !32
  %113 = load i32, ptr %50, align 1, !tbaa !33
  %114 = zext i32 %113 to i64
  %115 = load i32, ptr %42, align 4, !tbaa !22
  %116 = zext i32 %115 to i64
  %117 = mul nuw i64 %114, %51
  %118 = mul i64 %117, %116
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %111, i32 noundef %112, i64 noundef %118) #2
  br label %119

119:                                              ; preds = %110, %103
  %120 = load i32, ptr %37, align 4, !tbaa !20
  %121 = icmp ult i32 %120, 1007
  br i1 %121, label %122, label %.lr.ph271

122:                                              ; preds = %119
  %123 = load i32, ptr %48, align 8, !tbaa !31
  %124 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef nonnull %0, i32 noundef %123, i32 noundef 4, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext %124, i32 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 1) #2
  br label %.lr.ph271

.lr.ph271:                                        ; preds = %119, %122
  %125 = add i32 %.0252275, %15
  %126 = load i32, ptr %37, align 4, !tbaa !20
  %127 = icmp ult i32 %126, 1007
  %.pre = load i8, ptr %46, align 4, !tbaa !29
  br i1 %127, label %129, label %128

128:                                              ; preds = %.lr.ph271
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805643858, i8 noundef signext %.pre, i32 noundef %5, i32 noundef 0, i32 noundef %125) #2
  br label %131

129:                                              ; preds = %.lr.ph271
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805639925, i8 noundef signext %.pre, i32 noundef %5, i32 noundef 0, i32 noundef %5) #2
  %130 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805639934, i8 noundef signext %130, i32 noundef %5, i32 noundef %125, i32 noundef %125) #2
  br label %131

131:                                              ; preds = %129, %128
  br i1 %exitcond288.peel.not, label %.loopexit, label %.peel.next

.peel.next:                                       ; preds = %131, %145
  %.2251269 = phi i32 [ %146, %145 ], [ 1, %131 ]
  %132 = load i32, ptr %37, align 4, !tbaa !20
  %133 = icmp ult i32 %132, 1007
  br i1 %133, label %134, label %141

134:                                              ; preds = %.peel.next
  %135 = load i32, ptr %48, align 8, !tbaa !31
  %136 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef nonnull %0, i32 noundef %135, i32 noundef 4, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext %136, i32 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
  %137 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805639925, i8 noundef signext %137, i32 noundef %5, i32 noundef %.2251269, i32 noundef %5) #2
  %138 = load i8, ptr %46, align 4, !tbaa !29
  %139 = mul i32 %.2251269, %13
  %140 = add i32 %125, %139
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805639934, i8 noundef signext %138, i32 noundef %5, i32 noundef %140, i32 noundef %140) #2
  br label %145

141:                                              ; preds = %.peel.next
  %142 = load i8, ptr %46, align 4, !tbaa !29
  %143 = mul i32 %.2251269, %13
  %144 = add i32 %125, %143
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805643858, i8 noundef signext %142, i32 noundef %5, i32 noundef %.2251269, i32 noundef %144) #2
  br label %145

145:                                              ; preds = %134, %141
  %146 = add nuw i32 %.2251269, 1
  %exitcond288.not = icmp eq i32 %146, %5
  br i1 %exitcond288.not, label %.loopexit, label %.peel.next, !llvm.loop !34

.lr.ph274:                                        ; preds = %89, %.lr.ph277
  %147 = mul i32 %.0252275, %.0
  %148 = icmp eq i32 %.0252275, %47
  %149 = add i32 %.0252275, %15
  br label %150

150:                                              ; preds = %.lr.ph274, %194
  %.3272 = phi i32 [ 0, %.lr.ph274 ], [ %195, %194 ]
  %151 = load i32, ptr %2, align 8, !tbaa !24
  %152 = load i32, ptr %52, align 4, !tbaa !18
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %151, i32 noundef 537138704, i32 noundef %152, i32 noundef 127, i32 noundef 0, i32 noundef 0, i8 noundef signext 121, i32 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
  %153 = load i32, ptr %48, align 8, !tbaa !31
  %154 = load i32, ptr %49, align 4, !tbaa !32
  %155 = load i32, ptr %42, align 4, !tbaa !22
  %156 = load i32, ptr %7, align 8, !tbaa !5
  %157 = mul i32 %147, %155
  %158 = mul i32 %157, %156
  %159 = load i8, ptr %46, align 4, !tbaa !29
  br i1 %148, label %160, label %162

160:                                              ; preds = %150
  %161 = load i32, ptr %31, align 4, !tbaa !17
  br label %162

162:                                              ; preds = %150, %160
  %163 = phi i32 [ %161, %160 ], [ 0, %150 ]
  tail call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef %153, i32 noundef %154, i32 noundef 127, i32 noundef 0, i32 noundef %158, i8 noundef signext %159, i32 noundef %5, i32 noundef %163, i32 noundef %5, i32 noundef 0) #2
  %164 = load i8, ptr %46, align 4, !tbaa !29
  br i1 %55, label %165, label %167

165:                                              ; preds = %162
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 611128946, i8 noundef signext %164, i32 noundef %5, i32 noundef %5, i32 noundef 16) #2
  %166 = load i8, ptr %46, align 4, !tbaa !29
  br label %167

167:                                              ; preds = %162, %165
  %.sink297 = phi i8 [ %166, %165 ], [ %164, %162 ]
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 606934642, i8 noundef signext %.sink297, i32 noundef %5, i32 noundef %5, i32 noundef 16) #2
  %168 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %0, i32 noundef 805643819, i8 noundef signext %168, i32 noundef %5, i32 noundef %5, i32 noundef %5) #2
  %169 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_2reg_imm8(ptr noundef %0, i32 noundef 546127360, i8 noundef signext %169, i32 noundef %5, i32 noundef %5, i32 noundef 200) #2
  %170 = load i32, ptr %23, align 1, !tbaa !14
  %171 = and i32 %170, 256
  %.not258 = icmp eq i32 %171, 0
  %.301 = select i1 %.not258, i32 537208096, i32 537208112
  %172 = load i8, ptr %46, align 4, !tbaa !29
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %0, i32 noundef %.301, i8 noundef signext %172, i32 noundef %5, i32 noundef %5) #2
  %173 = icmp eq i32 %.3272, %53
  %or.cond5 = and i1 %54, %173
  %or.cond280 = select i1 %148, i1 %or.cond5, i1 false
  br i1 %or.cond280, label %174, label %183

174:                                              ; preds = %167
  %175 = load i32, ptr %45, align 8, !tbaa !28
  %176 = load i32, ptr %49, align 4, !tbaa !32
  %177 = load i32, ptr %50, align 1, !tbaa !33
  %178 = zext i32 %177 to i64
  %179 = load i32, ptr %42, align 4, !tbaa !22
  %180 = zext i32 %179 to i64
  %181 = mul nuw i64 %178, %51
  %182 = mul i64 %181, %180
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %175, i32 noundef %176, i64 noundef %182) #2
  br label %183

183:                                              ; preds = %174, %167
  %184 = load i32, ptr %37, align 4, !tbaa !20
  %185 = icmp ult i32 %184, 1007
  %186 = load i8, ptr %46, align 4, !tbaa !29
  br i1 %185, label %187, label %191

187:                                              ; preds = %183
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805639925, i8 noundef signext %186, i32 noundef %5, i32 noundef %.3272, i32 noundef %5) #2
  %188 = load i8, ptr %46, align 4, !tbaa !29
  %189 = mul i32 %.3272, %13
  %190 = add i32 %149, %189
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805639934, i8 noundef signext %188, i32 noundef %5, i32 noundef %190, i32 noundef %190) #2
  br label %194

191:                                              ; preds = %183
  %192 = mul i32 %.3272, %13
  %193 = add i32 %149, %192
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805643858, i8 noundef signext %186, i32 noundef %5, i32 noundef %.3272, i32 noundef %193) #2
  br label %194

194:                                              ; preds = %187, %191
  %195 = add nuw i32 %.3272, 1
  %exitcond290.not = icmp eq i32 %195, %5
  br i1 %exitcond290.not, label %.loopexit, label %150, !llvm.loop !36

.loopexit:                                        ; preds = %145, %194, %131
  %196 = add nuw i32 %.0252275, 1
  %exitcond291.not = icmp eq i32 %196, %13
  br i1 %exitcond291.not, label %._crit_edge278, label %.lr.ph277, !llvm.loop !37

._crit_edge278:                                   ; preds = %.loopexit, %.preheader
  br i1 %55, label %.preheader264, label %197, !llvm.loop !38

197:                                              ; preds = %._crit_edge278
  %198 = load i32, ptr %37, align 4, !tbaa !20
  %199 = icmp ult i32 %198, 1007
  br i1 %199, label %200, label %201

200:                                              ; preds = %197
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30000, i32 noundef 4, i64 noundef 32) #2
  br label %201

201:                                              ; preds = %197, %200, %17
  ret void
}

declare i32 @libxsmm_cpuid_dot_pack_factor(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_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_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_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_2reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, 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_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr 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 = !{!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 = !{!6, !7, i64 44}
!18 = !{!19, !7, i64 88}
!19 = !{!"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}
!20 = !{!21, !7, i64 28}
!21 = !{!"libxsmm_generated_code", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!22 = !{!6, !7, i64 12}
!23 = !{!15, !7, i64 16}
!24 = !{!6, !7, i64 0}
!25 = !{!19, !7, i64 12}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!6, !7, i64 64}
!29 = !{!6, !8, i64 84}
!30 = distinct !{!30, !27}
!31 = !{!6, !7, i64 24}
!32 = !{!19, !7, i64 4}
!33 = !{!15, !7, i64 12}
!34 = distinct !{!34, !27, !35}
!35 = !{!"llvm.loop.peeled.count", i32 1}
!36 = distinct !{!36, !27}
!37 = distinct !{!37, !27}
!38 = distinct !{!38, !27}


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