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

; 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_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_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_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 }

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

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

declare void @libxsmm_x86_instruction_alu_mem(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_push_reg(ptr noundef, i32 noundef) #0

declare void @libxsmm_generator_gemm_setval_stack_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_pop_reg(ptr noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef, i32 noundef, ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @libxsmm_x86_is_Ai4_Bi8_gemm(ptr noundef) #0

declare i32 @libxsmm_x86_is_Amxfp4_Bbf16_gemm(ptr noundef) #0

declare i32 @libxsmm_x86_is_Abf8_Bbf16_gemm(ptr noundef) #0

declare i32 @libxsmm_x86_is_Abf8_Bf16_gemm(ptr noundef) #0

declare i32 @libxsmm_x86_is_Ahf8_Bbf16_gemm(ptr noundef) #0

declare i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_footer_mloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %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
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %25 = load ptr, ptr %13, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %25, i32 0, i32 6
  %27 = load i32, ptr %26, align 1, !tbaa !11
  %28 = and i32 %27, 2048
  %29 = icmp ugt i32 %28, 0
  %30 = zext i1 %29 to i64
  %31 = select i1 %29, i32 1, i32 2
  store i32 %31, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  %33 = call i32 @libxsmm_x86_is_Ai4_Bi8_gemm(ptr noundef %32)
  store i32 %33, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  %34 = load ptr, ptr %13, align 8, !tbaa !5
  %35 = call i32 @libxsmm_x86_is_Amxfp4_Bbf16_gemm(ptr noundef %34)
  store i32 %35, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %36 = load ptr, ptr %13, align 8, !tbaa !5
  %37 = call i32 @libxsmm_x86_is_Abf8_Bbf16_gemm(ptr noundef %36)
  store i32 %37, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = call i32 @libxsmm_x86_is_Abf8_Bf16_gemm(ptr noundef %38)
  store i32 %39, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %40 = load ptr, ptr %13, align 8, !tbaa !5
  %41 = call i32 @libxsmm_x86_is_Ahf8_Bbf16_gemm(ptr noundef %40)
  store i32 %41, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %42 = load i32, ptr %20, align 4, !tbaa !9
  %43 = icmp ugt i32 %42, 0
  br i1 %43, label %55, label %44

44:                                               ; preds = %8
  %45 = load i32, ptr %21, align 4, !tbaa !9
  %46 = icmp ugt i32 %45, 0
  br i1 %46, label %55, label %47

47:                                               ; preds = %44
  %48 = load i32, ptr %22, align 4, !tbaa !9
  %49 = icmp ugt i32 %48, 0
  br i1 %49, label %55, label %50

50:                                               ; preds = %47
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %51, i32 0, i32 124
  %53 = load i32, ptr %52, align 8, !tbaa !15
  %54 = icmp ugt i32 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %50, %47, %44, %8
  br label %61

56:                                               ; preds = %50
  %57 = load i32, ptr %19, align 4, !tbaa !9
  %58 = icmp ugt i32 %57, 0
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, i32 1, i32 4
  br label %61

61:                                               ; preds = %56, %55
  %62 = phi i32 [ 2, %55 ], [ %60, %56 ]
  store i32 %62, ptr %23, align 4, !tbaa !9
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %63, i32 0, i32 8
  %65 = getelementptr inbounds [3 x i8], ptr %64, i64 0, i64 0
  %66 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %65)
  %67 = icmp eq i32 2, %66
  br i1 %67, label %74, label %68

68:                                               ; preds = %61
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %69, i32 0, i32 8
  %71 = getelementptr inbounds [3 x i8], ptr %70, i64 0, i64 0
  %72 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %71)
  %73 = icmp eq i32 3, %72
  br i1 %73, label %74, label %103

74:                                               ; preds = %68, %61
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %75, i32 0, i32 35
  %77 = load i32, ptr %76, align 4, !tbaa !18
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %90

79:                                               ; preds = %74
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %81, i32 0, i32 16
  %83 = load i32, ptr %82, align 8, !tbaa !19
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %84, i32 0, i32 5
  %86 = load i32, ptr %85, align 4, !tbaa !20
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = mul nsw i64 %88, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %80, i32 noundef %83, i32 noundef %86, i64 noundef %89)
  br label %102

90:                                               ; preds = %74
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %92, i32 0, i32 16
  %94 = load i32, ptr %93, align 8, !tbaa !19
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %95, i32 0, i32 5
  %97 = load i32, ptr %96, align 4, !tbaa !20
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = mul nsw i64 %99, 2
  %101 = mul nsw i64 %100, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %91, i32 noundef %94, i32 noundef %97, i64 noundef %101)
  br label %102

102:                                              ; preds = %90, %79
  br label %152

103:                                              ; preds = %68
  %104 = load ptr, ptr %13, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %104, i32 0, i32 8
  %106 = getelementptr inbounds [3 x i8], ptr %105, i64 0, i64 0
  %107 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %106)
  %108 = icmp eq i32 12, %107
  br i1 %108, label %121, label %109

109:                                              ; preds = %103
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %110, i32 0, i32 8
  %112 = getelementptr inbounds [3 x i8], ptr %111, i64 0, i64 0
  %113 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %112)
  %114 = icmp eq i32 5, %113
  br i1 %114, label %121, label %115

115:                                              ; preds = %109
  %116 = load ptr, ptr %13, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %116, i32 0, i32 8
  %118 = getelementptr inbounds [3 x i8], ptr %117, i64 0, i64 0
  %119 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %118)
  %120 = icmp eq i32 4, %119
  br i1 %120, label %121, label %140

121:                                              ; preds = %115, %109, %103
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %122, i32 0, i32 35
  %124 = load i32, ptr %123, align 4, !tbaa !18
  %125 = icmp ugt i32 %124, 0
  %126 = zext i1 %125 to i64
  %127 = select i1 %125, i32 4, i32 1
  store i32 %127, ptr %24, align 4, !tbaa !9
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %129, i32 0, i32 16
  %131 = load i32, ptr %130, align 8, !tbaa !19
  %132 = load ptr, ptr %11, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %132, i32 0, i32 5
  %134 = load i32, ptr %133, align 4, !tbaa !20
  %135 = load i32, ptr %14, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = load i32, ptr %24, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = mul nsw i64 %136, %138
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %128, i32 noundef %131, i32 noundef %134, i64 noundef %139)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  br label %151

140:                                              ; preds = %115
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = load ptr, ptr %12, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %142, i32 0, i32 16
  %144 = load i32, ptr %143, align 8, !tbaa !19
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %145, i32 0, i32 5
  %147 = load i32, ptr %146, align 4, !tbaa !20
  %148 = load i32, ptr %14, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = mul nsw i64 %149, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %141, i32 noundef %144, i32 noundef %147, i64 noundef %150)
  br label %151

151:                                              ; preds = %140, %121
  br label %152

152:                                              ; preds = %151, %102
  %153 = load i32, ptr %18, align 4, !tbaa !9
  %154 = icmp ugt i32 %153, 0
  br i1 %154, label %155, label %194

155:                                              ; preds = %152
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %157, align 1, !tbaa !11
  %159 = and i32 %158, 1048576
  %160 = icmp ugt i32 %159, 0
  br i1 %160, label %161, label %194

161:                                              ; preds = %155
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = load ptr, ptr %11, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %163, i32 0, i32 22
  %165 = load i32, ptr %164, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %162, i32 noundef %165)
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = load ptr, ptr %12, align 8, !tbaa !5
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %168, i32 0, i32 22
  %170 = load i32, ptr %169, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %166, ptr noundef %167, i32 noundef 31, i32 noundef %170)
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %172, i32 0, i32 16
  %174 = load i32, ptr %173, align 8, !tbaa !19
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %175, i32 0, i32 22
  %177 = load i32, ptr %176, align 4, !tbaa !22
  %178 = load i32, ptr %14, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = load ptr, ptr %12, 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 !23
  %183 = zext i32 %182 to i64
  %184 = mul nsw i64 %179, %183
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %171, i32 noundef %174, i32 noundef %177, i64 noundef %184)
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load ptr, ptr %11, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %187, i32 0, i32 22
  %189 = load i32, ptr %188, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %185, ptr noundef %186, i32 noundef 31, i32 noundef %189)
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %191, i32 0, i32 22
  %193 = load i32, ptr %192, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %190, i32 noundef %193)
  br label %194

194:                                              ; preds = %161, %155, %152
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %195, i32 0, i32 30
  %197 = load i32, ptr %196, align 8, !tbaa !24
  %198 = icmp eq i32 %197, 1
  br i1 %198, label %239, label %199

199:                                              ; preds = %194
  %200 = load ptr, ptr %12, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %200, i32 0, i32 38
  %202 = load i32, ptr %201, align 8, !tbaa !25
  %203 = icmp eq i32 %202, 1
  br i1 %203, label %239, label %204

204:                                              ; preds = %199
  %205 = load ptr, ptr %12, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %205, i32 0, i32 32
  %207 = load i32, ptr %206, align 8, !tbaa !26
  %208 = icmp eq i32 %207, 1
  br i1 %208, label %239, label %209

209:                                              ; preds = %204
  %210 = load ptr, ptr %12, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %210, i32 0, i32 27
  %212 = load i32, ptr %211, align 4, !tbaa !27
  %213 = icmp eq i32 %212, 1
  br i1 %213, label %239, label %214

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

219:                                              ; preds = %214
  %220 = load ptr, ptr %12, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %220, i32 0, i32 25
  %222 = load i32, ptr %221, align 4, !tbaa !29
  %223 = icmp eq i32 %222, 1
  br i1 %223, label %239, label %224

224:                                              ; preds = %219
  %225 = load ptr, ptr %12, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %225, i32 0, i32 26
  %227 = load i32, ptr %226, align 8, !tbaa !30
  %228 = icmp eq i32 %227, 1
  br i1 %228, label %239, label %229

229:                                              ; preds = %224
  %230 = load ptr, ptr %12, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %230, i32 0, i32 29
  %232 = load i32, ptr %231, align 4, !tbaa !31
  %233 = icmp eq i32 %232, 1
  br i1 %233, label %239, label %234

234:                                              ; preds = %229
  %235 = load ptr, ptr %12, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %235, i32 0, i32 34
  %237 = load i32, ptr %236, align 8, !tbaa !32
  %238 = icmp eq i32 %237, 0
  br i1 %238, label %239, label %244

239:                                              ; preds = %234, %229, %224, %219, %214, %209, %204, %199, %194
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  %241 = load ptr, ptr %11, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %241, i32 0, i32 22
  %243 = load i32, ptr %242, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %240, i32 noundef %243)
  br label %244

244:                                              ; preds = %239, %234
  %245 = load ptr, ptr %12, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %245, i32 0, i32 30
  %247 = load i32, ptr %246, align 8, !tbaa !24
  %248 = icmp eq i32 %247, 1
  br i1 %248, label %249, label %276

249:                                              ; preds = %244
  %250 = load ptr, ptr %12, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %250, i32 0, i32 34
  %252 = load i32, ptr %251, align 8, !tbaa !32
  %253 = icmp eq i32 %252, 1
  br i1 %253, label %254, label %276

254:                                              ; preds = %249
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = load ptr, ptr %12, align 8, !tbaa !5
  %257 = load ptr, ptr %11, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %257, i32 0, i32 22
  %259 = load i32, ptr %258, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %255, ptr noundef %256, i32 noundef 8, i32 noundef %259)
  %260 = load ptr, ptr %9, align 8, !tbaa !5
  %261 = load ptr, ptr %12, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %261, i32 0, i32 16
  %263 = load i32, ptr %262, align 8, !tbaa !19
  %264 = load ptr, ptr %11, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %264, i32 0, i32 22
  %266 = load i32, ptr %265, align 4, !tbaa !22
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = zext i32 %267 to i64
  %269 = add nsw i64 %268, 7
  %270 = sdiv i64 %269, 8
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %260, i32 noundef %263, i32 noundef %266, i64 noundef %270)
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = load ptr, ptr %12, align 8, !tbaa !5
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %273, i32 0, i32 22
  %275 = load i32, ptr %274, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %271, ptr noundef %272, i32 noundef 8, i32 noundef %275)
  br label %276

276:                                              ; preds = %254, %249, %244
  %277 = load ptr, ptr %12, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %277, i32 0, i32 38
  %279 = load i32, ptr %278, align 8, !tbaa !25
  %280 = icmp eq i32 %279, 1
  br i1 %280, label %281, label %303

281:                                              ; preds = %276
  %282 = load ptr, ptr %9, align 8, !tbaa !5
  %283 = load ptr, ptr %12, align 8, !tbaa !5
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %284, i32 0, i32 22
  %286 = load i32, ptr %285, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %282, ptr noundef %283, i32 noundef 8, i32 noundef %286)
  %287 = load ptr, ptr %9, align 8, !tbaa !5
  %288 = load ptr, ptr %12, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %288, i32 0, i32 16
  %290 = load i32, ptr %289, align 8, !tbaa !19
  %291 = load ptr, ptr %11, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %291, i32 0, i32 22
  %293 = load i32, ptr %292, align 4, !tbaa !22
  %294 = load i32, ptr %14, align 4, !tbaa !9
  %295 = zext i32 %294 to i64
  %296 = mul nsw i64 %295, 2
  %297 = mul nsw i64 %296, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %287, i32 noundef %290, i32 noundef %293, i64 noundef %297)
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = load ptr, ptr %12, align 8, !tbaa !5
  %300 = load ptr, ptr %11, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %300, i32 0, i32 22
  %302 = load i32, ptr %301, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %298, ptr noundef %299, i32 noundef 8, i32 noundef %302)
  br label %303

303:                                              ; preds = %281, %276
  %304 = load ptr, ptr %12, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %304, i32 0, i32 32
  %306 = load i32, ptr %305, align 8, !tbaa !26
  %307 = icmp eq i32 %306, 1
  br i1 %307, label %308, label %330

