; LLVM IR from libxsmm/libxsmm :: src (generator_packed_gemm_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 }>

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_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 %struct.libxsmm_micro_kernel_config, align 8
  %11 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %12 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = 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 688, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 2052, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 132, ptr %12) #3
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %16, i32 0, i32 6
  %18 = load i32, ptr %17, align 4, !tbaa !11
  %19 = icmp uge i32 %18, 1041
  br i1 %19, label %20, label %26

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

25:                                               ; preds = %20
  store i32 28, ptr %7, align 4, !tbaa !9
  br label %27

26:                                               ; preds = %20, %3
  store i32 13, ptr %7, align 4, !tbaa !9
  br label %27

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

54:                                               ; preds = %27
  %55 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 7
  store i32 545592848, ptr %55, align 4, !tbaa !29
  br label %58

56:                                               ; preds = %27
  %57 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 7
  store i32 537138704, ptr %57, align 4, !tbaa !29
  br label %58

58:                                               ; preds = %56, %54
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %60, i32 0, i32 7
  %62 = load i8, ptr %61, align 1, !tbaa !33
  %63 = zext i8 %62 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef %59, ptr noundef %12, i32 noundef 0, i32 noundef %63)
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %65, align 1, !tbaa !36
  %67 = and i32 16384, %66
  %68 = icmp eq i32 %67, 16384
  br i1 %68, label %69, label %124

69:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 80, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 128, ptr %15, align 4, !tbaa !9
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 0
  %72 = load i32, ptr %71, align 4, !tbaa !13
  %73 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 23
  %74 = load i32, ptr %73, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %70, i32 noundef -1568407413, i32 noundef %72, i32 noundef %74)
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 20
  %77 = load i32, ptr %76, align 8, !tbaa !37
  %78 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 23
  %79 = load i32, ptr %78, align 4, !tbaa !24
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 1
  %82 = load i32, ptr %81, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %75, i32 noundef %77, i32 noundef %79, i32 noundef 127, i32 noundef 0, i32 noundef %80, i32 noundef %82, i32 noundef 0)
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 20
  %85 = load i32, ptr %84, align 8, !tbaa !37
  %86 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 23
  %87 = load i32, ptr %86, align 4, !tbaa !24
  %88 = load i32, ptr %14, align 4, !tbaa !9
  %89 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 3
  %90 = load i32, ptr %89, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %83, i32 noundef %85, i32 noundef %87, i32 noundef 127, i32 noundef 0, i32 noundef %88, i32 noundef %90, i32 noundef 0)
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 20
  %93 = load i32, ptr %92, align 8, !tbaa !37
  %94 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 23
  %95 = load i32, ptr %94, align 4, !tbaa !24
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 5
  %98 = load i32, ptr %97, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %91, i32 noundef %93, i32 noundef %95, i32 noundef 127, i32 noundef 0, i32 noundef %96, i32 noundef %98, i32 noundef 0)
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %99, i32 0, i32 7
  %101 = load i8, ptr %100, align 1, !tbaa !33
  %102 = zext i8 %101 to i32
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %123

104:                                              ; preds = %69
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 20
  %107 = load i32, ptr %106, align 8, !tbaa !37
  %108 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 23
  %109 = load i32, ptr %108, align 4, !tbaa !24
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = add nsw i32 %110, 40
  %112 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 6
  %113 = load i32, ptr %112, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %105, i32 noundef %107, i32 noundef %109, i32 noundef 127, i32 noundef 0, i32 noundef %111, i32 noundef %113, i32 noundef 0)
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 20
  %116 = load i32, ptr %115, align 8, !tbaa !37
  %117 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 23
  %118 = load i32, ptr %117, align 4, !tbaa !24
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = add nsw i32 %119, 40
  %121 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 8
  %122 = load i32, ptr %121, align 4, !tbaa !19
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %114, i32 noundef %116, i32 noundef %118, i32 noundef 127, i32 noundef 0, i32 noundef %120, i32 noundef %122, i32 noundef 0)
  br label %123

123:                                              ; preds = %104, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %125

124:                                              ; preds = %58
  br label %125

125:                                              ; preds = %124, %123
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 1, !tbaa !38
  %129 = icmp uge i32 %128, 4
  br i1 %129, label %130, label %148

130:                                              ; preds = %125
  store i32 4, ptr %8, align 4, !tbaa !9
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %131, i32 0, i32 0
  %133 = load i32, ptr %132, align 1, !tbaa !38
  %134 = urem i32 %133, 4
  store i32 %134, ptr %9, align 4, !tbaa !9
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %136, align 4, !tbaa !11
  %138 = icmp uge i32 %137, 1041
  br i1 %138, label %139, label %144

