; 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

; 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_GEMM_GETENUM_C_PREC(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_amx_adjust_n_advancement(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  %16 = load ptr, ptr %9, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %16, i32 0, i32 8
  %18 = getelementptr inbounds [3 x i8], ptr %17, i64 0, i64 0
  %19 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %18)
  %20 = icmp eq i32 2, %19
  br i1 %20, label %27, label %21

21:                                               ; preds = %6
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %22, i32 0, i32 8
  %24 = getelementptr inbounds [3 x i8], ptr %23, i64 0, i64 0
  %25 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %24)
  %26 = icmp eq i32 3, %25
  br i1 %26, label %27, label %43

27:                                               ; preds = %21, %6
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %29, i32 0, i32 16
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %32, i32 0, i32 5
  %34 = load i32, ptr %33, align 4, !tbaa !15
  %35 = load i32, ptr %12, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %37, i32 0, i32 5
  %39 = load i32, ptr %38, align 1, !tbaa !17
  %40 = zext i32 %39 to i64
  %41 = mul nsw i64 %36, %40
  %42 = mul nsw i64 %41, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %28, i32 noundef %31, i32 noundef %34, i64 noundef %42)
  br label %93

43:                                               ; preds = %21
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %44, i32 0, i32 8
  %46 = getelementptr inbounds [3 x i8], ptr %45, i64 0, i64 0
  %47 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %46)
  %48 = icmp eq i32 12, %47
  br i1 %48, label %61, label %49

49:                                               ; preds = %43
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %50, i32 0, i32 8
  %52 = getelementptr inbounds [3 x i8], ptr %51, i64 0, i64 0
  %53 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %52)
  %54 = icmp eq i32 5, %53
  br i1 %54, label %61, label %55

55:                                               ; preds = %49
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %56, i32 0, i32 8
  %58 = getelementptr inbounds [3 x i8], ptr %57, i64 0, i64 0
  %59 = call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef %58)
  %60 = icmp eq i32 4, %59
  br i1 %60, label %61, label %76

61:                                               ; preds = %55, %49, %43
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %63, i32 0, i32 16
  %65 = load i32, ptr %64, align 8, !tbaa !11
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %66, i32 0, i32 5
  %68 = load i32, ptr %67, align 4, !tbaa !15
  %69 = load i32, ptr %12, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %71, i32 0, i32 5
  %73 = load i32, ptr %72, align 1, !tbaa !17
  %74 = zext i32 %73 to i64
  %75 = mul nsw i64 %70, %74
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %62, i32 noundef %65, i32 noundef %68, i64 noundef %75)
  br label %92

76:                                               ; preds = %55
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %78, i32 0, i32 16
  %80 = load i32, ptr %79, align 8, !tbaa !11
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %81, i32 0, i32 5
  %83 = load i32, ptr %82, align 4, !tbaa !15
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %86, i32 0, i32 5
  %88 = load i32, ptr %87, align 1, !tbaa !17
  %89 = zext i32 %88 to i64
  %90 = mul nsw i64 %85, %89
  %91 = mul nsw i64 %90, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %77, i32 noundef %80, i32 noundef %83, i64 noundef %91)
  br label %92

92:                                               ; preds = %76, %61
  br label %93

93:                                               ; preds = %92, %27
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %94, i32 0, i32 30
  %96 = load i32, ptr %95, align 8, !tbaa !20
  %97 = icmp eq i32 %96, 1
  br i1 %97, label %113, label %98

98:                                               ; preds = %93
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %99, i32 0, i32 38
  %101 = load i32, ptr %100, align 8, !tbaa !21
  %102 = icmp eq i32 %101, 1
  br i1 %102, label %113, label %103

103:                                              ; preds = %98
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %104, i32 0, i32 32
  %106 = load i32, ptr %105, align 8, !tbaa !22
  %107 = icmp eq i32 %106, 1
  br i1 %107, label %113, label %108

108:                                              ; preds = %103
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %109, i32 0, i32 34
  %111 = load i32, ptr %110, align 8, !tbaa !23
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %113, label %118

113:                                              ; preds = %108, %103, %98, %93
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %115, i32 0, i32 22
  %117 = load i32, ptr %116, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %114, i32 noundef %117)
  br label %118

118:                                              ; preds = %113, %108
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %119, i32 0, i32 30
  %121 = load i32, ptr %120, align 8, !tbaa !20
  %122 = icmp eq i32 %121, 1
  br i1 %122, label %123, label %154

123:                                              ; preds = %118
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %124, i32 0, i32 34
  %126 = load i32, ptr %125, align 8, !tbaa !23
  %127 = icmp eq i32 %126, 1
  br i1 %127, label %128, label %154