308:                                              ; preds = %303
  %309 = load ptr, ptr %9, align 8, !tbaa !5
  %310 = load ptr, ptr %12, align 8, !tbaa !5
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %311, i32 0, i32 22
  %313 = load i32, ptr %312, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %309, ptr noundef %310, i32 noundef 19, i32 noundef %313)
  %314 = load ptr, ptr %9, align 8, !tbaa !5
  %315 = load ptr, ptr %12, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %315, i32 0, i32 16
  %317 = load i32, ptr %316, align 8, !tbaa !19
  %318 = load ptr, ptr %11, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %318, i32 0, i32 22
  %320 = load i32, ptr %319, align 4, !tbaa !22
  %321 = load i32, ptr %14, align 4, !tbaa !9
  %322 = zext i32 %321 to i64
  %323 = add nsw i64 %322, 7
  %324 = sdiv i64 %323, 8
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %314, i32 noundef %317, i32 noundef %320, i64 noundef %324)
  %325 = load ptr, ptr %9, align 8, !tbaa !5
  %326 = load ptr, ptr %12, align 8, !tbaa !5
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %327, i32 0, i32 22
  %329 = load i32, ptr %328, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %325, ptr noundef %326, i32 noundef 19, i32 noundef %329)
  br label %330

330:                                              ; preds = %308, %303
  %331 = load ptr, ptr %12, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %331, i32 0, i32 34
  %333 = load i32, ptr %332, align 8, !tbaa !32
  %334 = icmp eq i32 %333, 0
  br i1 %334, label %335, label %356

335:                                              ; preds = %330
  %336 = load ptr, ptr %9, align 8, !tbaa !5
  %337 = load ptr, ptr %12, align 8, !tbaa !5
  %338 = load ptr, ptr %11, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %338, i32 0, i32 22
  %340 = load i32, ptr %339, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %336, ptr noundef %337, i32 noundef 8, i32 noundef %340)
  %341 = load ptr, ptr %9, align 8, !tbaa !5
  %342 = load ptr, ptr %12, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %342, i32 0, i32 16
  %344 = load i32, ptr %343, align 8, !tbaa !19
  %345 = load ptr, ptr %11, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %345, i32 0, i32 22
  %347 = load i32, ptr %346, align 4, !tbaa !22
  %348 = load i32, ptr %14, align 4, !tbaa !9
  %349 = zext i32 %348 to i64
  %350 = mul nsw i64 %349, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %341, i32 noundef %344, i32 noundef %347, i64 noundef %350)
  %351 = load ptr, ptr %9, align 8, !tbaa !5
  %352 = load ptr, ptr %12, align 8, !tbaa !5
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %353, i32 0, i32 22
  %355 = load i32, ptr %354, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %351, ptr noundef %352, i32 noundef 8, i32 noundef %355)
  br label %356

356:                                              ; preds = %335, %330
  %357 = load ptr, ptr %12, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %357, i32 0, i32 27
  %359 = load i32, ptr %358, align 4, !tbaa !27
  %360 = icmp eq i32 %359, 1
  br i1 %360, label %366, label %361

361:                                              ; preds = %356
  %362 = load ptr, ptr %12, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %362, i32 0, i32 28
  %364 = load i32, ptr %363, align 8, !tbaa !28
  %365 = icmp eq i32 %364, 1
  br i1 %365, label %366, label %387

366:                                              ; preds = %361, %356
  %367 = load ptr, ptr %9, align 8, !tbaa !5
  %368 = load ptr, ptr %12, align 8, !tbaa !5
  %369 = load ptr, ptr %11, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %369, i32 0, i32 22
  %371 = load i32, ptr %370, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %367, ptr noundef %368, i32 noundef 7, i32 noundef %371)
  %372 = load ptr, ptr %9, align 8, !tbaa !5
  %373 = load ptr, ptr %12, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %373, i32 0, i32 16
  %375 = load i32, ptr %374, align 8, !tbaa !19
  %376 = load ptr, ptr %11, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %376, i32 0, i32 22
  %378 = load i32, ptr %377, align 4, !tbaa !22
  %379 = load i32, ptr %14, align 4, !tbaa !9
  %380 = zext i32 %379 to i64
  %381 = mul nsw i64 %380, 1
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %372, i32 noundef %375, i32 noundef %378, i64 noundef %381)
  %382 = load ptr, ptr %9, align 8, !tbaa !5
  %383 = load ptr, ptr %12, align 8, !tbaa !5
  %384 = load ptr, ptr %11, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %384, i32 0, i32 22
  %386 = load i32, ptr %385, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %382, ptr noundef %383, i32 noundef 7, i32 noundef %386)
  br label %387

387:                                              ; preds = %366, %361
  %388 = load ptr, ptr %12, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %388, i32 0, i32 25
  %390 = load i32, ptr %389, align 4, !tbaa !29
  %391 = icmp eq i32 %390, 1
  br i1 %391, label %397, label %392

392:                                              ; preds = %387
  %393 = load ptr, ptr %12, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %393, i32 0, i32 26
  %395 = load i32, ptr %394, align 8, !tbaa !30
  %396 = icmp eq i32 %395, 1
  br i1 %396, label %397, label %418

397:                                              ; preds = %392, %387
  %398 = load ptr, ptr %9, align 8, !tbaa !5
  %399 = load ptr, ptr %12, align 8, !tbaa !5
  %400 = load ptr, ptr %11, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %400, i32 0, i32 22
  %402 = load i32, ptr %401, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %398, ptr noundef %399, i32 noundef 7, i32 noundef %402)
  %403 = load ptr, ptr %9, align 8, !tbaa !5
  %404 = load ptr, ptr %12, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %404, i32 0, i32 16
  %406 = load i32, ptr %405, align 8, !tbaa !19
  %407 = load ptr, ptr %11, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %407, i32 0, i32 22
  %409 = load i32, ptr %408, align 4, !tbaa !22
  %410 = load i32, ptr %14, align 4, !tbaa !9
  %411 = zext i32 %410 to i64
  %412 = mul nsw i64 %411, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %403, i32 noundef %406, i32 noundef %409, i64 noundef %412)
  %413 = load ptr, ptr %9, align 8, !tbaa !5
  %414 = load ptr, ptr %12, align 8, !tbaa !5
  %415 = load ptr, ptr %11, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %415, i32 0, i32 22
  %417 = load i32, ptr %416, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %413, ptr noundef %414, i32 noundef 7, i32 noundef %417)
  br label %418

418:                                              ; preds = %397, %392
  %419 = load ptr, ptr %12, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %419, i32 0, i32 29
  %421 = load i32, ptr %420, align 4, !tbaa !31
  %422 = icmp eq i32 %421, 1
  br i1 %422, label %423, label %444

423:                                              ; preds = %418
  %424 = load ptr, ptr %9, align 8, !tbaa !5
  %425 = load ptr, ptr %12, align 8, !tbaa !5
  %426 = load ptr, ptr %11, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %426, i32 0, i32 22
  %428 = load i32, ptr %427, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %424, ptr noundef %425, i32 noundef 7, i32 noundef %428)
  %429 = load ptr, ptr %9, align 8, !tbaa !5
  %430 = load ptr, ptr %12, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %430, i32 0, i32 16
  %432 = load i32, ptr %431, align 8, !tbaa !19
  %433 = load ptr, ptr %11, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %433, i32 0, i32 22
  %435 = load i32, ptr %434, align 4, !tbaa !22
  %436 = load i32, ptr %14, align 4, !tbaa !9
  %437 = zext i32 %436 to i64
  %438 = mul nsw i64 %437, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %429, i32 noundef %432, i32 noundef %435, i64 noundef %438)
  %439 = load ptr, ptr %9, align 8, !tbaa !5
  %440 = load ptr, ptr %12, align 8, !tbaa !5
  %441 = load ptr, ptr %11, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %441, i32 0, i32 22
  %443 = load i32, ptr %442, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %439, ptr noundef %440, i32 noundef 7, i32 noundef %443)
  br label %444

444:                                              ; preds = %423, %418
  %445 = load ptr, ptr %12, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %445, i32 0, i32 30
  %447 = load i32, ptr %446, align 8, !tbaa !24
  %448 = icmp eq i32 %447, 1
  br i1 %448, label %489, label %449

449:                                              ; preds = %444
  %450 = load ptr, ptr %12, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %450, i32 0, i32 38
  %452 = load i32, ptr %451, align 8, !tbaa !25
  %453 = icmp eq i32 %452, 1
  br i1 %453, label %489, label %454

454:                                              ; preds = %449
  %455 = load ptr, ptr %12, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %455, i32 0, i32 32
  %457 = load i32, ptr %456, align 8, !tbaa !26
  %458 = icmp eq i32 %457, 1
  br i1 %458, label %489, label %459

459:                                              ; preds = %454
  %460 = load ptr, ptr %12, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %460, i32 0, i32 27
  %462 = load i32, ptr %461, align 4, !tbaa !27
  %463 = icmp eq i32 %462, 1
  br i1 %463, label %489, label %464

464:                                              ; preds = %459
  %465 = load ptr, ptr %12, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %465, i32 0, i32 28
  %467 = load i32, ptr %466, align 8, !tbaa !28
  %468 = icmp eq i32 %467, 1
  br i1 %468, label %489, label %469

469:                                              ; preds = %464
  %470 = load ptr, ptr %12, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %470, i32 0, i32 25
  %472 = load i32, ptr %471, align 4, !tbaa !29
  %473 = icmp eq i32 %472, 1
  br i1 %473, label %489, label %474

474:                                              ; preds = %469
  %475 = load ptr, ptr %12, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %475, i32 0, i32 26
  %477 = load i32, ptr %476, align 8, !tbaa !30
  %478 = icmp eq i32 %477, 1
  br i1 %478, label %489, label %479

479:                                              ; preds = %474
  %480 = load ptr, ptr %12, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %480, i32 0, i32 29
  %482 = load i32, ptr %481, align 4, !tbaa !31
  %483 = icmp eq i32 %482, 1
  br i1 %483, label %489, label %484

484:                                              ; preds = %479
  %485 = load ptr, ptr %12, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %485, i32 0, i32 34
  %487 = load i32, ptr %486, align 8, !tbaa !32
  %488 = icmp eq i32 %487, 0
  br i1 %488, label %489, label %494

489:                                              ; preds = %484, %479, %474, %469, %464, %459, %454, %449, %444
  %490 = load ptr, ptr %9, align 8, !tbaa !5
  %491 = load ptr, ptr %11, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %491, i32 0, i32 22
  %493 = load i32, ptr %492, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %490, i32 noundef %493)
  br label %494

494:                                              ; preds = %489, %484
  %495 = load i32, ptr %16, align 4, !tbaa !9
  %496 = icmp eq i32 %495, 0
  br i1 %496, label %497, label %647

497:                                              ; preds = %494
  %498 = load ptr, ptr %13, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %498, i32 0, i32 6
  %500 = load i32, ptr %499, align 1, !tbaa !11
  %501 = and i32 %500, 65536
  %502 = icmp ne i32 %501, 0
  br i1 %502, label %503, label %585

503:                                              ; preds = %497
  %504 = load ptr, ptr %9, align 8, !tbaa !5
  %505 = load ptr, ptr %11, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %505, i32 0, i32 22
  %507 = load i32, ptr %506, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %504, i32 noundef %507)
  %508 = load ptr, ptr %9, align 8, !tbaa !5
  %509 = load ptr, ptr %11, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %509, i32 0, i32 14
  %511 = load i32, ptr %510, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %508, i32 noundef %511)
  %512 = load ptr, ptr %9, align 8, !tbaa !5
  %513 = load ptr, ptr %10, align 8, !tbaa !5
  %514 = load ptr, ptr %11, align 8, !tbaa !5
  %515 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %512, ptr noundef %513, ptr noundef %514, ptr noundef %515)
  %516 = load ptr, ptr %9, align 8, !tbaa !5
  %517 = load ptr, ptr %12, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %517, i32 0, i32 20
  %519 = load i32, ptr %518, align 8, !tbaa !34
  %520 = load ptr, ptr %11, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %520, i32 0, i32 1
  %522 = load i32, ptr %521, align 4, !tbaa !35
  %523 = load ptr, ptr %11, align 8, !tbaa !5
  %524 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %523, i32 0, i32 14
  %525 = load i32, ptr %524, align 4, !tbaa !33
  %526 = load ptr, ptr %11, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %526, i32 0, i32 22
  %528 = load i32, ptr %527, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %516, i32 noundef %519, i32 noundef %522, i32 noundef %525, i32 noundef 8, i32 noundef 0, i32 noundef %528, i32 noundef 0)
  %529 = load ptr, ptr %9, align 8, !tbaa !5
  %530 = load ptr, ptr %12, align 8, !tbaa !5
  %531 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %530, i32 0, i32 17
  %532 = load i32, ptr %531, align 4, !tbaa !36
  %533 = load ptr, ptr %11, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %533, i32 0, i32 22
  %535 = load i32, ptr %534, align 4, !tbaa !22
  %536 = load ptr, ptr %13, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %536, i32 0, i32 2
  %538 = load i32, ptr %537, align 1, !tbaa !37
  %539 = zext i32 %538 to i64
  %540 = load ptr, ptr %12, 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 ptr, ptr %13, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %545, i32 0, i32 3
  %547 = load i32, ptr %546, align 1, !tbaa !38
  %548 = zext i32 %547 to i64
  %549 = mul nsw i64 %544, %548
  %550 = load i32, ptr %14, align 4, !tbaa !9
  %551 = zext i32 %550 to i64
  %552 = load i32, ptr %23, align 4, !tbaa !9
  %553 = zext i32 %552 to i64
  %554 = mul nsw i64 %551, %553
  %555 = load i32, ptr %17, align 4, !tbaa !9
  %556 = sext i32 %555 to i64
  %557 = sdiv i64 %554, %556
  %558 = sub nsw i64 %549, %557
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %529, i32 noundef %532, i32 noundef %535, i64 noundef %558)
  %559 = load ptr, ptr %9, align 8, !tbaa !5
  %560 = load ptr, ptr %12, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %560, i32 0, i32 20
  %562 = load i32, ptr %561, align 8, !tbaa !34
  %563 = load ptr, ptr %11, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %563, i32 0, i32 1
  %565 = load i32, ptr %564, align 4, !tbaa !35
  %566 = load ptr, ptr %11, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %566, i32 0, i32 14
  %568 = load i32, ptr %567, align 4, !tbaa !33
  %569 = load ptr, ptr %11, align 8, !tbaa !5
  %570 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %569, i32 0, i32 22
  %571 = load i32, ptr %570, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %559, i32 noundef %562, i32 noundef %565, i32 noundef %568, i32 noundef 8, i32 noundef 0, i32 noundef %571, i32 noundef 1)
  %572 = load ptr, ptr %9, align 8, !tbaa !5
  %573 = load ptr, ptr %10, align 8, !tbaa !5
  %574 = load ptr, ptr %11, align 8, !tbaa !5
  %575 = load ptr, ptr %12, align 8, !tbaa !5
  %576 = load ptr, ptr %13, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %572, ptr noundef %573, ptr noundef %574, ptr noundef %575, ptr noundef %576)
  %577 = load ptr, ptr %9, align 8, !tbaa !5
  %578 = load ptr, ptr %11, align 8, !tbaa !5
  %579 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %578, i32 0, i32 14
  %580 = load i32, ptr %579, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %577, i32 noundef %580)
  %581 = load ptr, ptr %9, align 8, !tbaa !5
  %582 = load ptr, ptr %11, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %582, i32 0, i32 22
  %584 = load i32, ptr %583, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %581, i32 noundef %584)
  br label %646