139:                                              ; preds = %130
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %141, align 4, !tbaa !11
  %143 = icmp ule i32 %142, 1999
  br label %144

144:                                              ; preds = %139, %130
  %145 = phi i1 [ false, %130 ], [ %143, %139 ]
  %146 = zext i1 %145 to i64
  %147 = select i1 %145, i32 6, i32 2
  store i32 %147, ptr %7, align 4, !tbaa !9
  br label %152

148:                                              ; preds = %125
  store i32 0, ptr %8, align 4, !tbaa !9
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %149, i32 0, i32 0
  %151 = load i32, ptr %150, align 1, !tbaa !38
  store i32 %151, ptr %9, align 4, !tbaa !9
  br label %152

152:                                              ; preds = %148, %144
  %153 = load i32, ptr %8, align 4, !tbaa !9
  %154 = icmp eq i32 %153, 4
  br i1 %154, label %155, label %188

155:                                              ; preds = %152
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 20
  %158 = load i32, ptr %157, align 8, !tbaa !37
  %159 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 10
  %160 = load i32, ptr %159, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %156, i32 noundef %158, i32 noundef %160, i64 noundef 0)
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %161, ptr noundef %11)
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 16
  %164 = load i32, ptr %163, align 8, !tbaa !39
  %165 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 10
  %166 = load i32, ptr %165, align 4, !tbaa !20
  %167 = load i32, ptr %8, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %162, i32 noundef %164, i32 noundef %166, i64 noundef %168)
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = load i32, ptr %6, align 4, !tbaa !9
  %172 = load i32, ptr %7, align 4, !tbaa !9
  %173 = load i32, ptr %8, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_mloop(ptr noundef %169, ptr noundef %11, ptr noundef %12, ptr noundef %10, ptr noundef %170, i32 noundef %171, i32 noundef %172, i32 noundef %173)
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 18
  %176 = load i32, ptr %175, align 8, !tbaa !40
  %177 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %12, i32 0, i32 10
  %178 = load i32, ptr %177, align 4, !tbaa !20
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 1, !tbaa !38
  %182 = load i32, ptr %9, align 4, !tbaa !9
  %183 = sub i32 %181, %182
  %184 = zext i32 %183 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %174, i32 noundef %176, i32 noundef %178, i64 noundef %184)
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %10, i32 0, i32 19
  %187 = load i32, ptr %186, align 4, !tbaa !41
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %185, i32 noundef %187, ptr noundef %11)
  br label %188

188:                                              ; preds = %155, %152
  %189 = load i32, ptr %9, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %252

191:                                              ; preds = %188
  %192 = load i32, ptr %9, align 4, !tbaa !9
  %193 = icmp eq i32 %192, 3
  br i1 %193, label %194, label %208

194:                                              ; preds = %191
  store i32 3, ptr %8, align 4, !tbaa !9
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %196, align 4, !tbaa !11
  %198 = icmp uge i32 %197, 1041
  br i1 %198, label %199, label %204

199:                                              ; preds = %194
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %201, align 4, !tbaa !11
  %203 = icmp ule i32 %202, 1999
  br label %204

204:                                              ; preds = %199, %194
  %205 = phi i1 [ false, %194 ], [ %203, %199 ]
  %206 = zext i1 %205 to i64
  %207 = select i1 %205, i32 8, i32 3
  store i32 %207, ptr %7, align 4, !tbaa !9
  br label %246

208:                                              ; preds = %191
  %209 = load i32, ptr %9, align 4, !tbaa !9
  %210 = icmp eq i32 %209, 2
  br i1 %210, label %211, label %225

211:                                              ; preds = %208
  store i32 2, ptr %8, align 4, !tbaa !9
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %213, align 4, !tbaa !11
  %215 = icmp uge i32 %214, 1041
  br i1 %215, label %216, label %221

216:                                              ; preds = %211
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %218, align 4, !tbaa !11
  %220 = icmp ule i32 %219, 1999
  br label %221

221:                                              ; preds = %216, %211
  %222 = phi i1 [ false, %211 ], [ %220, %216 ]
  %223 = zext i1 %222 to i64
  %224 = select i1 %222, i32 12, i32 5
  store i32 %224, ptr %7, align 4, !tbaa !9
  br label %245

225:                                              ; preds = %208
  store i32 1, ptr %8, align 4, !tbaa !9
  %226 = load ptr, ptr %4, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %227, align 4, !tbaa !11
  %229 = icmp uge i32 %228, 1041
  br i1 %229, label %230, label %236

230:                                              ; preds = %225
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %232, align 4, !tbaa !11
  %234 = icmp ule i32 %233, 1999
  br i1 %234, label %235, label %236