128:                                              ; preds = %123
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %131, i32 0, i32 22
  %133 = load i32, ptr %132, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %129, ptr noundef %130, i32 noundef 8, i32 noundef %133)
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %135, i32 0, i32 16
  %137 = load i32, ptr %136, align 8, !tbaa !11
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %138, i32 0, i32 22
  %140 = load i32, ptr %139, align 4, !tbaa !24
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %143, i32 0, i32 30
  %145 = load i32, ptr %144, align 1, !tbaa !25
  %146 = zext i32 %145 to i64
  %147 = mul nsw i64 %142, %146
  %148 = sdiv i64 %147, 8
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %134, i32 noundef %137, i32 noundef %140, i64 noundef %148)
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = load ptr, ptr %11, align 8, !tbaa !5
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %151, i32 0, i32 22
  %153 = load i32, ptr %152, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %149, ptr noundef %150, i32 noundef 8, i32 noundef %153)
  br label %154

154:                                              ; preds = %128, %123, %118
  %155 = load ptr, ptr %11, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %155, i32 0, i32 38
  %157 = load i32, ptr %156, align 8, !tbaa !21
  %158 = icmp eq i32 %157, 1
  br i1 %158, label %159, label %185

159:                                              ; preds = %154
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = load ptr, ptr %10, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %162, i32 0, i32 22
  %164 = load i32, ptr %163, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %160, ptr noundef %161, i32 noundef 8, i32 noundef %164)
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %166, i32 0, i32 16
  %168 = load i32, ptr %167, align 8, !tbaa !11
  %169 = load ptr, ptr %10, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %169, i32 0, i32 22
  %171 = load i32, ptr %170, align 4, !tbaa !24
  %172 = load i32, ptr %12, align 4, !tbaa !9
  %173 = sext i32 %172 to i64
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %174, i32 0, i32 5
  %176 = load i32, ptr %175, align 1, !tbaa !17
  %177 = zext i32 %176 to i64
  %178 = mul nsw i64 %173, %177
  %179 = mul nsw i64 %178, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %165, i32 noundef %168, i32 noundef %171, i64 noundef %179)
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = load ptr, ptr %10, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %182, i32 0, i32 22
  %184 = load i32, ptr %183, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %180, ptr noundef %181, i32 noundef 8, i32 noundef %184)
  br label %185

185:                                              ; preds = %159, %154
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %186, i32 0, i32 32
  %188 = load i32, ptr %187, align 8, !tbaa !22
  %189 = icmp eq i32 %188, 1
  br i1 %189, label %190, label %216

190:                                              ; preds = %185
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = load ptr, ptr %10, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %193, i32 0, i32 22
  %195 = load i32, ptr %194, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %191, ptr noundef %192, i32 noundef 19, i32 noundef %195)
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %197, i32 0, i32 16
  %199 = load i32, ptr %198, align 8, !tbaa !11
  %200 = load ptr, ptr %10, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %200, i32 0, i32 22
  %202 = load i32, ptr %201, align 4, !tbaa !24
  %203 = load i32, ptr %12, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %205, i32 0, i32 30
  %207 = load i32, ptr %206, align 1, !tbaa !25
  %208 = zext i32 %207 to i64
  %209 = mul nsw i64 %204, %208
  %210 = sdiv i64 %209, 8
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %196, i32 noundef %199, i32 noundef %202, i64 noundef %210)
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = load ptr, ptr %10, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %213, i32 0, i32 22
  %215 = load i32, ptr %214, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %211, ptr noundef %212, i32 noundef 19, i32 noundef %215)
  br label %216

216:                                              ; preds = %190, %185
  %217 = load ptr, ptr %11, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %217, i32 0, i32 34
  %219 = load i32, ptr %218, align 8, !tbaa !23
  %220 = icmp eq i32 %219, 0
  br i1 %220, label %221, label %247

221:                                              ; preds = %216
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = load ptr, ptr %10, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %224, i32 0, i32 22
  %226 = load i32, ptr %225, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %222, ptr noundef %223, i32 noundef 8, i32 noundef %226)
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  %228 = load ptr, ptr %11, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %228, i32 0, i32 16
  %230 = load i32, ptr %229, align 8, !tbaa !11
  %231 = load ptr, ptr %10, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %231, i32 0, i32 22
  %233 = load i32, ptr %232, align 4, !tbaa !24
  %234 = load i32, ptr %12, align 4, !tbaa !9
  %235 = sext i32 %234 to i64
  %236 = load ptr, ptr %9, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %236, i32 0, i32 5
  %238 = load i32, ptr %237, align 1, !tbaa !17
  %239 = zext i32 %238 to i64
  %240 = mul nsw i64 %235, %239
  %241 = mul nsw i64 %240, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %227, i32 noundef %230, i32 noundef %233, i64 noundef %241)
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = load ptr, ptr %11, align 8, !tbaa !5
  %244 = load ptr, ptr %10, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %244, i32 0, i32 22
  %246 = load i32, ptr %245, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %242, ptr noundef %243, i32 noundef 8, i32 noundef %246)
  br label %247

247:                                              ; preds = %221, %216
  %248 = load ptr, ptr %11, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %248, i32 0, i32 30
  %250 = load i32, ptr %249, align 8, !tbaa !20
  %251 = icmp eq i32 %250, 1
  br i1 %251, label %267, label %252

252:                                              ; preds = %247
  %253 = load ptr, ptr %11, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %253, i32 0, i32 38
  %255 = load i32, ptr %254, align 8, !tbaa !21
  %256 = icmp eq i32 %255, 1
  br i1 %256, label %267, label %257