585:                                              ; preds = %497
  %586 = load ptr, ptr %13, align 8, !tbaa !5
  %587 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %586, i32 0, i32 6
  %588 = load i32, ptr %587, align 1, !tbaa !11
  %589 = and i32 %588, 131072
  %590 = icmp ne i32 %589, 0
  br i1 %590, label %597, label %591

591:                                              ; preds = %585
  %592 = load ptr, ptr %13, align 8, !tbaa !5
  %593 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %592, i32 0, i32 6
  %594 = load i32, ptr %593, align 1, !tbaa !11
  %595 = and i32 %594, 262144
  %596 = icmp ne i32 %595, 0
  br i1 %596, label %597, label %614

597:                                              ; preds = %591, %585
  %598 = load ptr, ptr %9, align 8, !tbaa !5
  %599 = load ptr, ptr %12, align 8, !tbaa !5
  %600 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %599, i32 0, i32 17
  %601 = load i32, ptr %600, align 4, !tbaa !36
  %602 = load ptr, ptr %11, align 8, !tbaa !5
  %603 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %602, i32 0, i32 2
  %604 = load i32, ptr %603, align 4, !tbaa !39
  %605 = load i32, ptr %14, align 4, !tbaa !9
  %606 = zext i32 %605 to i64
  %607 = load i32, ptr %23, align 4, !tbaa !9
  %608 = zext i32 %607 to i64
  %609 = mul nsw i64 %606, %608
  %610 = load i32, ptr %17, align 4, !tbaa !9
  %611 = sext i32 %610 to i64
  %612 = sdiv i64 %609, %611
  %613 = sub nsw i64 0, %612
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %598, i32 noundef %601, i32 noundef %604, i64 noundef %613)
  br label %645

614:                                              ; preds = %591
  %615 = load ptr, ptr %9, align 8, !tbaa !5
  %616 = load ptr, ptr %12, align 8, !tbaa !5
  %617 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %616, i32 0, i32 17
  %618 = load i32, ptr %617, align 4, !tbaa !36
  %619 = load ptr, ptr %11, align 8, !tbaa !5
  %620 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %619, i32 0, i32 1
  %621 = load i32, ptr %620, align 4, !tbaa !35
  %622 = load ptr, ptr %13, align 8, !tbaa !5
  %623 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %622, i32 0, i32 2
  %624 = load i32, ptr %623, align 1, !tbaa !37
  %625 = zext i32 %624 to i64
  %626 = load ptr, ptr %12, align 8, !tbaa !5
  %627 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %626, i32 0, i32 3
  %628 = load i32, ptr %627, align 4, !tbaa !23
  %629 = zext i32 %628 to i64
  %630 = mul nsw i64 %625, %629
  %631 = load ptr, ptr %13, align 8, !tbaa !5
  %632 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %631, i32 0, i32 3
  %633 = load i32, ptr %632, align 1, !tbaa !38
  %634 = zext i32 %633 to i64
  %635 = mul nsw i64 %630, %634
  %636 = load i32, ptr %14, align 4, !tbaa !9
  %637 = zext i32 %636 to i64
  %638 = load i32, ptr %23, align 4, !tbaa !9
  %639 = zext i32 %638 to i64
  %640 = mul nsw i64 %637, %639
  %641 = load i32, ptr %17, align 4, !tbaa !9
  %642 = sext i32 %641 to i64
  %643 = sdiv i64 %640, %642
  %644 = sub nsw i64 %635, %643
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %615, i32 noundef %618, i32 noundef %621, i64 noundef %644)
  br label %645

645:                                              ; preds = %614, %597
  br label %646

646:                                              ; preds = %645, %503
  br label %1218

647:                                              ; preds = %494
  %648 = load ptr, ptr %13, align 8, !tbaa !5
  %649 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %648, i32 0, i32 6
  %650 = load i32, ptr %649, align 1, !tbaa !11
  %651 = and i32 %650, 65536
  %652 = icmp ne i32 %651, 0
  br i1 %652, label %653, label %903

653:                                              ; preds = %647
  %654 = load ptr, ptr %9, align 8, !tbaa !5
  %655 = load ptr, ptr %11, align 8, !tbaa !5
  %656 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %655, i32 0, i32 22
  %657 = load i32, ptr %656, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %654, i32 noundef %657)
  %658 = load ptr, ptr %9, align 8, !tbaa !5
  %659 = load ptr, ptr %11, align 8, !tbaa !5
  %660 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %659, i32 0, i32 14
  %661 = load i32, ptr %660, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %658, i32 noundef %661)
  %662 = load ptr, ptr %9, align 8, !tbaa !5
  %663 = load ptr, ptr %10, align 8, !tbaa !5
  %664 = load ptr, ptr %11, align 8, !tbaa !5
  %665 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %662, ptr noundef %663, ptr noundef %664, ptr noundef %665)
  %666 = load ptr, ptr %9, align 8, !tbaa !5
  %667 = load ptr, ptr %12, align 8, !tbaa !5
  %668 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %667, i32 0, i32 20
  %669 = load i32, ptr %668, align 8, !tbaa !34
  %670 = load ptr, ptr %11, align 8, !tbaa !5
  %671 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %670, i32 0, i32 15
  %672 = load i32, ptr %671, align 4, !tbaa !40
  %673 = load ptr, ptr %11, align 8, !tbaa !5
  %674 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %673, i32 0, i32 14
  %675 = load i32, ptr %674, align 4, !tbaa !33
  %676 = load ptr, ptr %11, align 8, !tbaa !5
  %677 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %676, i32 0, i32 1
  %678 = load i32, ptr %677, align 4, !tbaa !35
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %666, i32 noundef %669, i32 noundef %672, i32 noundef %675, i32 noundef 8, i32 noundef 0, i32 noundef %678, i32 noundef 0)
  %679 = load ptr, ptr %13, align 8, !tbaa !5
  %680 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %679, i32 0, i32 6
  %681 = load i32, ptr %680, align 1, !tbaa !11
  %682 = and i32 %681, 1
  %683 = icmp ugt i32 %682, 0
  br i1 %683, label %684, label %702

684:                                              ; preds = %653
  %685 = load ptr, ptr %9, align 8, !tbaa !5
  %686 = load ptr, ptr %12, align 8, !tbaa !5
  %687 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %686, i32 0, i32 16
  %688 = load i32, ptr %687, align 8, !tbaa !19
  %689 = load ptr, ptr %11, align 8, !tbaa !5
  %690 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %689, i32 0, i32 1
  %691 = load i32, ptr %690, align 4, !tbaa !35
  %692 = load i32, ptr %14, align 4, !tbaa !9
  %693 = load ptr, ptr %13, align 8, !tbaa !5
  %694 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %693, i32 0, i32 3
  %695 = load i32, ptr %694, align 1, !tbaa !38
  %696 = mul i32 %692, %695
  %697 = load i32, ptr %23, align 4, !tbaa !9
  %698 = load i32, ptr %17, align 4, !tbaa !9
  %699 = udiv i32 %697, %698
  %700 = mul i32 %696, %699
  %701 = zext i32 %700 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %685, i32 noundef %688, i32 noundef %691, i64 noundef %701)
  br label %716

702:                                              ; preds = %653
  %703 = load ptr, ptr %9, align 8, !tbaa !5
  %704 = load ptr, ptr %12, align 8, !tbaa !5
  %705 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %704, i32 0, i32 16
  %706 = load i32, ptr %705, align 8, !tbaa !19
  %707 = load ptr, ptr %11, align 8, !tbaa !5
  %708 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %707, i32 0, i32 1
  %709 = load i32, ptr %708, align 4, !tbaa !35
  %710 = load i32, ptr %14, align 4, !tbaa !9
  %711 = load i32, ptr %23, align 4, !tbaa !9
  %712 = load i32, ptr %17, align 4, !tbaa !9
  %713 = udiv i32 %711, %712
  %714 = mul i32 %710, %713
  %715 = zext i32 %714 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %703, i32 noundef %706, i32 noundef %709, i64 noundef %715)
  br label %716

716:                                              ; preds = %702, %684
  %717 = load ptr, ptr %9, align 8, !tbaa !5
  %718 = load ptr, ptr %12, align 8, !tbaa !5
  %719 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %718, i32 0, i32 20
  %720 = load i32, ptr %719, align 8, !tbaa !34
  %721 = load ptr, ptr %11, align 8, !tbaa !5
  %722 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %721, i32 0, i32 15
  %723 = load i32, ptr %722, align 4, !tbaa !40
  %724 = load ptr, ptr %11, align 8, !tbaa !5
  %725 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %724, i32 0, i32 14
  %726 = load i32, ptr %725, align 4, !tbaa !33
  %727 = load ptr, ptr %11, align 8, !tbaa !5
  %728 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %727, i32 0, i32 1
  %729 = load i32, ptr %728, align 4, !tbaa !35
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %717, i32 noundef %720, i32 noundef %723, i32 noundef %726, i32 noundef 8, i32 noundef 0, i32 noundef %729, i32 noundef 1)
  %730 = load ptr, ptr %9, align 8, !tbaa !5
  %731 = load ptr, ptr %10, align 8, !tbaa !5
  %732 = load ptr, ptr %11, align 8, !tbaa !5
  %733 = load ptr, ptr %12, align 8, !tbaa !5
  %734 = load ptr, ptr %13, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %730, ptr noundef %731, ptr noundef %732, ptr noundef %733, ptr noundef %734)
  %735 = load ptr, ptr %9, align 8, !tbaa !5
  %736 = load ptr, ptr %11, align 8, !tbaa !5
  %737 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %736, i32 0, i32 14
  %738 = load i32, ptr %737, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %735, i32 noundef %738)
  %739 = load ptr, ptr %9, align 8, !tbaa !5
  %740 = load ptr, ptr %11, align 8, !tbaa !5
  %741 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %740, i32 0, i32 22
  %742 = load i32, ptr %741, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %739, i32 noundef %742)
  %743 = load i32, ptr %19, align 4, !tbaa !9
  %744 = icmp ugt i32 %743, 0
  br i1 %744, label %745, label %819

745:                                              ; preds = %716
  %746 = load ptr, ptr %9, align 8, !tbaa !5
  %747 = load ptr, ptr %11, align 8, !tbaa !5
  %748 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %747, i32 0, i32 23
  %749 = load i32, ptr %748, align 4, !tbaa !41
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %746, i32 noundef %749)
  %750 = load ptr, ptr %9, align 8, !tbaa !5
  %751 = load ptr, ptr %11, align 8, !tbaa !5
  %752 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %751, i32 0, i32 22
  %753 = load i32, ptr %752, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %750, i32 noundef %753)
  %754 = load ptr, ptr %9, align 8, !tbaa !5
  %755 = load ptr, ptr %11, align 8, !tbaa !5
  %756 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %755, i32 0, i32 14
  %757 = load i32, ptr %756, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %754, i32 noundef %757)
  %758 = load ptr, ptr %9, align 8, !tbaa !5
  %759 = load ptr, ptr %12, align 8, !tbaa !5
  %760 = load ptr, ptr %11, align 8, !tbaa !5
  %761 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %760, i32 0, i32 23
  %762 = load i32, ptr %761, align 4, !tbaa !41
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %758, ptr noundef %759, i32 noundef 33, i32 noundef %762)
  %763 = load ptr, ptr %9, align 8, !tbaa !5
  %764 = load ptr, ptr %10, align 8, !tbaa !5
  %765 = load ptr, ptr %11, align 8, !tbaa !5
  %766 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %763, ptr noundef %764, ptr noundef %765, ptr noundef %766)
  %767 = load ptr, ptr %9, align 8, !tbaa !5
  %768 = load ptr, ptr %12, align 8, !tbaa !5
  %769 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %768, i32 0, i32 20
  %770 = load i32, ptr %769, align 8, !tbaa !34
  %771 = load ptr, ptr %11, align 8, !tbaa !5
  %772 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %771, i32 0, i32 23
  %773 = load i32, ptr %772, align 4, !tbaa !41
  %774 = load ptr, ptr %11, align 8, !tbaa !5
  %775 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %774, i32 0, i32 14
  %776 = load i32, ptr %775, align 4, !tbaa !33
  %777 = load ptr, ptr %11, align 8, !tbaa !5
  %778 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %777, i32 0, i32 22
  %779 = load i32, ptr %778, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %767, i32 noundef %770, i32 noundef %773, i32 noundef %776, i32 noundef 8, i32 noundef 0, i32 noundef %779, i32 noundef 0)
  %780 = load ptr, ptr %9, align 8, !tbaa !5
  %781 = load ptr, ptr %12, align 8, !tbaa !5
  %782 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %781, i32 0, i32 16
  %783 = load i32, ptr %782, align 8, !tbaa !19
  %784 = load ptr, ptr %11, align 8, !tbaa !5
  %785 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %784, i32 0, i32 22
  %786 = load i32, ptr %785, align 4, !tbaa !22
  %787 = load i32, ptr %14, align 4, !tbaa !9
  %788 = zext i32 %787 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %780, i32 noundef %783, i32 noundef %786, i64 noundef %788)
  %789 = load ptr, ptr %9, align 8, !tbaa !5
  %790 = load ptr, ptr %12, align 8, !tbaa !5
  %791 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %790, i32 0, i32 20
  %792 = load i32, ptr %791, align 8, !tbaa !34
  %793 = load ptr, ptr %11, align 8, !tbaa !5
  %794 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %793, i32 0, i32 23
  %795 = load i32, ptr %794, align 4, !tbaa !41
  %796 = load ptr, ptr %11, align 8, !tbaa !5
  %797 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %796, i32 0, i32 14
  %798 = load i32, ptr %797, align 4, !tbaa !33
  %799 = load ptr, ptr %11, align 8, !tbaa !5
  %800 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %799, i32 0, i32 22
  %801 = load i32, ptr %800, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %789, i32 noundef %792, i32 noundef %795, i32 noundef %798, i32 noundef 8, i32 noundef 0, i32 noundef %801, i32 noundef 1)
  %802 = load ptr, ptr %9, align 8, !tbaa !5
  %803 = load ptr, ptr %10, align 8, !tbaa !5
  %804 = load ptr, ptr %11, align 8, !tbaa !5
  %805 = load ptr, ptr %12, align 8, !tbaa !5
  %806 = load ptr, ptr %13, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %802, ptr noundef %803, ptr noundef %804, ptr noundef %805, ptr noundef %806)
  %807 = load ptr, ptr %9, align 8, !tbaa !5
  %808 = load ptr, ptr %11, align 8, !tbaa !5
  %809 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %808, i32 0, i32 14
  %810 = load i32, ptr %809, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %807, i32 noundef %810)
  %811 = load ptr, ptr %9, align 8, !tbaa !5
  %812 = load ptr, ptr %11, align 8, !tbaa !5
  %813 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %812, i32 0, i32 22
  %814 = load i32, ptr %813, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %811, i32 noundef %814)
  %815 = load ptr, ptr %9, align 8, !tbaa !5
  %816 = load ptr, ptr %11, align 8, !tbaa !5
  %817 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %816, i32 0, i32 23
  %818 = load i32, ptr %817, align 4, !tbaa !41
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %815, i32 noundef %818)
  br label %819

