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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.libxsmm_micro_kernel_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [2 x %struct.libxsmm_blocking_info_t], %struct.libxsmm_tile_config, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_blocking_info_t = type { i32, [4 x i32], i32, i32 }
%struct.libxsmm_tile_config = type { i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8 }
%struct.libxsmm_loop_label_tracker_struct = type { [512 x i32], i32 }
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%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 }>

@__func__.libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512 = external hidden unnamed_addr constant [52 x i8], align 1
@.str = external hidden unnamed_addr constant [99 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %13 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %14 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 688, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 2052, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 132, ptr %14) #3
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %19, i32 0, i32 6
  %21 = load i32, ptr %20, align 4, !tbaa !11
  %22 = icmp uge i32 %21, 1101
  br i1 %22, label %23, label %29

23:                                               ; preds = %3
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %24, i32 0, i32 6
  %26 = load i32, ptr %25, align 4, !tbaa !11
  %27 = icmp ule i32 %26, 1999
  br i1 %27, label %28, label %29

28:                                               ; preds = %23
  store i32 28, ptr %7, align 4, !tbaa !9
  br label %30

29:                                               ; preds = %23, %3
  store i32 13, ptr %7, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %29, %28
  call void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef %14)
  %31 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 0
  store i32 7, ptr %31, align 4, !tbaa !13
  %32 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 1
  store i32 7, ptr %32, align 4, !tbaa !15
  %33 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 3
  store i32 6, ptr %33, align 4, !tbaa !16
  %34 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 5
  store i32 2, ptr %34, align 4, !tbaa !17
  %35 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 6
  store i32 1, ptr %35, align 4, !tbaa !18
  %36 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 8
  store i32 8, ptr %36, align 4, !tbaa !19
  %37 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 10
  store i32 12, ptr %37, align 4, !tbaa !20
  %38 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  store i32 13, ptr %38, align 4, !tbaa !21
  %39 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 12
  store i32 14, ptr %39, align 4, !tbaa !22
  %40 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 22
  store i32 10, ptr %40, align 4, !tbaa !23
  %41 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 23
  store i32 11, ptr %41, align 4, !tbaa !24
  %42 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 24
  store i32 127, ptr %42, align 4, !tbaa !25
  %43 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 25
  store i32 127, ptr %43, align 4, !tbaa !26
  %44 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 26
  store i32 127, ptr %44, align 4, !tbaa !27
  %45 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 27
  store i32 127, ptr %45, align 4, !tbaa !28
  call void @libxsmm_reset_loop_label_tracker(ptr noundef %13)
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %47, align 4, !tbaa !11
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef %12, i32 noundef %48, ptr noundef %49, i32 noundef 0)
  %50 = load ptr, ptr %5, 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_AB_COMMON_PREC(ptr noundef %52)
  %54 = icmp eq i32 0, %53
  br i1 %54, label %55, label %58

55:                                               ; preds = %30
  %56 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 6
  store i32 545598233, ptr %56, align 8, !tbaa !29
  %57 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 7
  store i32 545592848, ptr %57, align 4, !tbaa !33
  br label %61

58:                                               ; preds = %30
  %59 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 6
  store i32 537209368, ptr %59, align 8, !tbaa !29
  %60 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 7
  store i32 537138704, ptr %60, align 4, !tbaa !33
  br label %61

61:                                               ; preds = %58, %55
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 1, !tbaa !34
  %65 = load i32, ptr %7, align 4, !tbaa !9
  %66 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %64, i32 noundef %65, ptr noundef %8, ptr noundef %10, ptr noundef %9, ptr noundef %11)
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %77

68:                                               ; preds = %61
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %71 = icmp ult i32 1, %70
  br i1 %71, label %72, label %74

72:                                               ; preds = %68
  %73 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %75

74:                                               ; preds = %68
  br label %75

75:                                               ; preds = %74, %72
  %76 = phi i32 [ %73, %72 ], [ 1, %74 ]
  call void @libxsmm_handle_error(ptr noundef %69, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512, ptr noundef @.str, i32 noundef 85, i32 noundef %76)
  store i32 1, ptr %15, align 4
  br label %384

77:                                               ; preds = %61
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %79, i32 0, i32 7
  %81 = load i8, ptr %80, align 1, !tbaa !37
  %82 = zext i8 %81 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef %78, ptr noundef %14, i32 noundef 0, i32 noundef %82)
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %84, align 1, !tbaa !38
  %86 = and i32 16384, %85
  %87 = icmp eq i32 %86, 16384
  br i1 %87, label %88, label %143

88:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  store i32 32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 80, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 128, ptr %18, align 4, !tbaa !9
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 0
  %91 = load i32, ptr %90, align 4, !tbaa !13
  %92 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 23
  %93 = load i32, ptr %92, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %89, i32 noundef -1568407413, i32 noundef %91, i32 noundef %93)
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %96 = load i32, ptr %95, align 8, !tbaa !39
  %97 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 23
  %98 = load i32, ptr %97, align 4, !tbaa !24
  %99 = load i32, ptr %16, align 4, !tbaa !9
  %100 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 1
  %101 = load i32, ptr %100, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %94, i32 noundef %96, i32 noundef %98, i32 noundef 127, i32 noundef 0, i32 noundef %99, i32 noundef %101, i32 noundef 0)
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %104 = load i32, ptr %103, align 8, !tbaa !39
  %105 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 23
  %106 = load i32, ptr %105, align 4, !tbaa !24
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 3
  %109 = load i32, ptr %108, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %102, i32 noundef %104, i32 noundef %106, i32 noundef 127, i32 noundef 0, i32 noundef %107, i32 noundef %109, i32 noundef 0)
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %112 = load i32, ptr %111, align 8, !tbaa !39
  %113 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 23
  %114 = load i32, ptr %113, align 4, !tbaa !24
  %115 = load i32, ptr %18, align 4, !tbaa !9
  %116 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 5
  %117 = load i32, ptr %116, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %110, i32 noundef %112, i32 noundef %114, i32 noundef 127, i32 noundef 0, i32 noundef %115, i32 noundef %117, i32 noundef 0)
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %118, i32 0, i32 7
  %120 = load i8, ptr %119, align 1, !tbaa !37
  %121 = zext i8 %120 to i32
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %142

123:                                              ; preds = %88
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %126 = load i32, ptr %125, align 8, !tbaa !39
  %127 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 23
  %128 = load i32, ptr %127, align 4, !tbaa !24
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = add nsw i32 %129, 40
  %131 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 6
  %132 = load i32, ptr %131, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %124, i32 noundef %126, i32 noundef %128, i32 noundef 127, i32 noundef 0, i32 noundef %130, i32 noundef %132, i32 noundef 0)
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %135 = load i32, ptr %134, align 8, !tbaa !39
  %136 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 23
  %137 = load i32, ptr %136, align 4, !tbaa !24
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = add nsw i32 %138, 40
  %140 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 8
  %141 = load i32, ptr %140, align 4, !tbaa !19
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %133, i32 noundef %135, i32 noundef %137, i32 noundef 127, i32 noundef 0, i32 noundef %139, i32 noundef %141, i32 noundef 0)
  br label %142

142:                                              ; preds = %123, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %144

143:                                              ; preds = %77
  br label %144

144:                                              ; preds = %143, %142
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %147 = load i32, ptr %146, align 8, !tbaa !39
  %148 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 10
  %149 = load i32, ptr %148, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %145, i32 noundef %147, i32 noundef %149, i64 noundef 0)
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %150, ptr noundef %13)
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 16
  %153 = load i32, ptr %152, align 8, !tbaa !40
  %154 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 10
  %155 = load i32, ptr %154, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %151, i32 noundef %153, i32 noundef %155, i64 noundef 1)
  %156 = load i32, ptr %10, align 4, !tbaa !9
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %157, i32 0, i32 1
  %159 = load i32, ptr %158, align 1, !tbaa !34
  %160 = icmp eq i32 %156, %159
  br i1 %160, label %161, label %168

161:                                              ; preds = %144
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = load i32, ptr %6, align 4, !tbaa !9
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %165, i32 0, i32 1
  %167 = load i32, ptr %166, align 1, !tbaa !34
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef %162, ptr noundef %13, ptr noundef %14, ptr noundef %12, ptr noundef %163, i32 noundef %164, i32 noundef %167)
  br label %337

168:                                              ; preds = %144
  %169 = load i32, ptr %8, align 4, !tbaa !9
  %170 = icmp ugt i32 %169, 0
  br i1 %170, label %171, label %258

171:                                              ; preds = %168
  %172 = load i32, ptr %9, align 4, !tbaa !9
  %173 = icmp ugt i32 %172, 0
  br i1 %173, label %174, label %258