257:                                              ; preds = %252
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %258, i32 0, i32 32
  %260 = load i32, ptr %259, align 8, !tbaa !22
  %261 = icmp eq i32 %260, 1
  br i1 %261, label %267, label %262

262:                                              ; preds = %257
  %263 = load ptr, ptr %11, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %263, i32 0, i32 34
  %265 = load i32, ptr %264, align 8, !tbaa !23
  %266 = icmp eq i32 %265, 0
  br i1 %266, label %267, label %272

267:                                              ; preds = %262, %257, %252, %247
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  %269 = load ptr, ptr %10, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %269, i32 0, i32 22
  %271 = load i32, ptr %270, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %268, i32 noundef %271)
  br label %272

272:                                              ; preds = %267, %262
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %274, align 1, !tbaa !26
  %276 = and i32 %275, 65536
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %345

278:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !9
  %279 = load ptr, ptr %9, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %279, i32 0, i32 6
  %281 = load i32, ptr %280, align 1, !tbaa !26
  %282 = and i32 %281, 2
  %283 = icmp ugt i32 %282, 0
  br i1 %283, label %284, label %290

284:                                              ; preds = %278
  %285 = load i32, ptr %12, align 4, !tbaa !9
  %286 = load ptr, ptr %11, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %286, i32 0, i32 4
  %288 = load i32, ptr %287, align 8, !tbaa !27
  %289 = mul i32 %285, %288
  store i32 %289, ptr %13, align 4, !tbaa !9
  br label %300

290:                                              ; preds = %278
  %291 = load i32, ptr %12, align 4, !tbaa !9
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %292, i32 0, i32 4
  %294 = load i32, ptr %293, align 1, !tbaa !28
  %295 = mul i32 %291, %294
  %296 = load ptr, ptr %11, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %296, i32 0, i32 4
  %298 = load i32, ptr %297, align 8, !tbaa !27
  %299 = mul i32 %295, %298
  store i32 %299, ptr %13, align 4, !tbaa !9
  br label %300

300:                                              ; preds = %290, %284
  %301 = load ptr, ptr %7, align 8, !tbaa !5
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = load ptr, ptr %10, align 8, !tbaa !5
  %304 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %301, ptr noundef %302, ptr noundef %303, ptr noundef %304)
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = load ptr, ptr %11, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %306, i32 0, i32 20
  %308 = load i32, ptr %307, align 8, !tbaa !29
  %309 = load ptr, ptr %10, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %309, i32 0, i32 16
  %311 = load i32, ptr %310, align 4, !tbaa !30
  %312 = load ptr, ptr %10, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %312, i32 0, i32 14
  %314 = load i32, ptr %313, align 4, !tbaa !31
  %315 = load ptr, ptr %10, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %315, i32 0, i32 3
  %317 = load i32, ptr %316, align 4, !tbaa !32
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %305, i32 noundef %308, i32 noundef %311, i32 noundef %314, i32 noundef 8, i32 noundef 0, i32 noundef %317, i32 noundef 0)
  %318 = load ptr, ptr %7, align 8, !tbaa !5
  %319 = load ptr, ptr %11, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %319, i32 0, i32 16
  %321 = load i32, ptr %320, align 8, !tbaa !11
  %322 = load ptr, ptr %10, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %322, i32 0, i32 3
  %324 = load i32, ptr %323, align 4, !tbaa !32
  %325 = load i32, ptr %13, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %318, i32 noundef %321, i32 noundef %324, i64 noundef %326)
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = load ptr, ptr %11, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %328, i32 0, i32 20
  %330 = load i32, ptr %329, align 8, !tbaa !29
  %331 = load ptr, ptr %10, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %331, i32 0, i32 16
  %333 = load i32, ptr %332, align 4, !tbaa !30
  %334 = load ptr, ptr %10, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %334, i32 0, i32 14
  %336 = load i32, ptr %335, align 4, !tbaa !31
  %337 = load ptr, ptr %10, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %337, i32 0, i32 3
  %339 = load i32, ptr %338, align 4, !tbaa !32
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %327, i32 noundef %330, i32 noundef %333, i32 noundef %336, i32 noundef 8, i32 noundef 0, i32 noundef %339, i32 noundef 1)
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  %342 = load ptr, ptr %10, align 8, !tbaa !5
  %343 = load ptr, ptr %11, align 8, !tbaa !5
  %344 = load ptr, ptr %9, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %340, ptr noundef %341, ptr noundef %342, ptr noundef %343, ptr noundef %344)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %490

345:                                              ; preds = %272
  %346 = load ptr, ptr %9, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %346, i32 0, i32 6
  %348 = load i32, ptr %347, align 1, !tbaa !26
  %349 = and i32 %348, 131072
  %350 = icmp ne i32 %349, 0
  br i1 %350, label %357, label %351

351:                                              ; preds = %345
  %352 = load ptr, ptr %9, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %352, i32 0, i32 6
  %354 = load i32, ptr %353, align 1, !tbaa !26
  %355 = and i32 %354, 262144
  %356 = icmp ne i32 %355, 0
  br i1 %356, label %357, label %423