819:                                              ; preds = %745, %716
  %820 = load i32, ptr %18, align 4, !tbaa !9
  %821 = icmp ugt i32 %820, 0
  br i1 %821, label %822, label %902

822:                                              ; preds = %819
  %823 = load ptr, ptr %13, align 8, !tbaa !5
  %824 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %823, i32 0, i32 6
  %825 = load i32, ptr %824, align 1, !tbaa !11
  %826 = and i32 %825, 33554432
  %827 = icmp ugt i32 %826, 0
  br i1 %827, label %828, label %902

828:                                              ; preds = %822
  %829 = load ptr, ptr %9, align 8, !tbaa !5
  %830 = load ptr, ptr %11, align 8, !tbaa !5
  %831 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %830, i32 0, i32 23
  %832 = load i32, ptr %831, align 4, !tbaa !41
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %829, i32 noundef %832)
  %833 = load ptr, ptr %9, align 8, !tbaa !5
  %834 = load ptr, ptr %11, align 8, !tbaa !5
  %835 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %834, i32 0, i32 22
  %836 = load i32, ptr %835, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %833, i32 noundef %836)
  %837 = load ptr, ptr %9, align 8, !tbaa !5
  %838 = load ptr, ptr %11, align 8, !tbaa !5
  %839 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %838, i32 0, i32 14
  %840 = load i32, ptr %839, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %837, i32 noundef %840)
  %841 = load ptr, ptr %9, align 8, !tbaa !5
  %842 = load ptr, ptr %12, align 8, !tbaa !5
  %843 = load ptr, ptr %11, align 8, !tbaa !5
  %844 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %843, i32 0, i32 23
  %845 = load i32, ptr %844, align 4, !tbaa !41
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %841, ptr noundef %842, i32 noundef 31, i32 noundef %845)
  %846 = load ptr, ptr %9, align 8, !tbaa !5
  %847 = load ptr, ptr %10, align 8, !tbaa !5
  %848 = load ptr, ptr %11, align 8, !tbaa !5
  %849 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %846, ptr noundef %847, ptr noundef %848, ptr noundef %849)
  %850 = load ptr, ptr %9, align 8, !tbaa !5
  %851 = load ptr, ptr %12, align 8, !tbaa !5
  %852 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %851, i32 0, i32 20
  %853 = load i32, ptr %852, align 8, !tbaa !34
  %854 = load ptr, ptr %11, align 8, !tbaa !5
  %855 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %854, i32 0, i32 23
  %856 = load i32, ptr %855, align 4, !tbaa !41
  %857 = load ptr, ptr %11, align 8, !tbaa !5
  %858 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %857, i32 0, i32 14
  %859 = load i32, ptr %858, align 4, !tbaa !33
  %860 = load ptr, ptr %11, align 8, !tbaa !5
  %861 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %860, i32 0, i32 22
  %862 = load i32, ptr %861, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %850, i32 noundef %853, i32 noundef %856, i32 noundef %859, i32 noundef 8, i32 noundef 0, i32 noundef %862, i32 noundef 0)
  %863 = load ptr, ptr %9, align 8, !tbaa !5
  %864 = load ptr, ptr %12, align 8, !tbaa !5
  %865 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %864, i32 0, i32 16
  %866 = load i32, ptr %865, align 8, !tbaa !19
  %867 = load ptr, ptr %11, align 8, !tbaa !5
  %868 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %867, i32 0, i32 22
  %869 = load i32, ptr %868, align 4, !tbaa !22
  %870 = load i32, ptr %14, align 4, !tbaa !9
  %871 = zext i32 %870 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %863, i32 noundef %866, i32 noundef %869, i64 noundef %871)
  %872 = load ptr, ptr %9, align 8, !tbaa !5
  %873 = load ptr, ptr %12, align 8, !tbaa !5
  %874 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %873, i32 0, i32 20
  %875 = load i32, ptr %874, align 8, !tbaa !34
  %876 = load ptr, ptr %11, align 8, !tbaa !5
  %877 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %876, i32 0, i32 23
  %878 = load i32, ptr %877, align 4, !tbaa !41
  %879 = load ptr, ptr %11, align 8, !tbaa !5
  %880 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %879, i32 0, i32 14
  %881 = load i32, ptr %880, align 4, !tbaa !33
  %882 = load ptr, ptr %11, align 8, !tbaa !5
  %883 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %882, i32 0, i32 22
  %884 = load i32, ptr %883, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %872, i32 noundef %875, i32 noundef %878, i32 noundef %881, i32 noundef 8, i32 noundef 0, i32 noundef %884, i32 noundef 1)
  %885 = load ptr, ptr %9, align 8, !tbaa !5
  %886 = load ptr, ptr %10, align 8, !tbaa !5
  %887 = load ptr, ptr %11, align 8, !tbaa !5
  %888 = load ptr, ptr %12, align 8, !tbaa !5
  %889 = load ptr, ptr %13, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %885, ptr noundef %886, ptr noundef %887, ptr noundef %888, ptr noundef %889)
  %890 = load ptr, ptr %9, align 8, !tbaa !5
  %891 = load ptr, ptr %11, align 8, !tbaa !5
  %892 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %891, i32 0, i32 14
  %893 = load i32, ptr %892, align 4, !tbaa !33
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %890, i32 noundef %893)
  %894 = load ptr, ptr %9, align 8, !tbaa !5
  %895 = load ptr, ptr %11, align 8, !tbaa !5
  %896 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %895, i32 0, i32 22
  %897 = load i32, ptr %896, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %894, i32 noundef %897)
  %898 = load ptr, ptr %9, align 8, !tbaa !5
  %899 = load ptr, ptr %11, align 8, !tbaa !5
  %900 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %899, i32 0, i32 23
  %901 = load i32, ptr %900, align 4, !tbaa !41
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %898, i32 noundef %901)
  br label %902

902:                                              ; preds = %828, %822, %819
  br label %1217

903:                                              ; preds = %647
  %904 = load ptr, ptr %13, align 8, !tbaa !5
  %905 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %904, i32 0, i32 6
  %906 = load i32, ptr %905, align 1, !tbaa !11
  %907 = and i32 %906, 131072
  %908 = icmp ne i32 %907, 0
  br i1 %908, label %915, label %909

909:                                              ; preds = %903
  %910 = load ptr, ptr %13, align 8, !tbaa !5
  %911 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %910, i32 0, i32 6
  %912 = load i32, ptr %911, align 1, !tbaa !11
  %913 = and i32 %912, 262144
  %914 = icmp ne i32 %913, 0
  br i1 %914, label %915, label %1084

915:                                              ; preds = %909, %903
  %916 = load ptr, ptr %13, align 8, !tbaa !5
  %917 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %916, i32 0, i32 6
  %918 = load i32, ptr %917, align 1, !tbaa !11
  %919 = and i32 %918, 1
  %920 = icmp ugt i32 %919, 0
  br i1 %920, label %921, label %939

921:                                              ; preds = %915
  %922 = load ptr, ptr %9, align 8, !tbaa !5
  %923 = load ptr, ptr %12, align 8, !tbaa !5
  %924 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %923, i32 0, i32 16
  %925 = load i32, ptr %924, align 8, !tbaa !19
  %926 = load ptr, ptr %11, align 8, !tbaa !5
  %927 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %926, i32 0, i32 2
  %928 = load i32, ptr %927, align 4, !tbaa !39
  %929 = load i32, ptr %14, align 4, !tbaa !9
  %930 = load ptr, ptr %13, align 8, !tbaa !5
  %931 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %930, i32 0, i32 3
  %932 = load i32, ptr %931, align 1, !tbaa !38
  %933 = mul i32 %929, %932
  %934 = load i32, ptr %23, align 4, !tbaa !9
  %935 = load i32, ptr %17, align 4, !tbaa !9
  %936 = udiv i32 %934, %935
  %937 = mul i32 %933, %936
  %938 = zext i32 %937 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %922, i32 noundef %925, i32 noundef %928, i64 noundef %938)
  br label %1083

939:                                              ; preds = %915
  %940 = load ptr, ptr %9, align 8, !tbaa !5
  %941 = load ptr, ptr %12, align 8, !tbaa !5
  %942 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %941, i32 0, i32 16
  %943 = load i32, ptr %942, align 8, !tbaa !19
  %944 = load ptr, ptr %11, align 8, !tbaa !5
  %945 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %944, i32 0, i32 2
  %946 = load i32, ptr %945, align 4, !tbaa !39
  %947 = load i32, ptr %14, align 4, !tbaa !9
  %948 = zext i32 %947 to i64
  %949 = load i32, ptr %23, align 4, !tbaa !9
  %950 = zext i32 %949 to i64
  %951 = mul nsw i64 %948, %950
  %952 = load i32, ptr %17, align 4, !tbaa !9
  %953 = sext i32 %952 to i64
  %954 = sdiv i64 %951, %953
  %955 = load ptr, ptr %12, align 8, !tbaa !5
  %956 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %955, i32 0, i32 36
  %957 = load i32, ptr %956, align 8, !tbaa !42
  %958 = zext i32 %957 to i64
  %959 = sdiv i64 %954, %958
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %940, i32 noundef %943, i32 noundef %946, i64 noundef %959)
  %960 = load i32, ptr %19, align 4, !tbaa !9
  %961 = icmp ugt i32 %960, 0
  br i1 %961, label %962, label %990

962:                                              ; preds = %939
  %963 = load ptr, ptr %9, align 8, !tbaa !5
  %964 = load ptr, ptr %11, align 8, !tbaa !5
  %965 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %964, i32 0, i32 22
  %966 = load i32, ptr %965, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %963, i32 noundef %966)
  %967 = load ptr, ptr %9, align 8, !tbaa !5
  %968 = load ptr, ptr %12, align 8, !tbaa !5
  %969 = load ptr, ptr %11, align 8, !tbaa !5
  %970 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %969, i32 0, i32 22
  %971 = load i32, ptr %970, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %967, ptr noundef %968, i32 noundef 33, i32 noundef %971)
  %972 = load ptr, ptr %9, align 8, !tbaa !5
  %973 = load ptr, ptr %12, align 8, !tbaa !5
  %974 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %973, i32 0, i32 16
  %975 = load i32, ptr %974, align 8, !tbaa !19
  %976 = load ptr, ptr %11, align 8, !tbaa !5
  %977 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %976, i32 0, i32 22
  %978 = load i32, ptr %977, align 4, !tbaa !22
  %979 = load i32, ptr %14, align 4, !tbaa !9
  %980 = zext i32 %979 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %972, i32 noundef %975, i32 noundef %978, i64 noundef %980)
  %981 = load ptr, ptr %9, align 8, !tbaa !5
  %982 = load ptr, ptr %12, align 8, !tbaa !5
  %983 = load ptr, ptr %11, align 8, !tbaa !5
  %984 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %983, i32 0, i32 22
  %985 = load i32, ptr %984, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %981, ptr noundef %982, i32 noundef 33, i32 noundef %985)
  %986 = load ptr, ptr %9, align 8, !tbaa !5
  %987 = load ptr, ptr %11, align 8, !tbaa !5
  %988 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %987, i32 0, i32 22
  %989 = load i32, ptr %988, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %986, i32 noundef %989)
  br label %990

990:                                              ; preds = %962, %939
  %991 = load i32, ptr %18, align 4, !tbaa !9
  %992 = icmp ugt i32 %991, 0
  br i1 %992, label %993, label %1027

993:                                              ; preds = %990
  %994 = load ptr, ptr %13, align 8, !tbaa !5
  %995 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %994, i32 0, i32 6
  %996 = load i32, ptr %995, align 1, !tbaa !11
  %997 = and i32 %996, 33554432
  %998 = icmp ugt i32 %997, 0
  br i1 %998, label %999, label %1027