174:                                              ; preds = %171
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %177 = load i32, ptr %176, align 8, !tbaa !39
  %178 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %179 = load i32, ptr %178, align 4, !tbaa !21
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %175, i32 noundef %177, i32 noundef %179, i64 noundef 0)
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %180, ptr noundef %13)
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 16
  %183 = load i32, ptr %182, align 8, !tbaa !40
  %184 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %185 = load i32, ptr %184, align 4, !tbaa !21
  %186 = load i32, ptr %10, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %181, i32 noundef %183, i32 noundef %185, i64 noundef %187)
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = load i32, ptr %6, align 4, !tbaa !9
  %191 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef %188, ptr noundef %13, ptr noundef %14, ptr noundef %12, ptr noundef %189, i32 noundef %190, i32 noundef %191)
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 18
  %194 = load i32, ptr %193, align 8, !tbaa !41
  %195 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %196 = load i32, ptr %195, align 4, !tbaa !21
  %197 = load i32, ptr %8, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %192, i32 noundef %194, i32 noundef %196, i64 noundef %198)
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 19
  %201 = load i32, ptr %200, align 4, !tbaa !42
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %199, i32 noundef %201, ptr noundef %13)
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %202, ptr noundef %13)
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 16
  %205 = load i32, ptr %204, align 8, !tbaa !40
  %206 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %207 = load i32, ptr %206, align 4, !tbaa !21
  %208 = load i32, ptr %11, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %203, i32 noundef %205, i32 noundef %207, i64 noundef %209)
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = load i32, ptr %6, align 4, !tbaa !9
  %213 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef %210, ptr noundef %13, ptr noundef %14, ptr noundef %12, ptr noundef %211, i32 noundef %212, i32 noundef %213)
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 18
  %216 = load i32, ptr %215, align 8, !tbaa !41
  %217 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %218 = load i32, ptr %217, align 4, !tbaa !21
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %219, i32 0, i32 1
  %221 = load i32, ptr %220, align 1, !tbaa !34
  %222 = zext i32 %221 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %214, i32 noundef %216, i32 noundef %218, i64 noundef %222)
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 19
  %225 = load i32, ptr %224, align 4, !tbaa !42
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %223, i32 noundef %225, ptr noundef %13)
  %226 = load ptr, ptr %4, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 17
  %228 = load i32, ptr %227, align 4, !tbaa !43
  %229 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 3
  %230 = load i32, ptr %229, align 4, !tbaa !16
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %231, i32 0, i32 1
  %233 = load i32, ptr %232, align 1, !tbaa !34
  %234 = zext i32 %233 to i64
  %235 = load i32, ptr %6, align 4, !tbaa !9
  %236 = zext i32 %235 to i64
  %237 = mul nsw i64 %234, %236
  %238 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 3
  %239 = load i32, ptr %238, align 4, !tbaa !44
  %240 = zext i32 %239 to i64
  %241 = mul nsw i64 %237, %240
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %226, i32 noundef %228, i32 noundef %230, i64 noundef %241)
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 17
  %244 = load i32, ptr %243, align 4, !tbaa !43
  %245 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 5
  %246 = load i32, ptr %245, align 4, !tbaa !17
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %247, i32 0, i32 1
  %249 = load i32, ptr %248, align 1, !tbaa !34
  %250 = zext i32 %249 to i64
  %251 = load i32, ptr %6, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = mul nsw i64 %250, %252
  %254 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 5
  %255 = load i32, ptr %254, align 4, !tbaa !45
  %256 = zext i32 %255 to i64
  %257 = mul nsw i64 %253, %256
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %242, i32 noundef %244, i32 noundef %246, i64 noundef %257)
  br label %336

258:                                              ; preds = %171, %168
  %259 = load i32, ptr %8, align 4, !tbaa !9
  %260 = icmp ugt i32 %259, 0
  br i1 %260, label %261, label %326

261:                                              ; preds = %258
  %262 = load i32, ptr %9, align 4, !tbaa !9
  %263 = icmp eq i32 %262, 0
  br i1 %263, label %264, label %326