357:                                              ; preds = %351, %345
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  %358 = load ptr, ptr %9, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %358, i32 0, i32 6
  %360 = load i32, ptr %359, align 1, !tbaa !26
  %361 = and i32 %360, 2
  %362 = icmp ugt i32 %361, 0
  br i1 %362, label %363, label %369

363:                                              ; preds = %357
  %364 = load i32, ptr %12, align 4, !tbaa !9
  %365 = load ptr, ptr %11, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %365, i32 0, i32 4
  %367 = load i32, ptr %366, align 8, !tbaa !27
  %368 = mul i32 %364, %367
  store i32 %368, ptr %14, align 4, !tbaa !9
  br label %379

369:                                              ; preds = %357
  %370 = load i32, ptr %12, align 4, !tbaa !9
  %371 = load ptr, ptr %9, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %371, i32 0, i32 4
  %373 = load i32, ptr %372, align 1, !tbaa !28
  %374 = mul i32 %370, %373
  %375 = load ptr, ptr %11, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %375, i32 0, i32 4
  %377 = load i32, ptr %376, align 8, !tbaa !27
  %378 = mul i32 %374, %377
  store i32 %378, ptr %14, align 4, !tbaa !9
  br label %379

379:                                              ; preds = %369, %363
  %380 = load ptr, ptr %7, align 8, !tbaa !5
  %381 = load ptr, ptr %11, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %381, i32 0, i32 16
  %383 = load i32, ptr %382, align 8, !tbaa !11
  %384 = load ptr, ptr %10, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %384, i32 0, i32 4
  %386 = load i32, ptr %385, align 4, !tbaa !33
  %387 = load i32, ptr %14, align 4, !tbaa !9
  %388 = sext i32 %387 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %380, i32 noundef %383, i32 noundef %386, i64 noundef %388)
  %389 = load ptr, ptr %11, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %389, i32 0, i32 39
  %391 = load i32, ptr %390, align 4, !tbaa !34
  %392 = icmp eq i32 %391, 1
  br i1 %392, label %393, label %422

393:                                              ; preds = %379
  %394 = load ptr, ptr %7, align 8, !tbaa !5
  %395 = load ptr, ptr %10, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %395, i32 0, i32 22
  %397 = load i32, ptr %396, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %394, i32 noundef %397)
  %398 = load ptr, ptr %7, align 8, !tbaa !5
  %399 = load ptr, ptr %11, align 8, !tbaa !5
  %400 = load ptr, ptr %10, 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 !24
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %398, ptr noundef %399, i32 noundef 17, i32 noundef %402)
  %403 = load ptr, ptr %7, align 8, !tbaa !5
  %404 = load ptr, ptr %11, 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 !11
  %407 = load ptr, ptr %10, 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 !24
  %410 = load i32, ptr %12, align 4, !tbaa !9
  %411 = sext 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 %7, align 8, !tbaa !5
  %414 = load ptr, ptr %11, align 8, !tbaa !5
  %415 = load ptr, ptr %10, 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 !24
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %413, ptr noundef %414, i32 noundef 17, i32 noundef %417)
  %418 = load ptr, ptr %7, align 8, !tbaa !5
  %419 = load ptr, ptr %10, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %419, i32 0, i32 22
  %421 = load i32, ptr %420, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %418, i32 noundef %421)
  br label %422

422:                                              ; preds = %393, %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %489

423:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !9
  %424 = load ptr, ptr %9, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %424, i32 0, i32 6
  %426 = load i32, ptr %425, align 1, !tbaa !26
  %427 = and i32 %426, 2
  %428 = icmp ugt i32 %427, 0
  br i1 %428, label %429, label %435

429:                                              ; preds = %423
  %430 = load i32, ptr %12, align 4, !tbaa !9
  %431 = load ptr, ptr %11, align 8, !tbaa !5
  %432 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %431, i32 0, i32 4
  %433 = load i32, ptr %432, align 8, !tbaa !27
  %434 = mul i32 %430, %433
  store i32 %434, ptr %15, align 4, !tbaa !9
  br label %445

435:                                              ; preds = %423
  %436 = load i32, ptr %12, align 4, !tbaa !9
  %437 = load ptr, ptr %9, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %437, i32 0, i32 4
  %439 = load i32, ptr %438, align 1, !tbaa !28
  %440 = mul i32 %436, %439
  %441 = load ptr, ptr %11, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %441, i32 0, i32 4
  %443 = load i32, ptr %442, align 8, !tbaa !27
  %444 = mul i32 %440, %443
  store i32 %444, ptr %15, align 4, !tbaa !9
  br label %445