999:                                              ; preds = %993
  %1000 = load ptr, ptr %9, align 8, !tbaa !5
  %1001 = load ptr, ptr %11, align 8, !tbaa !5
  %1002 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1001, i32 0, i32 22
  %1003 = load i32, ptr %1002, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %1000, i32 noundef %1003)
  %1004 = load ptr, ptr %9, align 8, !tbaa !5
  %1005 = load ptr, ptr %12, align 8, !tbaa !5
  %1006 = load ptr, ptr %11, align 8, !tbaa !5
  %1007 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1006, i32 0, i32 22
  %1008 = load i32, ptr %1007, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %1004, ptr noundef %1005, i32 noundef 31, i32 noundef %1008)
  %1009 = load ptr, ptr %9, align 8, !tbaa !5
  %1010 = load ptr, ptr %12, align 8, !tbaa !5
  %1011 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1010, i32 0, i32 16
  %1012 = load i32, ptr %1011, align 8, !tbaa !19
  %1013 = load ptr, ptr %11, align 8, !tbaa !5
  %1014 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1013, i32 0, i32 22
  %1015 = load i32, ptr %1014, align 4, !tbaa !22
  %1016 = load i32, ptr %14, align 4, !tbaa !9
  %1017 = zext i32 %1016 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1009, i32 noundef %1012, i32 noundef %1015, i64 noundef %1017)
  %1018 = load ptr, ptr %9, align 8, !tbaa !5
  %1019 = load ptr, ptr %12, align 8, !tbaa !5
  %1020 = load ptr, ptr %11, align 8, !tbaa !5
  %1021 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1020, i32 0, i32 22
  %1022 = load i32, ptr %1021, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %1018, ptr noundef %1019, i32 noundef 31, i32 noundef %1022)
  %1023 = load ptr, ptr %9, align 8, !tbaa !5
  %1024 = load ptr, ptr %11, align 8, !tbaa !5
  %1025 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1024, i32 0, i32 22
  %1026 = load i32, ptr %1025, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %1023, i32 noundef %1026)
  br label %1027

1027:                                             ; preds = %999, %993, %990
  %1028 = load ptr, ptr %12, align 8, !tbaa !5
  %1029 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1028, i32 0, i32 37
  %1030 = load i32, ptr %1029, align 4, !tbaa !43
  %1031 = icmp eq i32 %1030, 1
  br i1 %1031, label %1032, label %1082

1032:                                             ; preds = %1027
  %1033 = load ptr, ptr %9, align 8, !tbaa !5
  %1034 = load ptr, ptr %11, align 8, !tbaa !5
  %1035 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1034, i32 0, i32 22
  %1036 = load i32, ptr %1035, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %1033, i32 noundef %1036)
  %1037 = load ptr, ptr %9, align 8, !tbaa !5
  %1038 = load ptr, ptr %12, align 8, !tbaa !5
  %1039 = load ptr, ptr %11, align 8, !tbaa !5
  %1040 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1039, i32 0, i32 22
  %1041 = load i32, ptr %1040, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %1037, ptr noundef %1038, i32 noundef 15, i32 noundef %1041)
  %1042 = load ptr, ptr %9, align 8, !tbaa !5
  %1043 = load ptr, ptr %12, align 8, !tbaa !5
  %1044 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1043, i32 0, i32 16
  %1045 = load i32, ptr %1044, align 8, !tbaa !19
  %1046 = load ptr, ptr %11, align 8, !tbaa !5
  %1047 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1046, i32 0, i32 22
  %1048 = load i32, ptr %1047, align 4, !tbaa !22
  %1049 = load i32, ptr %14, align 4, !tbaa !9
  %1050 = zext i32 %1049 to i64
  %1051 = mul nsw i64 %1050, 4
  %1052 = sdiv i64 %1051, 16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1042, i32 noundef %1045, i32 noundef %1048, i64 noundef %1052)
  %1053 = load ptr, ptr %9, align 8, !tbaa !5
  %1054 = load ptr, ptr %12, align 8, !tbaa !5
  %1055 = load ptr, ptr %11, align 8, !tbaa !5
  %1056 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1055, i32 0, i32 22
  %1057 = load i32, ptr %1056, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %1053, ptr noundef %1054, i32 noundef 15, i32 noundef %1057)
  %1058 = load ptr, ptr %9, align 8, !tbaa !5
  %1059 = load ptr, ptr %12, align 8, !tbaa !5
  %1060 = load ptr, ptr %11, align 8, !tbaa !5
  %1061 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1060, i32 0, i32 22
  %1062 = load i32, ptr %1061, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %1058, ptr noundef %1059, i32 noundef 16, i32 noundef %1062)
  %1063 = load ptr, ptr %9, align 8, !tbaa !5
  %1064 = load ptr, ptr %12, align 8, !tbaa !5
  %1065 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1064, i32 0, i32 16
  %1066 = load i32, ptr %1065, align 8, !tbaa !19
  %1067 = load ptr, ptr %11, align 8, !tbaa !5
  %1068 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1067, i32 0, i32 22
  %1069 = load i32, ptr %1068, align 4, !tbaa !22
  %1070 = load i32, ptr %14, align 4, !tbaa !9
  %1071 = zext i32 %1070 to i64
  %1072 = mul nsw i64 %1071, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1063, i32 noundef %1066, i32 noundef %1069, i64 noundef %1072)
  %1073 = load ptr, ptr %9, align 8, !tbaa !5
  %1074 = load ptr, ptr %12, align 8, !tbaa !5
  %1075 = load ptr, ptr %11, align 8, !tbaa !5
  %1076 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1075, i32 0, i32 22
  %1077 = load i32, ptr %1076, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %1073, ptr noundef %1074, i32 noundef 16, i32 noundef %1077)
  %1078 = load ptr, ptr %9, align 8, !tbaa !5
  %1079 = load ptr, ptr %11, align 8, !tbaa !5
  %1080 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1079, i32 0, i32 22
  %1081 = load i32, ptr %1080, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %1078, i32 noundef %1081)
  br label %1082

1082:                                             ; preds = %1032, %1027
  br label %1083

1083:                                             ; preds = %1082, %921
  br label %1216

1084:                                             ; preds = %909
  %1085 = load ptr, ptr %13, align 8, !tbaa !5
  %1086 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %1085, i32 0, i32 6
  %1087 = load i32, ptr %1086, align 1, !tbaa !11
  %1088 = and i32 %1087, 1
  %1089 = icmp ugt i32 %1088, 0
  br i1 %1089, label %1090, label %1108

1090:                                             ; preds = %1084
  %1091 = load ptr, ptr %9, align 8, !tbaa !5
  %1092 = load ptr, ptr %12, align 8, !tbaa !5
  %1093 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1092, i32 0, i32 16
  %1094 = load i32, ptr %1093, align 8, !tbaa !19
  %1095 = load ptr, ptr %11, align 8, !tbaa !5
  %1096 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1095, i32 0, i32 1
  %1097 = load i32, ptr %1096, align 4, !tbaa !35
  %1098 = load ptr, ptr %13, align 8, !tbaa !5
  %1099 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %1098, i32 0, i32 3
  %1100 = load i32, ptr %1099, align 1, !tbaa !38
  %1101 = load i32, ptr %14, align 4, !tbaa !9
  %1102 = mul i32 %1100, %1101
  %1103 = load i32, ptr %23, align 4, !tbaa !9
  %1104 = load i32, ptr %17, align 4, !tbaa !9
  %1105 = udiv i32 %1103, %1104
  %1106 = mul i32 %1102, %1105
  %1107 = zext i32 %1106 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1091, i32 noundef %1094, i32 noundef %1097, i64 noundef %1107)
  br label %1215

1108:                                             ; preds = %1084
  %1109 = load ptr, ptr %9, align 8, !tbaa !5
  %1110 = load ptr, ptr %12, align 8, !tbaa !5
  %1111 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1110, i32 0, i32 16
  %1112 = load i32, ptr %1111, align 8, !tbaa !19
  %1113 = load ptr, ptr %11, align 8, !tbaa !5
  %1114 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1113, i32 0, i32 1
  %1115 = load i32, ptr %1114, align 4, !tbaa !35
  %1116 = load i32, ptr %14, align 4, !tbaa !9
  %1117 = zext i32 %1116 to i64
  %1118 = load i32, ptr %23, align 4, !tbaa !9
  %1119 = zext i32 %1118 to i64
  %1120 = mul nsw i64 %1117, %1119
  %1121 = load i32, ptr %17, align 4, !tbaa !9
  %1122 = sext i32 %1121 to i64
  %1123 = sdiv i64 %1120, %1122
  %1124 = load ptr, ptr %12, align 8, !tbaa !5
  %1125 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1124, i32 0, i32 36
  %1126 = load i32, ptr %1125, align 8, !tbaa !42
  %1127 = zext i32 %1126 to i64
  %1128 = sdiv i64 %1123, %1127
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1109, i32 noundef %1112, i32 noundef %1115, i64 noundef %1128)
  %1129 = load i32, ptr %19, align 4, !tbaa !9
  %1130 = icmp ugt i32 %1129, 0
  br i1 %1130, label %1131, label %1159

1131:                                             ; preds = %1108
  %1132 = load ptr, ptr %9, align 8, !tbaa !5
  %1133 = load ptr, ptr %11, align 8, !tbaa !5
  %1134 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1133, i32 0, i32 22
  %1135 = load i32, ptr %1134, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %1132, i32 noundef %1135)
  %1136 = load ptr, ptr %9, align 8, !tbaa !5
  %1137 = load ptr, ptr %12, align 8, !tbaa !5
  %1138 = load ptr, ptr %11, align 8, !tbaa !5
  %1139 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1138, i32 0, i32 22
  %1140 = load i32, ptr %1139, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %1136, ptr noundef %1137, i32 noundef 33, i32 noundef %1140)
  %1141 = load ptr, ptr %9, align 8, !tbaa !5
  %1142 = load ptr, ptr %12, align 8, !tbaa !5
  %1143 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1142, i32 0, i32 16
  %1144 = load i32, ptr %1143, align 8, !tbaa !19
  %1145 = load ptr, ptr %11, align 8, !tbaa !5
  %1146 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1145, i32 0, i32 22
  %1147 = load i32, ptr %1146, align 4, !tbaa !22
  %1148 = load i32, ptr %14, align 4, !tbaa !9
  %1149 = zext i32 %1148 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1141, i32 noundef %1144, i32 noundef %1147, i64 noundef %1149)
  %1150 = load ptr, ptr %9, align 8, !tbaa !5
  %1151 = load ptr, ptr %12, align 8, !tbaa !5
  %1152 = load ptr, ptr %11, align 8, !tbaa !5
  %1153 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1152, i32 0, i32 22
  %1154 = load i32, ptr %1153, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %1150, ptr noundef %1151, i32 noundef 33, i32 noundef %1154)
  %1155 = load ptr, ptr %9, align 8, !tbaa !5
  %1156 = load ptr, ptr %11, align 8, !tbaa !5
  %1157 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1156, i32 0, i32 22
  %1158 = load i32, ptr %1157, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %1155, i32 noundef %1158)
  br label %1159

1159:                                             ; preds = %1131, %1108
  %1160 = load ptr, ptr %12, align 8, !tbaa !5
  %1161 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1160, i32 0, i32 37
  %1162 = load i32, ptr %1161, align 4, !tbaa !43
  %1163 = icmp eq i32 %1162, 1
  br i1 %1163, label %1164, label %1214

1164:                                             ; preds = %1159
  %1165 = load ptr, ptr %9, align 8, !tbaa !5
  %1166 = load ptr, ptr %11, align 8, !tbaa !5
  %1167 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1166, i32 0, i32 22
  %1168 = load i32, ptr %1167, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %1165, i32 noundef %1168)
  %1169 = load ptr, ptr %9, align 8, !tbaa !5
  %1170 = load ptr, ptr %12, align 8, !tbaa !5
  %1171 = load ptr, ptr %11, align 8, !tbaa !5
  %1172 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1171, i32 0, i32 22
  %1173 = load i32, ptr %1172, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %1169, ptr noundef %1170, i32 noundef 15, i32 noundef %1173)
  %1174 = load ptr, ptr %9, align 8, !tbaa !5
  %1175 = load ptr, ptr %12, align 8, !tbaa !5
  %1176 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1175, i32 0, i32 16
  %1177 = load i32, ptr %1176, align 8, !tbaa !19
  %1178 = load ptr, ptr %11, align 8, !tbaa !5
  %1179 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1178, i32 0, i32 22
  %1180 = load i32, ptr %1179, align 4, !tbaa !22
  %1181 = load i32, ptr %14, align 4, !tbaa !9
  %1182 = zext i32 %1181 to i64
  %1183 = mul nsw i64 %1182, 4
  %1184 = sdiv i64 %1183, 16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1174, i32 noundef %1177, i32 noundef %1180, i64 noundef %1184)
  %1185 = load ptr, ptr %9, align 8, !tbaa !5
  %1186 = load ptr, ptr %12, align 8, !tbaa !5
  %1187 = load ptr, ptr %11, align 8, !tbaa !5
  %1188 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1187, i32 0, i32 22
  %1189 = load i32, ptr %1188, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %1185, ptr noundef %1186, i32 noundef 15, i32 noundef %1189)
  %1190 = load ptr, ptr %9, align 8, !tbaa !5
  %1191 = load ptr, ptr %12, align 8, !tbaa !5
  %1192 = load ptr, ptr %11, align 8, !tbaa !5
  %1193 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1192, i32 0, i32 22
  %1194 = load i32, ptr %1193, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %1190, ptr noundef %1191, i32 noundef 16, i32 noundef %1194)
  %1195 = load ptr, ptr %9, align 8, !tbaa !5
  %1196 = load ptr, ptr %12, align 8, !tbaa !5
  %1197 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1196, i32 0, i32 16
  %1198 = load i32, ptr %1197, align 8, !tbaa !19
  %1199 = load ptr, ptr %11, align 8, !tbaa !5
  %1200 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1199, i32 0, i32 22
  %1201 = load i32, ptr %1200, align 4, !tbaa !22
  %1202 = load i32, ptr %14, align 4, !tbaa !9
  %1203 = zext i32 %1202 to i64
  %1204 = mul nsw i64 %1203, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1195, i32 noundef %1198, i32 noundef %1201, i64 noundef %1204)
  %1205 = load ptr, ptr %9, align 8, !tbaa !5
  %1206 = load ptr, ptr %12, align 8, !tbaa !5
  %1207 = load ptr, ptr %11, align 8, !tbaa !5
  %1208 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1207, i32 0, i32 22
  %1209 = load i32, ptr %1208, align 4, !tbaa !22
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %1205, ptr noundef %1206, i32 noundef 16, i32 noundef %1209)
  %1210 = load ptr, ptr %9, align 8, !tbaa !5
  %1211 = load ptr, ptr %11, align 8, !tbaa !5
  %1212 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1211, i32 0, i32 22
  %1213 = load i32, ptr %1212, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %1210, i32 noundef %1213)
  br label %1214