264:                                              ; preds = %261
  %265 = load ptr, ptr %4, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 20
  %267 = load i32, ptr %266, align 8, !tbaa !39
  %268 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %269 = load i32, ptr %268, align 4, !tbaa !21
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %265, i32 noundef %267, i32 noundef %269, i64 noundef 0)
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %270, ptr noundef %13)
  %271 = load ptr, ptr %4, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 16
  %273 = load i32, ptr %272, align 8, !tbaa !40
  %274 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %275 = load i32, ptr %274, align 4, !tbaa !21
  %276 = load i32, ptr %10, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %271, i32 noundef %273, i32 noundef %275, i64 noundef %277)
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = load ptr, ptr %5, align 8, !tbaa !5
  %280 = load i32, ptr %6, align 4, !tbaa !9
  %281 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef %278, ptr noundef %13, ptr noundef %14, ptr noundef %12, ptr noundef %279, i32 noundef %280, i32 noundef %281)
  %282 = load ptr, ptr %4, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 18
  %284 = load i32, ptr %283, align 8, !tbaa !41
  %285 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 11
  %286 = load i32, ptr %285, align 4, !tbaa !21
  %287 = load ptr, ptr %5, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %287, i32 0, i32 1
  %289 = load i32, ptr %288, align 1, !tbaa !34
  %290 = zext i32 %289 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %282, i32 noundef %284, i32 noundef %286, i64 noundef %290)
  %291 = load ptr, ptr %4, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 19
  %293 = load i32, ptr %292, align 4, !tbaa !42
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %291, i32 noundef %293, ptr noundef %13)
  %294 = load ptr, ptr %4, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 17
  %296 = load i32, ptr %295, align 4, !tbaa !43
  %297 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 3
  %298 = load i32, ptr %297, align 4, !tbaa !16
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %299, i32 0, i32 1
  %301 = load i32, ptr %300, align 1, !tbaa !34
  %302 = zext i32 %301 to i64
  %303 = load i32, ptr %6, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = mul nsw i64 %302, %304
  %306 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 3
  %307 = load i32, ptr %306, align 4, !tbaa !44
  %308 = zext i32 %307 to i64
  %309 = mul nsw i64 %305, %308
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %294, i32 noundef %296, i32 noundef %298, i64 noundef %309)
  %310 = load ptr, ptr %4, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 17
  %312 = load i32, ptr %311, align 4, !tbaa !43
  %313 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 5
  %314 = load i32, ptr %313, align 4, !tbaa !17
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %315, i32 0, i32 1
  %317 = load i32, ptr %316, align 1, !tbaa !34
  %318 = zext i32 %317 to i64
  %319 = load i32, ptr %6, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = mul nsw i64 %318, %320
  %322 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 5
  %323 = load i32, ptr %322, align 4, !tbaa !45
  %324 = zext i32 %323 to i64
  %325 = mul nsw i64 %321, %324
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %310, i32 noundef %312, i32 noundef %314, i64 noundef %325)
  br label %335

326:                                              ; preds = %261, %258
  %327 = load ptr, ptr %4, align 8, !tbaa !5
  %328 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %329 = icmp ult i32 1, %328
  br i1 %329, label %330, label %332

330:                                              ; preds = %326
  %331 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %333

332:                                              ; preds = %326
  br label %333

333:                                              ; preds = %332, %330
  %334 = phi i32 [ %331, %330 ], [ 1, %332 ]
  call void @libxsmm_handle_error(ptr noundef %327, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512, ptr noundef @.str, i32 noundef 196, i32 noundef %334)
  store i32 1, ptr %15, align 4
  br label %384

335:                                              ; preds = %264
  br label %336

336:                                              ; preds = %335, %174
  br label %337

337:                                              ; preds = %336, %161
  %338 = load ptr, ptr %4, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 16
  %340 = load i32, ptr %339, align 8, !tbaa !40
  %341 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 1
  %342 = load i32, ptr %341, align 4, !tbaa !15
  %343 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 3
  %344 = load i32, ptr %343, align 4, !tbaa !44
  %345 = zext i32 %344 to i64
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %346, i32 0, i32 3
  %348 = load i32, ptr %347, align 1, !tbaa !46
  %349 = zext i32 %348 to i64
  %350 = mul nsw i64 %345, %349
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %338, i32 noundef %340, i32 noundef %342, i64 noundef %350)
  %351 = load ptr, ptr %4, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 16
  %353 = load i32, ptr %352, align 8, !tbaa !40
  %354 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 5
  %355 = load i32, ptr %354, align 4, !tbaa !17
  %356 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 5
  %357 = load i32, ptr %356, align 4, !tbaa !45
  %358 = zext i32 %357 to i64
  %359 = load i32, ptr %6, align 4, !tbaa !9
  %360 = zext i32 %359 to i64
  %361 = mul nsw i64 %358, %360
  %362 = load ptr, ptr %5, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %362, i32 0, i32 5
  %364 = load i32, ptr %363, align 1, !tbaa !47
  %365 = zext i32 %364 to i64
  %366 = mul nsw i64 %361, %365
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %351, i32 noundef %353, i32 noundef %355, i64 noundef %366)
  %367 = load ptr, ptr %4, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 18
  %369 = load i32, ptr %368, align 8, !tbaa !41
  %370 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %14, i32 0, i32 10
  %371 = load i32, ptr %370, align 4, !tbaa !20
  %372 = load ptr, ptr %5, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %372, i32 0, i32 0
  %374 = load i32, ptr %373, align 1, !tbaa !48
  %375 = zext i32 %374 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %367, i32 noundef %369, i32 noundef %371, i64 noundef %375)
  %376 = load ptr, ptr %4, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %12, i32 0, i32 19
  %378 = load i32, ptr %377, align 4, !tbaa !42
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %376, i32 noundef %378, ptr noundef %13)
  %379 = load ptr, ptr %4, align 8, !tbaa !5
  %380 = load ptr, ptr %5, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %380, i32 0, i32 7
  %382 = load i8, ptr %381, align 1, !tbaa !37
  %383 = zext i8 %382 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef %379, ptr noundef %14, i32 noundef 0, i32 noundef %383)
  store i32 0, ptr %15, align 4
  br label %384