235:                                              ; preds = %230
  br label %243

236:                                              ; preds = %230, %225
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %238, align 4, !tbaa !11
  %240 = icmp uge i32 %239, 1006
  %241 = zext i1 %240 to i64
  %242 = select i1 %240, i32 13, i32 12
  br label %243

243:                                              ; preds = %236, %235
  %244 = phi i32 [ 28, %235 ], [ %242, %236 ]
  store i32 %244, ptr %7, align 4, !tbaa !9
  br label %245

245:                                              ; preds = %243, %221
  br label %246

246:                                              ; preds = %245, %204
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = load i32, ptr %6, align 4, !tbaa !9
  %250 = load i32, ptr %7, align 4, !tbaa !9
  %251 = load i32, ptr %8, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_mloop(ptr noundef %247, ptr noundef %11, ptr noundef %12, ptr noundef %10, ptr noundef %248, i32 noundef %249, i32 noundef %250, i32 noundef %251)
  br label %252

252:                                              ; preds = %246, %188
  %253 = load ptr, ptr %4, align 8, !tbaa !5
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %254, i32 0, i32 7
  %256 = load i8, ptr %255, align 1, !tbaa !33
  %257 = zext i8 %256 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef %253, ptr noundef %12, i32 noundef 0, i32 noundef %257)
  call void @llvm.lifetime.end.p0(i64 132, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 2052, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 688, 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
  ret void
}

; 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 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_avx_avx2_avx512_mloop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 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 28}
!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 = !{!34, !7, i64 28}
!34 = !{!"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, !35, i64 33, !35, 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}
!35 = !{!"long long", !7, i64 0}
!36 = !{!34, !10, i64 24}
!37 = !{!30, !10, i64 80}
!38 = !{!34, !10, i64 0}
!39 = !{!30, !10, i64 64}
!40 = !{!30, !10, i64 72}
!41 = !{!30, !10, i64 76}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%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 }

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

31:                                               ; preds = %3
  %32 = load i32, ptr %6, align 4, !tbaa !5
  %33 = load i32, ptr %17, align 4, !tbaa !29
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef -1568407413, i32 noundef %32, i32 noundef %33) #3
  %34 = getelementptr inbounds i8, ptr %4, i64 80
  %35 = load i32, ptr %34, align 8, !tbaa !30
  %36 = load i32, ptr %17, align 4, !tbaa !29
  %37 = load i32, ptr %8, align 4, !tbaa !10
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef %37, i32 noundef 0) #3
  %38 = load i32, ptr %34, align 8, !tbaa !30
  %39 = load i32, ptr %17, align 4, !tbaa !29
  %40 = load i32, ptr %9, align 4, !tbaa !11
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %38, i32 noundef %39, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef %40, i32 noundef 0) #3
  %41 = load i32, ptr %34, align 8, !tbaa !30
  %42 = load i32, ptr %17, align 4, !tbaa !29
  %43 = load i32, ptr %10, align 4, !tbaa !12
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %41, i32 noundef %42, i32 noundef 127, i32 noundef 0, i32 noundef 128, i32 noundef %43, i32 noundef 0) #3
  %44 = load i8, ptr %25, align 1, !tbaa !24
  %.not65 = icmp eq i8 %44, 0
  br i1 %.not65, label %52, label %45

45:                                               ; preds = %31
  %46 = load i32, ptr %34, align 8, !tbaa !30
  %47 = load i32, ptr %17, align 4, !tbaa !29
  %48 = load i32, ptr %11, align 4, !tbaa !13
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %47, i32 noundef 127, i32 noundef 0, i32 noundef 72, i32 noundef %48, i32 noundef 0) #3
  %49 = load i32, ptr %34, align 8, !tbaa !30
  %50 = load i32, ptr %17, align 4, !tbaa !29
  %51 = load i32, ptr %12, align 4, !tbaa !14
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %50, i32 noundef 127, i32 noundef 0, i32 noundef 120, i32 noundef %51, i32 noundef 0) #3
  br label %52

52:                                               ; preds = %31, %45, %3
  %53 = load i32, ptr %1, align 1, !tbaa !33
  %54 = icmp ugt i32 %53, 3
  br i1 %54, label %55, label %75