1214:                                             ; preds = %1164, %1159
  br label %1215

1215:                                             ; preds = %1214, %1090
  br label %1216

1216:                                             ; preds = %1215, %1083
  br label %1217

1217:                                             ; preds = %1216, %902
  br label %1218

1218:                                             ; preds = %1217, %646
  %1219 = load ptr, ptr %9, align 8, !tbaa !5
  %1220 = load ptr, ptr %12, align 8, !tbaa !5
  %1221 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1220, i32 0, i32 18
  %1222 = load i32, ptr %1221, align 8, !tbaa !44
  %1223 = load ptr, ptr %11, align 8, !tbaa !5
  %1224 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %1223, i32 0, i32 10
  %1225 = load i32, ptr %1224, align 4, !tbaa !45
  %1226 = load i32, ptr %15, align 4, !tbaa !9
  %1227 = zext i32 %1226 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %1219, i32 noundef %1222, i32 noundef %1225, i64 noundef %1227)
  %1228 = load ptr, ptr %9, align 8, !tbaa !5
  %1229 = load ptr, ptr %12, align 8, !tbaa !5
  %1230 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %1229, i32 0, i32 19
  %1231 = load i32, ptr %1230, align 4, !tbaa !46
  %1232 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %1228, i32 noundef %1231, ptr noundef %1232)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  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
  ret void
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 24}
!12 = !{!"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, !13, i64 33, !13, 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}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!16, !10, i64 664}
!16 = !{!"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, !17, 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}
!17 = !{!"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}
!18 = !{!16, !10, i64 140}
!19 = !{!16, !10, i64 64}
!20 = !{!21, !10, i64 20}
!21 = !{!"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}
!22 = !{!21, !10, i64 88}
!23 = !{!16, !10, i64 12}
!24 = !{!16, !10, i64 120}
!25 = !{!16, !10, i64 152}
!26 = !{!16, !10, i64 128}
!27 = !{!16, !10, i64 108}
!28 = !{!16, !10, i64 112}
!29 = !{!16, !10, i64 100}
!30 = !{!16, !10, i64 104}
!31 = !{!16, !10, i64 116}
!32 = !{!16, !10, i64 136}
!33 = !{!21, !10, i64 56}
!34 = !{!16, !10, i64 80}
!35 = !{!21, !10, i64 4}
!36 = !{!16, !10, i64 68}
!37 = !{!12, !10, i64 8}
!38 = !{!12, !10, i64 12}
!39 = !{!21, !10, i64 8}
!40 = !{!21, !10, i64 60}
!41 = !{!21, !10, i64 92}
!42 = !{!16, !10, i64 144}
!43 = !{!16, !10, i64 148}
!44 = !{!16, !10, i64 72}
!45 = !{!21, !10, i64 40}
!46 = !{!16, !10, i64 76}


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

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_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #0

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @libxsmm_x86_is_Ai4_Bi8_gemm(ptr noundef) local_unnamed_addr #0

declare i32 @libxsmm_x86_is_Amxfp4_Bbf16_gemm(ptr noundef) local_unnamed_addr #0

declare i32 @libxsmm_x86_is_Abf8_Bbf16_gemm(ptr noundef) local_unnamed_addr #0

declare i32 @libxsmm_x86_is_Abf8_Bf16_gemm(ptr noundef) local_unnamed_addr #0

declare i32 @libxsmm_x86_is_Ahf8_Bbf16_gemm(ptr noundef) local_unnamed_addr #0

declare i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_footer_mloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #1 {
  %9 = getelementptr inbounds i8, ptr %4, i64 24
  %10 = load i32, ptr %9, align 1, !tbaa !5
  %11 = and i32 %10, 2048
  %.not = icmp eq i32 %11, 0
  %12 = tail call i32 @libxsmm_x86_is_Ai4_Bi8_gemm(ptr noundef %4) #2
  %13 = tail call i32 @libxsmm_x86_is_Amxfp4_Bbf16_gemm(ptr noundef %4) #2
  %14 = tail call i32 @libxsmm_x86_is_Abf8_Bbf16_gemm(ptr noundef %4) #2
  %15 = tail call i32 @libxsmm_x86_is_Abf8_Bf16_gemm(ptr noundef %4) #2
  %16 = tail call i32 @libxsmm_x86_is_Ahf8_Bbf16_gemm(ptr noundef %4) #2
  %17 = icmp ne i32 %14, 0
  %18 = icmp ne i32 %15, 0
  %or.cond = select i1 %17, i1 true, i1 %18
  %19 = icmp ne i32 %16, 0
  %or.cond3 = select i1 %or.cond, i1 true, i1 %19
  br i1 %or.cond3, label %25, label %20

20:                                               ; preds = %8
  %21 = getelementptr inbounds i8, ptr %3, i64 664
  %22 = load i32, ptr %21, align 8, !tbaa !12
  %.not467 = icmp eq i32 %22, 0
  br i1 %.not467, label %23, label %25

23:                                               ; preds = %20
  %.not468 = icmp eq i32 %13, 0
  %24 = select i1 %.not468, i32 4, i32 1
  br label %25

25:                                               ; preds = %8, %20, %23
  %26 = phi i32 [ %24, %23 ], [ 2, %20 ], [ 2, %8 ]
  %27 = getelementptr inbounds i8, ptr %4, i64 29
  %28 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %27) #2
  %29 = icmp eq i32 %28, 2
  br i1 %29, label %33, label %30

30:                                               ; preds = %25
  %31 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %27) #2
  %32 = icmp eq i32 %31, 3
  br i1 %32, label %33, label %46

33:                                               ; preds = %30, %25
  %34 = getelementptr inbounds i8, ptr %3, i64 140
  %35 = load i32, ptr %34, align 4, !tbaa !16
  %36 = icmp eq i32 %35, 0
  %37 = getelementptr inbounds i8, ptr %3, i64 64
  %38 = load i32, ptr %37, align 8, !tbaa !17
  %39 = getelementptr inbounds i8, ptr %2, i64 20
  %40 = load i32, ptr %39, align 4, !tbaa !18
  %41 = zext i32 %5 to i64
  br i1 %36, label %42, label %44

42:                                               ; preds = %33
  %43 = shl nuw nsw i64 %41, 1
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %38, i32 noundef %40, i64 noundef %43) #2
  br label %72

44:                                               ; preds = %33
  %45 = shl nuw nsw i64 %41, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %38, i32 noundef %40, i64 noundef %45) #2
  br label %72

46:                                               ; preds = %30
  %47 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %27) #2
  %48 = icmp eq i32 %47, 12
  br i1 %48, label %55, label %49

49:                                               ; preds = %46
  %50 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %27) #2
  %51 = icmp eq i32 %50, 5
  br i1 %51, label %55, label %52

52:                                               ; preds = %49
  %53 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %27) #2
  %54 = icmp eq i32 %53, 4
  br i1 %54, label %55, label %65

55:                                               ; preds = %52, %49, %46
  %56 = getelementptr inbounds i8, ptr %3, i64 140
  %57 = load i32, ptr %56, align 4, !tbaa !16
  %.not469 = icmp eq i32 %57, 0
  %58 = getelementptr inbounds i8, ptr %3, i64 64
  %59 = load i32, ptr %58, align 8, !tbaa !17
  %60 = getelementptr inbounds i8, ptr %2, i64 20
  %61 = load i32, ptr %60, align 4, !tbaa !18
  %62 = zext i32 %5 to i64
  %63 = select i1 %.not469, i64 0, i64 2
  %64 = shl nuw nsw i64 %62, %63
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %59, i32 noundef %61, i64 noundef %64) #2
  br label %72

65:                                               ; preds = %52
  %66 = getelementptr inbounds i8, ptr %3, i64 64
  %67 = load i32, ptr %66, align 8, !tbaa !17
  %68 = getelementptr inbounds i8, ptr %2, i64 20
  %69 = load i32, ptr %68, align 4, !tbaa !18
  %70 = zext i32 %5 to i64
  %71 = shl nuw nsw i64 %70, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %67, i32 noundef %69, i64 noundef %71) #2
  br label %72

72:                                               ; preds = %55, %65, %42, %44
  %.not470 = icmp eq i32 %12, 0
  br i1 %.not470, label %90, label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %9, align 1, !tbaa !5
  %75 = and i32 %74, 1048576
  %.not471 = icmp eq i32 %75, 0
  br i1 %.not471, label %90, label %76

76:                                               ; preds = %73
  %77 = getelementptr inbounds i8, ptr %2, i64 88
  %78 = load i32, ptr %77, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %78) #2
  %79 = load i32, ptr %77, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 31, i32 noundef %79) #2
  %80 = getelementptr inbounds i8, ptr %3, i64 64
  %81 = load i32, ptr %80, align 8, !tbaa !17
  %82 = load i32, ptr %77, align 4, !tbaa !20
  %83 = zext i32 %5 to i64
  %84 = getelementptr inbounds i8, ptr %3, i64 12
  %85 = load i32, ptr %84, align 4, !tbaa !21
  %86 = zext i32 %85 to i64
  %87 = mul nuw nsw i64 %86, %83
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %81, i32 noundef %82, i64 noundef %87) #2
  %88 = load i32, ptr %77, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 31, i32 noundef %88) #2
  %89 = load i32, ptr %77, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %89) #2
  br label %90

90:                                               ; preds = %76, %73, %72
  %91 = getelementptr inbounds i8, ptr %3, i64 120
  %92 = load i32, ptr %91, align 8, !tbaa !22
  %93 = icmp eq i32 %92, 1
  br i1 %93, label %126, label %94

94:                                               ; preds = %90
  %95 = getelementptr inbounds i8, ptr %3, i64 152
  %96 = load i32, ptr %95, align 8, !tbaa !23
  %97 = icmp eq i32 %96, 1
  br i1 %97, label %126, label %98

98:                                               ; preds = %94
  %99 = getelementptr inbounds i8, ptr %3, i64 128
  %100 = load i32, ptr %99, align 8, !tbaa !24
  %101 = icmp eq i32 %100, 1
  br i1 %101, label %126, label %102

102:                                              ; preds = %98
  %103 = getelementptr inbounds i8, ptr %3, i64 108
  %104 = load i32, ptr %103, align 4, !tbaa !25
  %105 = icmp eq i32 %104, 1
  br i1 %105, label %126, label %106

106:                                              ; preds = %102
  %107 = getelementptr inbounds i8, ptr %3, i64 112
  %108 = load i32, ptr %107, align 8, !tbaa !26
  %109 = icmp eq i32 %108, 1
  br i1 %109, label %126, label %110

110:                                              ; preds = %106
  %111 = getelementptr inbounds i8, ptr %3, i64 100
  %112 = load i32, ptr %111, align 4, !tbaa !27
  %113 = icmp eq i32 %112, 1
  br i1 %113, label %126, label %114

114:                                              ; preds = %110
  %115 = getelementptr inbounds i8, ptr %3, i64 104
  %116 = load i32, ptr %115, align 8, !tbaa !28
  %117 = icmp eq i32 %116, 1
  br i1 %117, label %126, label %118

118:                                              ; preds = %114
  %119 = getelementptr inbounds i8, ptr %3, i64 116
  %120 = load i32, ptr %119, align 4, !tbaa !29
  %121 = icmp eq i32 %120, 1
  br i1 %121, label %126, label %122

122:                                              ; preds = %118
  %123 = getelementptr inbounds i8, ptr %3, i64 136
  %124 = load i32, ptr %123, align 8, !tbaa !30
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %.thread

126:                                              ; preds = %90, %94, %98, %102, %106, %110, %114, %118, %122
  %127 = getelementptr inbounds i8, ptr %2, i64 88
  %128 = load i32, ptr %127, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %128) #2
  %.pre = load i32, ptr %91, align 8, !tbaa !22
  %129 = icmp eq i32 %.pre, 1
  br i1 %129, label %130, label %.thread

130:                                              ; preds = %126
  %131 = getelementptr inbounds i8, ptr %3, i64 136
  %132 = load i32, ptr %131, align 8, !tbaa !30
  %133 = icmp eq i32 %132, 1
  br i1 %133, label %134, label %.thread

134:                                              ; preds = %130
  %135 = getelementptr inbounds i8, ptr %2, i64 88
  %136 = load i32, ptr %135, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8, i32 noundef %136) #2
  %137 = getelementptr inbounds i8, ptr %3, i64 64
  %138 = load i32, ptr %137, align 8, !tbaa !17
  %139 = load i32, ptr %135, align 4, !tbaa !20
  %140 = zext i32 %5 to i64
  %141 = add nuw nsw i64 %140, 7
  %142 = lshr i64 %141, 3
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %138, i32 noundef %139, i64 noundef %142) #2
  %143 = load i32, ptr %135, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8, i32 noundef %143) #2
  br label %.thread

.thread:                                          ; preds = %122, %134, %130, %126
  %144 = getelementptr inbounds i8, ptr %3, i64 152
  %145 = load i32, ptr %144, align 8, !tbaa !23
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %147, label %156

147:                                              ; preds = %.thread
  %148 = getelementptr inbounds i8, ptr %2, i64 88
  %149 = load i32, ptr %148, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8, i32 noundef %149) #2
  %150 = getelementptr inbounds i8, ptr %3, i64 64
  %151 = load i32, ptr %150, align 8, !tbaa !17
  %152 = load i32, ptr %148, align 4, !tbaa !20
  %153 = zext i32 %5 to i64
  %154 = shl nuw nsw i64 %153, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %151, i32 noundef %152, i64 noundef %154) #2
  %155 = load i32, ptr %148, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8, i32 noundef %155) #2
  br label %156