384:                                              ; preds = %337, %333, %75
  call void @llvm.lifetime.end.p0(i64 132, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 2052, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 688, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  %385 = load i32, ptr %15, align 4
  switch i32 %385, label %387 [
    i32 0, label %386
    i32 1, label %386
  ]

386:                                              ; preds = %384, %384
  ret void

387:                                              ; preds = %384
  unreachable
}

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

declare void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef) #2

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) #2

declare void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) #2

declare i32 @libxsmm_compute_equalized_blocking(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

declare void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_x86_instruction_alu_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

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

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

declare void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

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

declare void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 28}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!14, !10, i64 0}
!14 = !{!"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}
!15 = !{!14, !10, i64 4}
!16 = !{!14, !10, i64 12}
!17 = !{!14, !10, i64 20}
!18 = !{!14, !10, i64 24}
!19 = !{!14, !10, i64 32}
!20 = !{!14, !10, i64 40}
!21 = !{!14, !10, i64 44}
!22 = !{!14, !10, i64 48}
!23 = !{!14, !10, i64 88}
!24 = !{!14, !10, i64 92}
!25 = !{!14, !10, i64 96}
!26 = !{!14, !10, i64 100}
!27 = !{!14, !10, i64 104}
!28 = !{!14, !10, i64 108}
!29 = !{!30, !10, i64 24}
!30 = !{!"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, !31, 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}
!31 = !{!"libxsmm_tile_config", !7, i64 0, !32, i64 2, !7, i64 4, !32, i64 6, !7, i64 8, !32, i64 10, !7, i64 12, !32, i64 14, !7, i64 16, !32, i64 18, !7, i64 20, !32, i64 22, !7, i64 24, !32, i64 26, !7, i64 28, !32, i64 30, !7, i64 32}
!32 = !{!"short", !7, i64 0}
!33 = !{!30, !10, i64 28}
!34 = !{!35, !10, i64 4}
!35 = !{!"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, !36, i64 33, !36, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !32, i64 62, !32, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !32, i64 70, !32, i64 72, !32, i64 74, !32, i64 76, !32, i64 78, !32, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!36 = !{!"long long", !7, i64 0}
!37 = !{!35, !7, i64 28}
!38 = !{!35, !10, i64 24}
!39 = !{!30, !10, i64 80}
!40 = !{!30, !10, i64 64}
!41 = !{!30, !10, i64 72}
!42 = !{!30, !10, i64 76}
!43 = !{!30, !10, i64 68}
!44 = !{!30, !10, i64 12}
!45 = !{!30, !10, i64 20}
!46 = !{!35, !10, i64 12}
!47 = !{!35, !10, i64 20}
!48 = !{!35, !10, i64 0}


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

%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_loop_label_tracker_struct = type { [512 x i32], i32 }
%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 }

@__func__.libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512 = external hidden unnamed_addr constant [52 x i8], align 1
@.str = external hidden unnamed_addr constant [99 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %9 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %10 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  store i32 0, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 688, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2052, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 132, ptr nonnull %10) #3
  %11 = getelementptr inbounds i8, ptr %0, i64 28
  %12 = load i32, ptr %11, align 4, !tbaa !9
  %13 = add i32 %12, -1101
  %or.cond85 = icmp ult i32 %13, 899
  %.0 = select i1 %or.cond85, i32 28, i32 13
  call void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef nonnull %10) #3
  store i32 7, ptr %10, align 4, !tbaa !12
  %14 = getelementptr inbounds i8, ptr %10, i64 4
  store i32 7, ptr %14, align 4, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %10, i64 12
  store i32 6, ptr %15, align 4, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %10, i64 20
  store i32 2, ptr %16, align 4, !tbaa !16
  %17 = getelementptr inbounds i8, ptr %10, i64 24
  store i32 1, ptr %17, align 4, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %10, i64 32
  store i32 8, ptr %18, align 4, !tbaa !18
  %19 = getelementptr inbounds i8, ptr %10, i64 40
  store i32 12, ptr %19, align 4, !tbaa !19
  %20 = getelementptr inbounds i8, ptr %10, i64 44
  store i32 13, ptr %20, align 4, !tbaa !20
  %21 = getelementptr inbounds i8, ptr %10, i64 48
  store i32 14, ptr %21, align 4, !tbaa !21
  %22 = getelementptr inbounds i8, ptr %10, i64 88
  %23 = getelementptr inbounds i8, ptr %10, i64 92
  store <4 x i32> <i32 10, i32 11, i32 127, i32 127>, ptr %22, align 4, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %10, i64 104
  store i32 127, ptr %24, align 4, !tbaa !22
  %25 = getelementptr inbounds i8, ptr %10, i64 108
  store i32 127, ptr %25, align 4, !tbaa !23
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %9) #3
  %26 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef nonnull %8, i32 noundef %26, ptr noundef %1, i32 noundef 0) #3
  %27 = getelementptr inbounds i8, ptr %1, i64 29
  %28 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %27) #3
  %29 = icmp eq i32 %28, 0
  %spec.select = select i1 %29, i32 545598233, i32 537209368
  %spec.select87 = select i1 %29, i32 545592848, i32 537138704
  %30 = getelementptr inbounds i8, ptr %8, i64 24
  store i32 %spec.select, ptr %30, align 8
  %31 = getelementptr inbounds i8, ptr %8, i64 28
  store i32 %spec.select87, ptr %31, align 4
  %32 = getelementptr inbounds i8, ptr %1, i64 4
  %33 = load i32, ptr %32, align 1, !tbaa !24
  %34 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %33, i32 noundef %.0, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %5, ptr noundef nonnull %7) #3
  %.not = icmp eq i32 %34, 0
  br i1 %.not, label %40, label %35