445:                                              ; preds = %435, %429
  %446 = load ptr, ptr %7, align 8, !tbaa !5
  %447 = load ptr, ptr %11, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %447, i32 0, i32 16
  %449 = load i32, ptr %448, align 8, !tbaa !11
  %450 = load ptr, ptr %10, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %450, i32 0, i32 3
  %452 = load i32, ptr %451, align 4, !tbaa !32
  %453 = load i32, ptr %15, align 4, !tbaa !9
  %454 = sext i32 %453 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %446, i32 noundef %449, i32 noundef %452, i64 noundef %454)
  %455 = load ptr, ptr %11, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %455, i32 0, i32 39
  %457 = load i32, ptr %456, align 4, !tbaa !34
  %458 = icmp eq i32 %457, 1
  br i1 %458, label %459, label %488

459:                                              ; preds = %445
  %460 = load ptr, ptr %7, align 8, !tbaa !5
  %461 = load ptr, ptr %10, align 8, !tbaa !5
  %462 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %461, i32 0, i32 22
  %463 = load i32, ptr %462, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %460, i32 noundef %463)
  %464 = load ptr, ptr %7, align 8, !tbaa !5
  %465 = load ptr, ptr %11, align 8, !tbaa !5
  %466 = load ptr, ptr %10, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %466, i32 0, i32 22
  %468 = load i32, ptr %467, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %464, ptr noundef %465, i32 noundef 17, i32 noundef %468)
  %469 = load ptr, ptr %7, align 8, !tbaa !5
  %470 = load ptr, ptr %11, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %470, i32 0, i32 16
  %472 = load i32, ptr %471, align 8, !tbaa !11
  %473 = load ptr, ptr %10, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %473, i32 0, i32 22
  %475 = load i32, ptr %474, align 4, !tbaa !24
  %476 = load i32, ptr %12, align 4, !tbaa !9
  %477 = sext i32 %476 to i64
  %478 = mul nsw i64 %477, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %469, i32 noundef %472, i32 noundef %475, i64 noundef %478)
  %479 = load ptr, ptr %7, align 8, !tbaa !5
  %480 = load ptr, ptr %11, align 8, !tbaa !5
  %481 = load ptr, ptr %10, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %481, i32 0, i32 22
  %483 = load i32, ptr %482, align 4, !tbaa !24
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %479, ptr noundef %480, i32 noundef 17, i32 noundef %483)
  %484 = load ptr, ptr %7, align 8, !tbaa !5
  %485 = load ptr, ptr %10, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %485, i32 0, i32 22
  %487 = load i32, ptr %486, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %484, i32 noundef %487)
  br label %488

488:                                              ; preds = %459, %445
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %489

489:                                              ; preds = %488, %422
  br label %490

490:                                              ; preds = %489, %300
  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 64}
!12 = !{!"libxsmm_micro_kernel_config", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !7, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !7, i64 364, !7, i64 380, !7, i64 396, !7, i64 412, !7, i64 428, !7, i64 444, !10, i64 460, !7, i64 464, !13, i64 520, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !6, i64 592, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !10, i64 680}
!13 = !{!"libxsmm_tile_config", !7, i64 0, !14, i64 2, !7, i64 4, !14, i64 6, !7, i64 8, !14, i64 10, !7, i64 12, !14, i64 14, !7, i64 16, !14, i64 18, !7, i64 20, !14, i64 22, !7, i64 24, !14, i64 26, !7, i64 28, !14, i64 30, !7, i64 32}
!14 = !{!"short", !7, i64 0}
!15 = !{!16, !10, i64 20}
!16 = !{!"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}
!17 = !{!18, !10, i64 20}
!18 = !{!"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, !19, i64 33, !19, 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}
!19 = !{!"long long", !7, i64 0}
!20 = !{!12, !10, i64 120}
!21 = !{!12, !10, i64 152}
!22 = !{!12, !10, i64 128}
!23 = !{!12, !10, i64 136}
!24 = !{!16, !10, i64 88}
!25 = !{!18, !10, i64 90}
!26 = !{!18, !10, i64 24}
!27 = !{!12, !10, i64 16}
!28 = !{!18, !10, i64 16}
!29 = !{!12, !10, i64 80}
!30 = !{!16, !10, i64 64}
!31 = !{!16, !10, i64 56}
!32 = !{!16, !10, i64 12}
!33 = !{!16, !10, i64 16}
!34 = !{!12, !10, i64 156}


; 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

; 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_GEMM_GETENUM_C_PREC(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_amx_adjust_n_advancement(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %2, i64 29
  %8 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %7) #2
  %9 = icmp eq i32 %8, 2
  br i1 %9, label %13, label %10

10:                                               ; preds = %6
  %11 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %7) #2
  %12 = icmp eq i32 %11, 3
  br i1 %12, label %13, label %24

13:                                               ; preds = %10, %6
  %14 = getelementptr inbounds i8, ptr %4, i64 64
  %15 = load i32, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %3, i64 20
  %17 = load i32, ptr %16, align 4, !tbaa !13
  %18 = sext i32 %5 to i64
  %19 = getelementptr inbounds i8, ptr %2, i64 20
  %20 = load i32, ptr %19, align 1, !tbaa !15
  %21 = zext i32 %20 to i64
  %22 = shl nsw i64 %18, 1
  %23 = mul i64 %22, %21
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %15, i32 noundef %17, i64 noundef %23) #2
  br label %54

24:                                               ; preds = %10
  %25 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %7) #2
  %26 = icmp eq i32 %25, 12
  br i1 %26, label %33, label %27