156:                                              ; preds = %147, %.thread
  %157 = getelementptr inbounds i8, ptr %3, i64 128
  %158 = load i32, ptr %157, align 8, !tbaa !24
  %159 = icmp eq i32 %158, 1
  br i1 %159, label %160, label %170

160:                                              ; preds = %156
  %161 = getelementptr inbounds i8, ptr %2, i64 88
  %162 = load i32, ptr %161, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 19, i32 noundef %162) #2
  %163 = getelementptr inbounds i8, ptr %3, i64 64
  %164 = load i32, ptr %163, align 8, !tbaa !17
  %165 = load i32, ptr %161, align 4, !tbaa !20
  %166 = zext i32 %5 to i64
  %167 = add nuw nsw i64 %166, 7
  %168 = lshr i64 %167, 3
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %164, i32 noundef %165, i64 noundef %168) #2
  %169 = load i32, ptr %161, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 19, i32 noundef %169) #2
  br label %170

170:                                              ; preds = %160, %156
  %171 = getelementptr inbounds i8, ptr %3, i64 136
  %172 = load i32, ptr %171, align 8, !tbaa !30
  %173 = icmp eq i32 %172, 0
  br i1 %173, label %174, label %183

174:                                              ; preds = %170
  %175 = getelementptr inbounds i8, ptr %2, i64 88
  %176 = load i32, ptr %175, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8, i32 noundef %176) #2
  %177 = getelementptr inbounds i8, ptr %3, i64 64
  %178 = load i32, ptr %177, align 8, !tbaa !17
  %179 = load i32, ptr %175, align 4, !tbaa !20
  %180 = zext i32 %5 to i64
  %181 = shl nuw nsw i64 %180, 1
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %178, i32 noundef %179, i64 noundef %181) #2
  %182 = load i32, ptr %175, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8, i32 noundef %182) #2
  br label %183

183:                                              ; preds = %174, %170
  %184 = getelementptr inbounds i8, ptr %3, i64 108
  %185 = load i32, ptr %184, align 4, !tbaa !25
  %186 = icmp eq i32 %185, 1
  br i1 %186, label %191, label %187

187:                                              ; preds = %183
  %188 = getelementptr inbounds i8, ptr %3, i64 112
  %189 = load i32, ptr %188, align 8, !tbaa !26
  %190 = icmp eq i32 %189, 1
  br i1 %190, label %191, label %199

191:                                              ; preds = %187, %183
  %192 = getelementptr inbounds i8, ptr %2, i64 88
  %193 = load i32, ptr %192, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 7, i32 noundef %193) #2
  %194 = getelementptr inbounds i8, ptr %3, i64 64
  %195 = load i32, ptr %194, align 8, !tbaa !17
  %196 = load i32, ptr %192, align 4, !tbaa !20
  %197 = zext i32 %5 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %195, i32 noundef %196, i64 noundef %197) #2
  %198 = load i32, ptr %192, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 7, i32 noundef %198) #2
  br label %199

199:                                              ; preds = %191, %187
  %200 = getelementptr inbounds i8, ptr %3, i64 100
  %201 = load i32, ptr %200, align 4, !tbaa !27
  %202 = icmp eq i32 %201, 1
  br i1 %202, label %207, label %203

203:                                              ; preds = %199
  %204 = getelementptr inbounds i8, ptr %3, i64 104
  %205 = load i32, ptr %204, align 8, !tbaa !28
  %206 = icmp eq i32 %205, 1
  br i1 %206, label %207, label %216

207:                                              ; preds = %203, %199
  %208 = getelementptr inbounds i8, ptr %2, i64 88
  %209 = load i32, ptr %208, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 7, i32 noundef %209) #2
  %210 = getelementptr inbounds i8, ptr %3, i64 64
  %211 = load i32, ptr %210, align 8, !tbaa !17
  %212 = load i32, ptr %208, align 4, !tbaa !20
  %213 = zext i32 %5 to i64
  %214 = shl nuw nsw i64 %213, 1
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %211, i32 noundef %212, i64 noundef %214) #2
  %215 = load i32, ptr %208, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 7, i32 noundef %215) #2
  br label %216

216:                                              ; preds = %207, %203
  %217 = getelementptr inbounds i8, ptr %3, i64 116
  %218 = load i32, ptr %217, align 4, !tbaa !29
  %219 = icmp eq i32 %218, 1
  br i1 %219, label %220, label %229

220:                                              ; preds = %216
  %221 = getelementptr inbounds i8, ptr %2, i64 88
  %222 = load i32, ptr %221, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 7, i32 noundef %222) #2
  %223 = getelementptr inbounds i8, ptr %3, i64 64
  %224 = load i32, ptr %223, align 8, !tbaa !17
  %225 = load i32, ptr %221, align 4, !tbaa !20
  %226 = zext i32 %5 to i64
  %227 = shl nuw nsw i64 %226, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %224, i32 noundef %225, i64 noundef %227) #2
  %228 = load i32, ptr %221, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 7, i32 noundef %228) #2
  br label %229

229:                                              ; preds = %220, %216
  %230 = load i32, ptr %91, align 8, !tbaa !22
  %231 = icmp eq i32 %230, 1
  br i1 %231, label %258, label %232

232:                                              ; preds = %229
  %233 = load i32, ptr %144, align 8, !tbaa !23
  %234 = icmp eq i32 %233, 1
  br i1 %234, label %258, label %235

235:                                              ; preds = %232
  %236 = load i32, ptr %157, align 8, !tbaa !24
  %237 = icmp eq i32 %236, 1
  br i1 %237, label %258, label %238

238:                                              ; preds = %235
  %239 = load i32, ptr %184, align 4, !tbaa !25
  %240 = icmp eq i32 %239, 1
  br i1 %240, label %258, label %241

241:                                              ; preds = %238
  %242 = getelementptr inbounds i8, ptr %3, i64 112
  %243 = load i32, ptr %242, align 8, !tbaa !26
  %244 = icmp eq i32 %243, 1
  br i1 %244, label %258, label %245

245:                                              ; preds = %241
  %246 = load i32, ptr %200, align 4, !tbaa !27
  %247 = icmp eq i32 %246, 1
  br i1 %247, label %258, label %248

248:                                              ; preds = %245
  %249 = getelementptr inbounds i8, ptr %3, i64 104
  %250 = load i32, ptr %249, align 8, !tbaa !28
  %251 = icmp eq i32 %250, 1
  br i1 %251, label %258, label %252

252:                                              ; preds = %248
  %253 = load i32, ptr %217, align 4, !tbaa !29
  %254 = icmp eq i32 %253, 1
  br i1 %254, label %258, label %255

255:                                              ; preds = %252
  %256 = load i32, ptr %171, align 8, !tbaa !30
  %257 = icmp eq i32 %256, 0
  br i1 %257, label %258, label %261

258:                                              ; preds = %255, %252, %248, %245, %241, %238, %235, %232, %229
  %259 = getelementptr inbounds i8, ptr %2, i64 88
  %260 = load i32, ptr %259, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %260) #2
  br label %261

261:                                              ; preds = %258, %255
  %262 = icmp eq i32 %7, 0
  %263 = load i32, ptr %9, align 1, !tbaa !5
  %264 = and i32 %263, 65536
  %.not488 = icmp eq i32 %264, 0
  br i1 %262, label %265, label %338

265:                                              ; preds = %261
  br i1 %.not488, label %303, label %266

266:                                              ; preds = %265
  %267 = getelementptr inbounds i8, ptr %2, i64 88
  %268 = load i32, ptr %267, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %268) #2
  %269 = getelementptr inbounds i8, ptr %2, i64 56
  %270 = load i32, ptr %269, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %270) #2
  tail call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %271 = getelementptr inbounds i8, ptr %3, i64 80
  %272 = load i32, ptr %271, align 8, !tbaa !32
  %273 = getelementptr inbounds i8, ptr %2, i64 4
  %274 = load i32, ptr %273, align 4, !tbaa !33
  %275 = load i32, ptr %269, align 4, !tbaa !31
  %276 = load i32, ptr %267, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %272, i32 noundef %274, i32 noundef %275, i32 noundef 8, i32 noundef 0, i32 noundef %276, i32 noundef 0) #2
  %277 = getelementptr inbounds i8, ptr %3, i64 68
  %278 = load i32, ptr %277, align 4, !tbaa !34
  %279 = load i32, ptr %267, align 4, !tbaa !20
  %280 = getelementptr inbounds i8, ptr %4, i64 8
  %281 = load i32, ptr %280, align 1, !tbaa !35
  %282 = zext i32 %281 to i64
  %283 = getelementptr inbounds i8, ptr %3, i64 12
  %284 = load i32, ptr %283, align 4, !tbaa !21
  %285 = zext i32 %284 to i64
  %286 = mul nuw nsw i64 %285, %282
  %287 = getelementptr inbounds i8, ptr %4, i64 12
  %288 = load i32, ptr %287, align 1, !tbaa !36
  %289 = zext i32 %288 to i64
  %290 = mul nuw nsw i64 %286, %289
  %291 = zext i32 %5 to i64
  %292 = zext nneg i32 %26 to i64
  %293 = mul nuw nsw i64 %292, %291
  %294 = zext i1 %.not to i64
  %295 = lshr i64 %293, %294
  %296 = sub nsw i64 %290, %295
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %278, i32 noundef %279, i64 noundef %296) #2
  %297 = load i32, ptr %271, align 8, !tbaa !32
  %298 = load i32, ptr %273, align 4, !tbaa !33
  %299 = load i32, ptr %269, align 4, !tbaa !31
  %300 = load i32, ptr %267, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef 8, i32 noundef 0, i32 noundef %300, i32 noundef 1) #2
  tail call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %301 = load i32, ptr %269, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %301) #2
  %302 = load i32, ptr %267, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %302) #2
  br label %534

303:                                              ; preds = %265
  %304 = and i32 %263, 393216
  %or.cond493 = icmp eq i32 %304, 0
  %305 = getelementptr inbounds i8, ptr %3, i64 68
  %306 = load i32, ptr %305, align 4, !tbaa !34
  br i1 %or.cond493, label %317, label %307

307:                                              ; preds = %303
  %308 = getelementptr inbounds i8, ptr %2, i64 8
  %309 = load i32, ptr %308, align 4, !tbaa !37
  %310 = zext i32 %5 to i64
  %311 = zext nneg i32 %26 to i64
  %312 = mul nuw nsw i64 %311, %310
  %.lobit492 = lshr exact i32 %11, 11
  %313 = xor i32 %.lobit492, 1
  %314 = zext nneg i32 %313 to i64
  %315 = lshr i64 %312, %314
  %316 = sub nsw i64 0, %315
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %306, i32 noundef %309, i64 noundef %316) #2
  br label %534

317:                                              ; preds = %303
  %318 = getelementptr inbounds i8, ptr %2, i64 4
  %319 = load i32, ptr %318, align 4, !tbaa !33
  %320 = getelementptr inbounds i8, ptr %4, i64 8
  %321 = load i32, ptr %320, align 1, !tbaa !35
  %322 = zext i32 %321 to i64
  %323 = getelementptr inbounds i8, ptr %3, i64 12
  %324 = load i32, ptr %323, align 4, !tbaa !21
  %325 = zext i32 %324 to i64
  %326 = mul nuw nsw i64 %325, %322
  %327 = getelementptr inbounds i8, ptr %4, i64 12
  %328 = load i32, ptr %327, align 1, !tbaa !36
  %329 = zext i32 %328 to i64
  %330 = mul nuw nsw i64 %326, %329
  %331 = zext i32 %5 to i64
  %332 = zext nneg i32 %26 to i64
  %333 = mul nuw nsw i64 %332, %331
  %.lobit491 = lshr exact i32 %11, 11
  %334 = xor i32 %.lobit491, 1
  %335 = zext nneg i32 %334 to i64
  %336 = lshr i64 %333, %335
  %337 = sub nsw i64 %330, %336
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %306, i32 noundef %319, i64 noundef %337) #2
  br label %534

338:                                              ; preds = %261
  br i1 %.not488, label %421, label %339

339:                                              ; preds = %338
  %340 = getelementptr inbounds i8, ptr %2, i64 88
  %341 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %341) #2
  %342 = getelementptr inbounds i8, ptr %2, i64 56
  %343 = load i32, ptr %342, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %343) #2
  tail call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %344 = getelementptr inbounds i8, ptr %3, i64 80
  %345 = load i32, ptr %344, align 8, !tbaa !32
  %346 = getelementptr inbounds i8, ptr %2, i64 60
  %347 = load i32, ptr %346, align 4, !tbaa !38
  %348 = load i32, ptr %342, align 4, !tbaa !31
  %349 = getelementptr inbounds i8, ptr %2, i64 4
  %350 = load i32, ptr %349, align 4, !tbaa !33
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %345, i32 noundef %347, i32 noundef %348, i32 noundef 8, i32 noundef 0, i32 noundef %350, i32 noundef 0) #2
  %351 = load i32, ptr %9, align 1, !tbaa !5
  %352 = and i32 %351, 1
  %.not483 = icmp eq i32 %352, 0
  %353 = getelementptr inbounds i8, ptr %3, i64 64
  %354 = load i32, ptr %353, align 8, !tbaa !17
  %355 = load i32, ptr %349, align 4, !tbaa !33
  br i1 %.not483, label %363, label %356

356:                                              ; preds = %339
  %357 = getelementptr inbounds i8, ptr %4, i64 12
  %358 = load i32, ptr %357, align 1, !tbaa !36
  %.lobit485 = lshr exact i32 %11, 11
  %359 = xor i32 %.lobit485, 1
  %360 = lshr i32 %26, %359
  %361 = mul i32 %360, %5
  %362 = mul i32 %361, %358
  br label %367

363:                                              ; preds = %339
  %.lobit484 = lshr exact i32 %11, 11
  %364 = xor i32 %.lobit484, 1
  %365 = lshr i32 %26, %364
  %366 = mul i32 %365, %5
  br label %367