35:                                               ; preds = %3
  %36 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %37 = icmp ugt i32 %36, 1
  %38 = load i32, ptr @libxsmm_verbosity, align 4
  %39 = select i1 %37, i32 %38, i32 1
  call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512, ptr noundef nonnull @.str, i32 noundef 85, i32 noundef %39) #3
  br label %200

40:                                               ; preds = %3
  %41 = getelementptr inbounds i8, ptr %1, i64 28
  %42 = load i8, ptr %41, align 1, !tbaa !28
  %43 = zext i8 %42 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef nonnull %0, ptr noundef nonnull %10, i32 noundef 0, i32 noundef %43) #3
  %44 = getelementptr inbounds i8, ptr %1, i64 24
  %45 = load i32, ptr %44, align 1, !tbaa !29
  %46 = and i32 %45, 16384
  %.not83 = icmp eq i32 %46, 0
  br i1 %.not83, label %68, label %47

47:                                               ; preds = %40
  %48 = load i32, ptr %10, align 4, !tbaa !12
  %49 = load i32, ptr %23, align 4, !tbaa !30
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef -1568407413, i32 noundef %48, i32 noundef %49) #3
  %50 = getelementptr inbounds i8, ptr %8, i64 80
  %51 = load i32, ptr %50, align 8, !tbaa !31
  %52 = load i32, ptr %23, align 4, !tbaa !30
  %53 = load i32, ptr %14, align 4, !tbaa !14
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %51, i32 noundef %52, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef %53, i32 noundef 0) #3
  %54 = load i32, ptr %50, align 8, !tbaa !31
  %55 = load i32, ptr %23, align 4, !tbaa !30
  %56 = load i32, ptr %15, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %54, i32 noundef %55, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef %56, i32 noundef 0) #3
  %57 = load i32, ptr %50, align 8, !tbaa !31
  %58 = load i32, ptr %23, align 4, !tbaa !30
  %59 = load i32, ptr %16, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58, i32 noundef 127, i32 noundef 0, i32 noundef 128, i32 noundef %59, i32 noundef 0) #3
  %60 = load i8, ptr %41, align 1, !tbaa !28
  %.not84 = icmp eq i8 %60, 0
  br i1 %.not84, label %68, label %61

61:                                               ; preds = %47
  %62 = load i32, ptr %50, align 8, !tbaa !31
  %63 = load i32, ptr %23, align 4, !tbaa !30
  %64 = load i32, ptr %17, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %63, i32 noundef 127, i32 noundef 0, i32 noundef 72, i32 noundef %64, i32 noundef 0) #3
  %65 = load i32, ptr %50, align 8, !tbaa !31
  %66 = load i32, ptr %23, align 4, !tbaa !30
  %67 = load i32, ptr %18, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %66, i32 noundef 127, i32 noundef 0, i32 noundef 120, i32 noundef %67, i32 noundef 0) #3
  br label %68

68:                                               ; preds = %47, %61, %40
  %69 = getelementptr inbounds i8, ptr %8, i64 80
  %70 = load i32, ptr %69, align 8, !tbaa !31
  %71 = load i32, ptr %19, align 4, !tbaa !19
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %70, i32 noundef %71, i64 noundef 0) #3
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef nonnull %9) #3
  %72 = getelementptr inbounds i8, ptr %8, i64 64
  %73 = load i32, ptr %72, align 8, !tbaa !34
  %74 = load i32, ptr %19, align 4, !tbaa !19
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %73, i32 noundef %74, i64 noundef 1) #3
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = load i32, ptr %32, align 1, !tbaa !24
  %77 = icmp eq i32 %75, %76
  br i1 %77, label %78, label %79