27:                                               ; preds = %24
  %28 = tail call i32 @LIBXSMM_GEMM_GETENUM_C_PREC(ptr noundef nonnull %7) #2
  %29 = icmp eq i32 %28, 5
  br i1 %29, label %33, label %30

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

33:                                               ; preds = %30, %27, %24
  %34 = getelementptr inbounds i8, ptr %4, i64 64
  %35 = load i32, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %3, i64 20
  %37 = load i32, ptr %36, align 4, !tbaa !13
  %38 = sext i32 %5 to i64
  %39 = getelementptr inbounds i8, ptr %2, i64 20
  %40 = load i32, ptr %39, align 1, !tbaa !15
  %41 = zext i32 %40 to i64
  %42 = mul nsw i64 %41, %38
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %35, i32 noundef %37, i64 noundef %42) #2
  br label %54

43:                                               ; preds = %30
  %44 = getelementptr inbounds i8, ptr %4, i64 64
  %45 = load i32, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %3, i64 20
  %47 = load i32, ptr %46, align 4, !tbaa !13
  %48 = sext i32 %5 to i64
  %49 = getelementptr inbounds i8, ptr %2, i64 20
  %50 = load i32, ptr %49, align 1, !tbaa !15
  %51 = zext i32 %50 to i64
  %52 = shl nsw i64 %48, 2
  %53 = mul i64 %52, %51
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %45, i32 noundef %47, i64 noundef %53) #2
  br label %54

54:                                               ; preds = %33, %43, %13
  %55 = getelementptr inbounds i8, ptr %4, i64 120
  %56 = load i32, ptr %55, align 8, !tbaa !18
  %57 = icmp eq i32 %56, 1
  br i1 %57, label %70, label %58

58:                                               ; preds = %54
  %59 = getelementptr inbounds i8, ptr %4, i64 152
  %60 = load i32, ptr %59, align 8, !tbaa !19
  %61 = icmp eq i32 %60, 1
  br i1 %61, label %70, label %62

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %4, i64 128
  %64 = load i32, ptr %63, align 8, !tbaa !20
  %65 = icmp eq i32 %64, 1
  br i1 %65, label %70, label %66

66:                                               ; preds = %62
  %67 = getelementptr inbounds i8, ptr %4, i64 136
  %68 = load i32, ptr %67, align 8, !tbaa !21
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %.thread

70:                                               ; preds = %54, %58, %62, %66
  %71 = getelementptr inbounds i8, ptr %3, i64 88
  %72 = load i32, ptr %71, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %72) #2
  %.pre = load i32, ptr %55, align 8, !tbaa !18
  %73 = icmp eq i32 %.pre, 1
  br i1 %73, label %74, label %.thread

74:                                               ; preds = %70
  %75 = getelementptr inbounds i8, ptr %4, i64 136
  %76 = load i32, ptr %75, align 8, !tbaa !21
  %77 = icmp eq i32 %76, 1
  br i1 %77, label %78, label %.thread

78:                                               ; preds = %74
  %79 = getelementptr inbounds i8, ptr %3, i64 88
  %80 = load i32, ptr %79, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %80) #2
  %81 = getelementptr inbounds i8, ptr %4, i64 64
  %82 = load i32, ptr %81, align 8, !tbaa !5
  %83 = load i32, ptr %79, align 4, !tbaa !22
  %84 = sext i32 %5 to i64
  %85 = getelementptr inbounds i8, ptr %2, i64 90
  %86 = load i32, ptr %85, align 1, !tbaa !23
  %87 = zext i32 %86 to i64
  %88 = mul nsw i64 %87, %84
  %89 = sdiv i64 %88, 8
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %82, i32 noundef %83, i64 noundef %89) #2
  %90 = load i32, ptr %79, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %90) #2
  br label %.thread

.thread:                                          ; preds = %66, %78, %74, %70
  %91 = getelementptr inbounds i8, ptr %4, i64 152
  %92 = load i32, ptr %91, align 8, !tbaa !19
  %93 = icmp eq i32 %92, 1
  br i1 %93, label %94, label %107

94:                                               ; preds = %.thread
  %95 = getelementptr inbounds i8, ptr %3, i64 88
  %96 = load i32, ptr %95, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %96) #2
  %97 = getelementptr inbounds i8, ptr %4, i64 64
  %98 = load i32, ptr %97, align 8, !tbaa !5
  %99 = load i32, ptr %95, align 4, !tbaa !22
  %100 = sext i32 %5 to i64
  %101 = getelementptr inbounds i8, ptr %2, i64 20
  %102 = load i32, ptr %101, align 1, !tbaa !15
  %103 = zext i32 %102 to i64
  %104 = shl nsw i64 %100, 1
  %105 = mul i64 %104, %103
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %98, i32 noundef %99, i64 noundef %105) #2
  %106 = load i32, ptr %95, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %106) #2
  br label %107