367:                                              ; preds = %363, %356
  %.sink495 = phi i32 [ %366, %363 ], [ %362, %356 ]
  %368 = zext i32 %.sink495 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %354, i32 noundef %355, i64 noundef %368) #2
  %369 = load i32, ptr %344, align 8, !tbaa !32
  %370 = load i32, ptr %346, align 4, !tbaa !38
  %371 = load i32, ptr %342, align 4, !tbaa !31
  %372 = load i32, ptr %349, align 4, !tbaa !33
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %369, i32 noundef %370, i32 noundef %371, i32 noundef 8, i32 noundef 0, i32 noundef %372, i32 noundef 1) #2
  tail call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %373 = load i32, ptr %342, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %373) #2
  %374 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %374) #2
  %.not486 = icmp eq i32 %13, 0
  br i1 %.not486, label %396, label %375

375:                                              ; preds = %367
  %376 = getelementptr inbounds i8, ptr %2, i64 92
  %377 = load i32, ptr %376, align 4, !tbaa !39
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %377) #2
  %378 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %378) #2
  %379 = load i32, ptr %342, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %379) #2
  %380 = load i32, ptr %376, align 4, !tbaa !39
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 33, i32 noundef %380) #2
  tail call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %381 = load i32, ptr %344, align 8, !tbaa !32
  %382 = load i32, ptr %376, align 4, !tbaa !39
  %383 = load i32, ptr %342, align 4, !tbaa !31
  %384 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %381, i32 noundef %382, i32 noundef %383, i32 noundef 8, i32 noundef 0, i32 noundef %384, i32 noundef 0) #2
  %385 = getelementptr inbounds i8, ptr %3, i64 64
  %386 = load i32, ptr %385, align 8, !tbaa !17
  %387 = load i32, ptr %340, align 4, !tbaa !20
  %388 = zext i32 %5 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %386, i32 noundef %387, i64 noundef %388) #2
  %389 = load i32, ptr %344, align 8, !tbaa !32
  %390 = load i32, ptr %376, align 4, !tbaa !39
  %391 = load i32, ptr %342, align 4, !tbaa !31
  %392 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef 8, i32 noundef 0, i32 noundef %392, i32 noundef 1) #2
  tail call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %393 = load i32, ptr %342, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %393) #2
  %394 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %394) #2
  %395 = load i32, ptr %376, align 4, !tbaa !39
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %395) #2
  br label %396

396:                                              ; preds = %375, %367
  br i1 %.not470, label %534, label %397

397:                                              ; preds = %396
  %398 = load i32, ptr %9, align 1, !tbaa !5
  %399 = and i32 %398, 33554432
  %.not487 = icmp eq i32 %399, 0
  br i1 %.not487, label %534, label %400

400:                                              ; preds = %397
  %401 = getelementptr inbounds i8, ptr %2, i64 92
  %402 = load i32, ptr %401, align 4, !tbaa !39
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %402) #2
  %403 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %403) #2
  %404 = load i32, ptr %342, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %404) #2
  %405 = load i32, ptr %401, align 4, !tbaa !39
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 31, i32 noundef %405) #2
  tail call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %406 = load i32, ptr %344, align 8, !tbaa !32
  %407 = load i32, ptr %401, align 4, !tbaa !39
  %408 = load i32, ptr %342, align 4, !tbaa !31
  %409 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %406, i32 noundef %407, i32 noundef %408, i32 noundef 8, i32 noundef 0, i32 noundef %409, i32 noundef 0) #2
  %410 = getelementptr inbounds i8, ptr %3, i64 64
  %411 = load i32, ptr %410, align 8, !tbaa !17
  %412 = load i32, ptr %340, align 4, !tbaa !20
  %413 = zext i32 %5 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %411, i32 noundef %412, i64 noundef %413) #2
  %414 = load i32, ptr %344, align 8, !tbaa !32
  %415 = load i32, ptr %401, align 4, !tbaa !39
  %416 = load i32, ptr %342, align 4, !tbaa !31
  %417 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %414, i32 noundef %415, i32 noundef %416, i32 noundef 8, i32 noundef 0, i32 noundef %417, i32 noundef 1) #2
  tail call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %418 = load i32, ptr %342, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %418) #2
  %419 = load i32, ptr %340, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %419) #2
  %420 = load i32, ptr %401, align 4, !tbaa !39
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %420) #2
  br label %534

421:                                              ; preds = %338
  %422 = and i32 %263, 393216
  %or.cond494 = icmp eq i32 %422, 0
  %423 = and i32 %263, 1
  %.not475 = icmp eq i32 %423, 0
  %424 = getelementptr inbounds i8, ptr %3, i64 64
  %425 = load i32, ptr %424, align 8, !tbaa !17
  br i1 %or.cond494, label %486, label %426

426:                                              ; preds = %421
  %427 = getelementptr inbounds i8, ptr %2, i64 8
  %428 = load i32, ptr %427, align 4, !tbaa !37
  br i1 %.not475, label %437, label %429

429:                                              ; preds = %426
  %430 = getelementptr inbounds i8, ptr %4, i64 12
  %431 = load i32, ptr %430, align 1, !tbaa !36
  %.lobit482 = lshr exact i32 %11, 11
  %432 = xor i32 %.lobit482, 1
  %433 = lshr i32 %26, %432
  %434 = mul i32 %433, %5
  %435 = mul i32 %434, %431
  %436 = zext i32 %435 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %425, i32 noundef %428, i64 noundef %436) #2
  br label %534

437:                                              ; preds = %426
  %438 = zext i32 %5 to i64
  %439 = zext nneg i32 %26 to i64
  %440 = mul nuw nsw i64 %439, %438
  %.lobit479 = lshr exact i32 %11, 11
  %441 = xor i32 %.lobit479, 1
  %442 = zext nneg i32 %441 to i64
  %443 = lshr i64 %440, %442
  %444 = getelementptr inbounds i8, ptr %3, i64 144
  %445 = load i32, ptr %444, align 8, !tbaa !40
  %446 = zext i32 %445 to i64
  %447 = udiv i64 %443, %446
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %425, i32 noundef %428, i64 noundef %447) #2
  %.not480 = icmp eq i32 %13, 0
  br i1 %.not480, label %456, label %448

448:                                              ; preds = %437
  %449 = getelementptr inbounds i8, ptr %2, i64 88
  %450 = load i32, ptr %449, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %450) #2
  %451 = load i32, ptr %449, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 33, i32 noundef %451) #2
  %452 = load i32, ptr %424, align 8, !tbaa !17
  %453 = load i32, ptr %449, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %452, i32 noundef %453, i64 noundef %438) #2
  %454 = load i32, ptr %449, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 33, i32 noundef %454) #2
  %455 = load i32, ptr %449, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %455) #2
  br label %456

456:                                              ; preds = %448, %437
  br i1 %.not470, label %468, label %457

457:                                              ; preds = %456
  %458 = load i32, ptr %9, align 1, !tbaa !5
  %459 = and i32 %458, 33554432
  %.not481 = icmp eq i32 %459, 0
  br i1 %.not481, label %468, label %460

460:                                              ; preds = %457
  %461 = getelementptr inbounds i8, ptr %2, i64 88
  %462 = load i32, ptr %461, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %462) #2
  %463 = load i32, ptr %461, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 31, i32 noundef %463) #2
  %464 = load i32, ptr %424, align 8, !tbaa !17
  %465 = load i32, ptr %461, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %464, i32 noundef %465, i64 noundef %438) #2
  %466 = load i32, ptr %461, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 31, i32 noundef %466) #2
  %467 = load i32, ptr %461, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %467) #2
  br label %468

468:                                              ; preds = %460, %457, %456
  %469 = getelementptr inbounds i8, ptr %3, i64 148
  %470 = load i32, ptr %469, align 4, !tbaa !41
  %471 = icmp eq i32 %470, 1
  br i1 %471, label %472, label %534

472:                                              ; preds = %468
  %473 = getelementptr inbounds i8, ptr %2, i64 88
  %474 = load i32, ptr %473, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %474) #2
  %475 = load i32, ptr %473, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 15, i32 noundef %475) #2
  %476 = load i32, ptr %424, align 8, !tbaa !17
  %477 = load i32, ptr %473, align 4, !tbaa !20
  %478 = shl nuw nsw i64 %438, 2
  %479 = lshr i64 %438, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %476, i32 noundef %477, i64 noundef %479) #2
  %480 = load i32, ptr %473, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 15, i32 noundef %480) #2
  %481 = load i32, ptr %473, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 16, i32 noundef %481) #2
  %482 = load i32, ptr %424, align 8, !tbaa !17
  %483 = load i32, ptr %473, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %482, i32 noundef %483, i64 noundef %478) #2
  %484 = load i32, ptr %473, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 16, i32 noundef %484) #2
  %485 = load i32, ptr %473, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %485) #2
  br label %534

486:                                              ; preds = %421
  %487 = getelementptr inbounds i8, ptr %2, i64 4
  %488 = load i32, ptr %487, align 4, !tbaa !33
  br i1 %.not475, label %497, label %489

489:                                              ; preds = %486
  %490 = getelementptr inbounds i8, ptr %4, i64 12
  %491 = load i32, ptr %490, align 1, !tbaa !36
  %.lobit477 = lshr exact i32 %11, 11
  %492 = xor i32 %.lobit477, 1
  %493 = lshr i32 %26, %492
  %494 = mul i32 %493, %5
  %495 = mul i32 %494, %491
  %496 = zext i32 %495 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %425, i32 noundef %488, i64 noundef %496) #2
  br label %534

497:                                              ; preds = %486
  %498 = zext i32 %5 to i64
  %499 = zext nneg i32 %26 to i64
  %500 = mul nuw nsw i64 %499, %498
  %.lobit = lshr exact i32 %11, 11
  %501 = xor i32 %.lobit, 1
  %502 = zext nneg i32 %501 to i64
  %503 = lshr i64 %500, %502
  %504 = getelementptr inbounds i8, ptr %3, i64 144
  %505 = load i32, ptr %504, align 8, !tbaa !40
  %506 = zext i32 %505 to i64
  %507 = udiv i64 %503, %506
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %425, i32 noundef %488, i64 noundef %507) #2
  %.not476 = icmp eq i32 %13, 0
  br i1 %.not476, label %516, label %508

508:                                              ; preds = %497
  %509 = getelementptr inbounds i8, ptr %2, i64 88
  %510 = load i32, ptr %509, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %510) #2
  %511 = load i32, ptr %509, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 33, i32 noundef %511) #2
  %512 = load i32, ptr %424, align 8, !tbaa !17
  %513 = load i32, ptr %509, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %512, i32 noundef %513, i64 noundef %498) #2
  %514 = load i32, ptr %509, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 33, i32 noundef %514) #2
  %515 = load i32, ptr %509, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %515) #2
  br label %516

516:                                              ; preds = %508, %497
  %517 = getelementptr inbounds i8, ptr %3, i64 148
  %518 = load i32, ptr %517, align 4, !tbaa !41
  %519 = icmp eq i32 %518, 1
  br i1 %519, label %520, label %534

520:                                              ; preds = %516
  %521 = getelementptr inbounds i8, ptr %2, i64 88
  %522 = load i32, ptr %521, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %522) #2
  %523 = load i32, ptr %521, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 15, i32 noundef %523) #2
  %524 = load i32, ptr %424, align 8, !tbaa !17
  %525 = load i32, ptr %521, align 4, !tbaa !20
  %526 = shl nuw nsw i64 %498, 2
  %527 = lshr i64 %498, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %524, i32 noundef %525, i64 noundef %527) #2
  %528 = load i32, ptr %521, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 15, i32 noundef %528) #2
  %529 = load i32, ptr %521, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 16, i32 noundef %529) #2
  %530 = load i32, ptr %424, align 8, !tbaa !17
  %531 = load i32, ptr %521, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %530, i32 noundef %531, i64 noundef %526) #2
  %532 = load i32, ptr %521, align 4, !tbaa !20
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 16, i32 noundef %532) #2
  %533 = load i32, ptr %521, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %533) #2
  br label %534

534:                                              ; preds = %400, %397, %396, %489, %520, %516, %429, %472, %468, %266, %317, %307
  %535 = getelementptr inbounds i8, ptr %3, i64 72
  %536 = load i32, ptr %535, align 8, !tbaa !42
  %537 = getelementptr inbounds i8, ptr %2, i64 40
  %538 = load i32, ptr %537, align 4, !tbaa !43
  %539 = zext i32 %6 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %536, i32 noundef %538, i64 noundef %539) #2
  %540 = getelementptr inbounds i8, ptr %3, i64 76
  %541 = load i32, ptr %540, align 4, !tbaa !44
  tail call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %0, i32 noundef %541, ptr noundef %1) #2
  ret void
}

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 24}
!6 = !{!"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, !10, i64 33, !10, 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}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!13, !7, i64 664}
!13 = !{!"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, !14, 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, !15, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !15, 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}
!14 = !{!"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}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!13, !7, i64 140}
!17 = !{!13, !7, i64 64}
!18 = !{!19, !7, i64 20}
!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 = !{!19, !7, i64 88}
!21 = !{!13, !7, i64 12}
!22 = !{!13, !7, i64 120}
!23 = !{!13, !7, i64 152}
!24 = !{!13, !7, i64 128}
!25 = !{!13, !7, i64 108}
!26 = !{!13, !7, i64 112}
!27 = !{!13, !7, i64 100}
!28 = !{!13, !7, i64 104}
!29 = !{!13, !7, i64 116}
!30 = !{!13, !7, i64 136}
!31 = !{!19, !7, i64 56}
!32 = !{!13, !7, i64 80}
!33 = !{!19, !7, i64 4}
!34 = !{!13, !7, i64 68}
!35 = !{!6, !7, i64 8}
!36 = !{!6, !7, i64 12}
!37 = !{!19, !7, i64 8}
!38 = !{!19, !7, i64 60}
!39 = !{!19, !7, i64 92}
!40 = !{!13, !7, i64 144}
!41 = !{!13, !7, i64 148}
!42 = !{!13, !7, i64 72}
!43 = !{!19, !7, i64 40}
!44 = !{!13, !7, i64 76}


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