78:                                               ; preds = %68
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %75)
  %.pre = zext i32 %2 to i64
  br label %171

79:                                               ; preds = %68
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = icmp ne i32 %80, 0
  %82 = load i32, ptr %5, align 4
  %83 = icmp ne i32 %82, 0
  %or.cond = select i1 %81, i1 %83, i1 false
  br i1 %or.cond, label %84, label %129

84:                                               ; preds = %79
  %85 = load i32, ptr %69, align 8, !tbaa !31
  %86 = load i32, ptr %20, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %85, i32 noundef %86, i64 noundef 0) #3
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef nonnull %9) #3
  %87 = load i32, ptr %72, align 8, !tbaa !34
  %88 = load i32, ptr %20, align 4, !tbaa !20
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = zext i32 %89 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %87, i32 noundef %88, i64 noundef %90) #3
  %91 = load i32, ptr %6, align 4, !tbaa !5
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %91)
  %92 = getelementptr inbounds i8, ptr %8, i64 72
  %93 = load i32, ptr %92, align 8, !tbaa !35
  %94 = load i32, ptr %20, align 4, !tbaa !20
  %95 = load i32, ptr %4, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %93, i32 noundef %94, i64 noundef %96) #3
  %97 = getelementptr inbounds i8, ptr %8, i64 76
  %98 = load i32, ptr %97, align 4, !tbaa !36
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %98, ptr noundef nonnull %9) #3
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef nonnull %9) #3
  %99 = load i32, ptr %72, align 8, !tbaa !34
  %100 = load i32, ptr %20, align 4, !tbaa !20
  %101 = load i32, ptr %7, align 4, !tbaa !5
  %102 = zext i32 %101 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %99, i32 noundef %100, i64 noundef %102) #3
  %103 = load i32, ptr %7, align 4, !tbaa !5
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %103)
  %104 = load i32, ptr %92, align 8, !tbaa !35
  %105 = load i32, ptr %20, align 4, !tbaa !20
  %106 = load i32, ptr %32, align 1, !tbaa !24
  %107 = zext i32 %106 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %104, i32 noundef %105, i64 noundef %107) #3
  %108 = load i32, ptr %97, align 4, !tbaa !36
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %108, ptr noundef nonnull %9) #3
  %109 = getelementptr inbounds i8, ptr %8, i64 68
  %110 = load i32, ptr %109, align 4, !tbaa !37
  %111 = load i32, ptr %15, align 4, !tbaa !15
  %112 = load i32, ptr %32, align 1, !tbaa !24
  %113 = zext i32 %112 to i64
  %114 = zext i32 %2 to i64
  %115 = mul nuw nsw i64 %113, %114
  %116 = getelementptr inbounds i8, ptr %8, i64 12
  %117 = load i32, ptr %116, align 4, !tbaa !38
  %118 = zext i32 %117 to i64
  %119 = mul nuw nsw i64 %115, %118
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %110, i32 noundef %111, i64 noundef %119) #3
  %120 = load i32, ptr %109, align 4, !tbaa !37
  %121 = load i32, ptr %16, align 4, !tbaa !16
  %122 = load i32, ptr %32, align 1, !tbaa !24
  %123 = zext i32 %122 to i64
  %124 = mul nuw nsw i64 %123, %114
  %125 = getelementptr inbounds i8, ptr %8, i64 20
  %126 = load i32, ptr %125, align 4, !tbaa !39
  %127 = zext i32 %126 to i64
  %128 = mul nuw nsw i64 %124, %127
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %120, i32 noundef %121, i64 noundef %128) #3
  br label %171

129:                                              ; preds = %79
  %130 = icmp eq i32 %82, 0
  %or.cond3 = select i1 %81, i1 %130, i1 false
  br i1 %or.cond3, label %131, label %166