55:                                               ; preds = %52
  %56 = and i32 %53, 3
  %57 = load i32, ptr %7, align 4, !tbaa !21
  %58 = add i32 %57, -1041
  %59 = icmp ult i32 %58, 959
  %60 = select i1 %59, i32 6, i32 2
  %61 = getelementptr inbounds i8, ptr %4, i64 80
  %62 = load i32, ptr %61, align 8, !tbaa !30
  %63 = load i32, ptr %13, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %63, i64 noundef 0) #3
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef nonnull %5) #3
  %64 = getelementptr inbounds i8, ptr %4, i64 64
  %65 = load i32, ptr %64, align 8, !tbaa !34
  %66 = load i32, ptr %13, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %66, i64 noundef 4) #3
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_mloop(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %60, i32 noundef 4)
  %67 = getelementptr inbounds i8, ptr %4, i64 72
  %68 = load i32, ptr %67, align 8, !tbaa !35
  %69 = load i32, ptr %13, align 4, !tbaa !15
  %70 = load i32, ptr %1, align 1, !tbaa !33
  %71 = sub i32 %70, %56
  %72 = zext i32 %71 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %69, i64 noundef %72) #3
  %73 = getelementptr inbounds i8, ptr %4, i64 76
  %74 = load i32, ptr %73, align 4, !tbaa !36
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %74, ptr noundef nonnull %5) #3
  br label %75

75:                                               ; preds = %52, %55
  %.05771 = phi i32 [ %56, %55 ], [ %53, %52 ]
  switch i32 %.05771, label %.unreachabledefault [
    i32 0, label %93
    i32 3, label %76
    i32 2, label %81
    i32 1, label %86
  ]

76:                                               ; preds = %75
  %77 = load i32, ptr %7, align 4, !tbaa !21
  %78 = add i32 %77, -1041
  %79 = icmp ult i32 %78, 959
  %80 = select i1 %79, i32 8, i32 3
  br label %92

81:                                               ; preds = %75
  %82 = load i32, ptr %7, align 4, !tbaa !21
  %83 = add i32 %82, -1041
  %84 = icmp ult i32 %83, 959
  %85 = select i1 %84, i32 12, i32 5
  br label %92

.unreachabledefault:                              ; preds = %75
  unreachable

86:                                               ; preds = %75
  %87 = load i32, ptr %7, align 4, !tbaa !21
  %88 = add i32 %87, -1041
  %or.cond67 = icmp ult i32 %88, 959
  br i1 %or.cond67, label %92, label %89

89:                                               ; preds = %86
  %90 = icmp ugt i32 %87, 1005
  %91 = select i1 %90, i32 13, i32 12
  br label %92

92:                                               ; preds = %89, %86, %81, %76
  %.2 = phi i32 [ %80, %76 ], [ %85, %81 ], [ 28, %86 ], [ %91, %89 ]
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_mloop(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %.2, i32 noundef %.05771)
  br label %93

93:                                               ; preds = %75, %92
  %94 = load i8, ptr %25, align 1, !tbaa !24
  %95 = zext i8 %94 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef nonnull %0, ptr noundef nonnull %6, i32 noundef 0, i32 noundef %95) #3
  call void @llvm.lifetime.end.p0(i64 132, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 688, 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 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_avx_avx2_avx512_mloop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 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, !7, i64 0}
!6 = !{!"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}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 20}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 40}
!16 = !{!6, !7, i64 44}
!17 = !{!6, !7, i64 48}
!18 = !{!7, !7, i64 0}
!19 = !{!6, !7, i64 104}
!20 = !{!6, !7, i64 108}
!21 = !{!22, !7, i64 28}
!22 = !{!"libxsmm_generated_code", !23, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!23 = !{!"any pointer", !8, i64 0}
!24 = !{!25, !8, i64 28}
!25 = !{!"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, !26, i64 33, !26, i64 41, !8, i64 49, !7, i64 50, !7, i64 54, !7, i64 58, !27, i64 62, !27, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !27, i64 70, !27, i64 72, !27, i64 74, !27, i64 76, !27, i64 78, !27, i64 80, !7, i64 82, !7, i64 86, !7, i64 90, !8, i64 94}
!26 = !{!"long long", !8, i64 0}
!27 = !{!"short", !8, i64 0}
!28 = !{!25, !7, i64 24}
!29 = !{!6, !7, i64 92}
!30 = !{!31, !7, i64 80}
!31 = !{!"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, !32, 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, !23, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !23, 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}
!32 = !{!"libxsmm_tile_config", !8, i64 0, !27, i64 2, !8, i64 4, !27, i64 6, !8, i64 8, !27, i64 10, !8, i64 12, !27, i64 14, !8, i64 16, !27, i64 18, !8, i64 20, !27, i64 22, !8, i64 24, !27, i64 26, !8, i64 28, !27, i64 30, !8, i64 32}
!33 = !{!25, !7, i64 0}
!34 = !{!31, !7, i64 64}
!35 = !{!31, !7, i64 72}
!36 = !{!31, !7, i64 76}


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