107:                                              ; preds = %94, %.thread
  %108 = getelementptr inbounds i8, ptr %4, i64 128
  %109 = load i32, ptr %108, align 8, !tbaa !20
  %110 = icmp eq i32 %109, 1
  br i1 %110, label %111, label %124

111:                                              ; preds = %107
  %112 = getelementptr inbounds i8, ptr %3, i64 88
  %113 = load i32, ptr %112, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 19, i32 noundef %113) #2
  %114 = getelementptr inbounds i8, ptr %4, i64 64
  %115 = load i32, ptr %114, align 8, !tbaa !5
  %116 = load i32, ptr %112, align 4, !tbaa !22
  %117 = sext i32 %5 to i64
  %118 = getelementptr inbounds i8, ptr %2, i64 90
  %119 = load i32, ptr %118, align 1, !tbaa !23
  %120 = zext i32 %119 to i64
  %121 = mul nsw i64 %120, %117
  %122 = sdiv i64 %121, 8
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %115, i32 noundef %116, i64 noundef %122) #2
  %123 = load i32, ptr %112, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 19, i32 noundef %123) #2
  br label %124

124:                                              ; preds = %111, %107
  %125 = getelementptr inbounds i8, ptr %4, i64 136
  %126 = load i32, ptr %125, align 8, !tbaa !21
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %141

128:                                              ; preds = %124
  %129 = getelementptr inbounds i8, ptr %3, i64 88
  %130 = load i32, ptr %129, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %130) #2
  %131 = getelementptr inbounds i8, ptr %4, i64 64
  %132 = load i32, ptr %131, align 8, !tbaa !5
  %133 = load i32, ptr %129, align 4, !tbaa !22
  %134 = sext i32 %5 to i64
  %135 = getelementptr inbounds i8, ptr %2, i64 20
  %136 = load i32, ptr %135, align 1, !tbaa !15
  %137 = zext i32 %136 to i64
  %138 = shl nsw i64 %134, 1
  %139 = mul i64 %138, %137
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %132, i32 noundef %133, i64 noundef %139) #2
  %140 = load i32, ptr %129, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %140) #2
  br label %141

141:                                              ; preds = %128, %124
  %142 = load i32, ptr %55, align 8, !tbaa !18
  %143 = icmp eq i32 %142, 1
  br i1 %143, label %153, label %144

144:                                              ; preds = %141
  %145 = load i32, ptr %91, align 8, !tbaa !19
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %153, label %147

147:                                              ; preds = %144
  %148 = load i32, ptr %108, align 8, !tbaa !20
  %149 = icmp eq i32 %148, 1
  br i1 %149, label %153, label %150

150:                                              ; preds = %147
  %151 = load i32, ptr %125, align 8, !tbaa !21
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %156

153:                                              ; preds = %150, %147, %144, %141
  %154 = getelementptr inbounds i8, ptr %3, i64 88
  %155 = load i32, ptr %154, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %155) #2
  br label %156

156:                                              ; preds = %153, %150
  %157 = getelementptr inbounds i8, ptr %2, i64 24
  %158 = load i32, ptr %157, align 1, !tbaa !24
  %159 = and i32 %158, 65536
  %.not = icmp eq i32 %159, 0
  br i1 %.not, label %190, label %160

160:                                              ; preds = %156
  %161 = and i32 %158, 2
  %.not168 = icmp eq i32 %161, 0
  br i1 %.not168, label %166, label %162

162:                                              ; preds = %160
  %163 = getelementptr inbounds i8, ptr %4, i64 16
  %164 = load i32, ptr %163, align 8, !tbaa !25
  %165 = mul i32 %164, %5
  br label %173

166:                                              ; preds = %160
  %167 = getelementptr inbounds i8, ptr %2, i64 16
  %168 = load i32, ptr %167, align 1, !tbaa !26
  %169 = mul i32 %168, %5
  %170 = getelementptr inbounds i8, ptr %4, i64 16
  %171 = load i32, ptr %170, align 8, !tbaa !25
  %172 = mul i32 %169, %171
  br label %173

173:                                              ; preds = %166, %162
  %.0163 = phi i32 [ %165, %162 ], [ %172, %166 ]
  tail call void @libxsmm_generator_gemm_header_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %174 = getelementptr inbounds i8, ptr %4, i64 80
  %175 = load i32, ptr %174, align 8, !tbaa !27
  %176 = getelementptr inbounds i8, ptr %3, i64 64
  %177 = load i32, ptr %176, align 4, !tbaa !28
  %178 = getelementptr inbounds i8, ptr %3, i64 56
  %179 = load i32, ptr %178, align 4, !tbaa !29
  %180 = getelementptr inbounds i8, ptr %3, i64 12
  %181 = load i32, ptr %180, align 4, !tbaa !30
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %175, i32 noundef %177, i32 noundef %179, i32 noundef 8, i32 noundef 0, i32 noundef %181, i32 noundef 0) #2
  %182 = getelementptr inbounds i8, ptr %4, i64 64
  %183 = load i32, ptr %182, align 8, !tbaa !5
  %184 = load i32, ptr %180, align 4, !tbaa !30
  %185 = sext i32 %.0163 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %183, i32 noundef %184, i64 noundef %185) #2
  %186 = load i32, ptr %174, align 8, !tbaa !27
  %187 = load i32, ptr %176, align 4, !tbaa !28
  %188 = load i32, ptr %178, align 4, !tbaa !29
  %189 = load i32, ptr %180, align 4, !tbaa !30
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %186, i32 noundef %187, i32 noundef %188, i32 noundef 8, i32 noundef 0, i32 noundef %189, i32 noundef 1) #2
  tail call void @libxsmm_generator_gemm_footer_reduceloop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2)
  br label %255