131:                                              ; preds = %129
  %132 = load i32, ptr %69, align 8, !tbaa !31
  %133 = load i32, ptr %20, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %132, i32 noundef %133, i64 noundef 0) #3
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef nonnull %9) #3
  %134 = load i32, ptr %72, align 8, !tbaa !34
  %135 = load i32, ptr %20, align 4, !tbaa !20
  %136 = load i32, ptr %6, align 4, !tbaa !5
  %137 = zext i32 %136 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %134, i32 noundef %135, i64 noundef %137) #3
  %138 = load i32, ptr %6, align 4, !tbaa !5
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %138)
  %139 = getelementptr inbounds i8, ptr %8, i64 72
  %140 = load i32, ptr %139, align 8, !tbaa !35
  %141 = load i32, ptr %20, align 4, !tbaa !20
  %142 = load i32, ptr %32, align 1, !tbaa !24
  %143 = zext i32 %142 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %140, i32 noundef %141, i64 noundef %143) #3
  %144 = getelementptr inbounds i8, ptr %8, i64 76
  %145 = load i32, ptr %144, align 4, !tbaa !36
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %145, ptr noundef nonnull %9) #3
  %146 = getelementptr inbounds i8, ptr %8, i64 68
  %147 = load i32, ptr %146, align 4, !tbaa !37
  %148 = load i32, ptr %15, align 4, !tbaa !15
  %149 = load i32, ptr %32, align 1, !tbaa !24
  %150 = zext i32 %149 to i64
  %151 = zext i32 %2 to i64
  %152 = mul nuw nsw i64 %150, %151
  %153 = getelementptr inbounds i8, ptr %8, i64 12
  %154 = load i32, ptr %153, align 4, !tbaa !38
  %155 = zext i32 %154 to i64
  %156 = mul nuw nsw i64 %152, %155
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %147, i32 noundef %148, i64 noundef %156) #3
  %157 = load i32, ptr %146, align 4, !tbaa !37
  %158 = load i32, ptr %16, align 4, !tbaa !16
  %159 = load i32, ptr %32, align 1, !tbaa !24
  %160 = zext i32 %159 to i64
  %161 = mul nuw nsw i64 %160, %151
  %162 = getelementptr inbounds i8, ptr %8, i64 20
  %163 = load i32, ptr %162, align 4, !tbaa !39
  %164 = zext i32 %163 to i64
  %165 = mul nuw nsw i64 %161, %164
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %157, i32 noundef %158, i64 noundef %165) #3
  br label %171

166:                                              ; preds = %129
  %167 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %168 = icmp ugt i32 %167, 1
  %169 = load i32, ptr @libxsmm_verbosity, align 4
  %170 = select i1 %168, i32 %169, i32 1
  call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512, ptr noundef nonnull @.str, i32 noundef 196, i32 noundef %170) #3
  br label %200

171:                                              ; preds = %84, %131, %78
  %.pre-phi = phi i64 [ %114, %84 ], [ %151, %131 ], [ %.pre, %78 ]
  %172 = load i32, ptr %72, align 8, !tbaa !34
  %173 = load i32, ptr %14, align 4, !tbaa !14
  %174 = getelementptr inbounds i8, ptr %8, i64 12
  %175 = load i32, ptr %174, align 4, !tbaa !38
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds i8, ptr %1, i64 12
  %178 = load i32, ptr %177, align 1, !tbaa !40
  %179 = zext i32 %178 to i64
  %180 = mul nuw nsw i64 %179, %176
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %172, i32 noundef %173, i64 noundef %180) #3
  %181 = load i32, ptr %72, align 8, !tbaa !34
  %182 = load i32, ptr %16, align 4, !tbaa !16
  %183 = getelementptr inbounds i8, ptr %8, i64 20
  %184 = load i32, ptr %183, align 4, !tbaa !39
  %185 = zext i32 %184 to i64
  %186 = mul nuw nsw i64 %.pre-phi, %185
  %187 = getelementptr inbounds i8, ptr %1, i64 20
  %188 = load i32, ptr %187, align 1, !tbaa !41
  %189 = zext i32 %188 to i64
  %190 = mul nuw nsw i64 %186, %189
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %181, i32 noundef %182, i64 noundef %190) #3
  %191 = getelementptr inbounds i8, ptr %8, i64 72
  %192 = load i32, ptr %191, align 8, !tbaa !35
  %193 = load i32, ptr %19, align 4, !tbaa !19
  %194 = load i32, ptr %1, align 1, !tbaa !42
  %195 = zext i32 %194 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %192, i32 noundef %193, i64 noundef %195) #3
  %196 = getelementptr inbounds i8, ptr %8, i64 76
  %197 = load i32, ptr %196, align 4, !tbaa !36
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %197, ptr noundef nonnull %9) #3
  %198 = load i8, ptr %41, align 1, !tbaa !28
  %199 = zext i8 %198 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef nonnull %0, ptr noundef nonnull %10, i32 noundef 0, i32 noundef %199) #3
  br label %200

200:                                              ; preds = %171, %166, %35
  call void @llvm.lifetime.end.p0(i64 132, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  ret void
}

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

declare void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef) local_unnamed_addr #2

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) local_unnamed_addr #2

declare void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #2

declare i32 @libxsmm_compute_equalized_blocking(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @libxsmm_x86_instruction_alu_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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 #2

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

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

declare void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 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 #2

declare void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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


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