190:                                              ; preds = %156
  %191 = and i32 %158, 393216
  %or.cond = icmp eq i32 %191, 0
  %192 = and i32 %158, 2
  %.not166 = icmp eq i32 %192, 0
  br i1 %or.cond, label %224, label %193

193:                                              ; preds = %190
  br i1 %.not166, label %198, label %194

194:                                              ; preds = %193
  %195 = getelementptr inbounds i8, ptr %4, i64 16
  %196 = load i32, ptr %195, align 8, !tbaa !25
  %197 = mul i32 %196, %5
  br label %205

198:                                              ; preds = %193
  %199 = getelementptr inbounds i8, ptr %2, i64 16
  %200 = load i32, ptr %199, align 1, !tbaa !26
  %201 = mul i32 %200, %5
  %202 = getelementptr inbounds i8, ptr %4, i64 16
  %203 = load i32, ptr %202, align 8, !tbaa !25
  %204 = mul i32 %201, %203
  br label %205

205:                                              ; preds = %198, %194
  %.0162 = phi i32 [ %197, %194 ], [ %204, %198 ]
  %206 = getelementptr inbounds i8, ptr %4, i64 64
  %207 = load i32, ptr %206, align 8, !tbaa !5
  %208 = getelementptr inbounds i8, ptr %3, i64 16
  %209 = load i32, ptr %208, align 4, !tbaa !31
  %210 = sext i32 %.0162 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %207, i32 noundef %209, i64 noundef %210) #2
  %211 = getelementptr inbounds i8, ptr %4, i64 156
  %212 = load i32, ptr %211, align 4, !tbaa !32
  %213 = icmp eq i32 %212, 1
  br i1 %213, label %214, label %255

214:                                              ; preds = %205
  %215 = getelementptr inbounds i8, ptr %3, i64 88
  %216 = load i32, ptr %215, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %216) #2
  %217 = load i32, ptr %215, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 17, i32 noundef %217) #2
  %218 = load i32, ptr %206, align 8, !tbaa !5
  %219 = load i32, ptr %215, align 4, !tbaa !22
  %220 = sext i32 %5 to i64
  %221 = shl nsw i64 %220, 1
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %218, i32 noundef %219, i64 noundef %221) #2
  %222 = load i32, ptr %215, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 17, i32 noundef %222) #2
  %223 = load i32, ptr %215, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %223) #2
  br label %255

224:                                              ; preds = %190
  br i1 %.not166, label %229, label %225

225:                                              ; preds = %224
  %226 = getelementptr inbounds i8, ptr %4, i64 16
  %227 = load i32, ptr %226, align 8, !tbaa !25
  %228 = mul i32 %227, %5
  br label %236

229:                                              ; preds = %224
  %230 = getelementptr inbounds i8, ptr %2, i64 16
  %231 = load i32, ptr %230, align 1, !tbaa !26
  %232 = mul i32 %231, %5
  %233 = getelementptr inbounds i8, ptr %4, i64 16
  %234 = load i32, ptr %233, align 8, !tbaa !25
  %235 = mul i32 %232, %234
  br label %236

236:                                              ; preds = %229, %225
  %.0 = phi i32 [ %228, %225 ], [ %235, %229 ]
  %237 = getelementptr inbounds i8, ptr %4, i64 64
  %238 = load i32, ptr %237, align 8, !tbaa !5
  %239 = getelementptr inbounds i8, ptr %3, i64 12
  %240 = load i32, ptr %239, align 4, !tbaa !30
  %241 = sext i32 %.0 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %238, i32 noundef %240, i64 noundef %241) #2
  %242 = getelementptr inbounds i8, ptr %4, i64 156
  %243 = load i32, ptr %242, align 4, !tbaa !32
  %244 = icmp eq i32 %243, 1
  br i1 %244, label %245, label %255

245:                                              ; preds = %236
  %246 = getelementptr inbounds i8, ptr %3, i64 88
  %247 = load i32, ptr %246, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef %247) #2
  %248 = load i32, ptr %246, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 17, i32 noundef %248) #2
  %249 = load i32, ptr %237, align 8, !tbaa !5
  %250 = load i32, ptr %246, align 4, !tbaa !22
  %251 = sext i32 %5 to i64
  %252 = shl nsw i64 %251, 1
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %249, i32 noundef %250, i64 noundef %252) #2
  %253 = load i32, ptr %246, align 4, !tbaa !22
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 17, i32 noundef %253) #2
  %254 = load i32, ptr %246, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef %254) #2
  br label %255

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


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