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

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

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) #1

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

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

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

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

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

25:                                               ; preds = %8
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %26, i32 0, i32 6
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = icmp uge i32 %28, 1041
  br i1 %29, label %30, label %36

30:                                               ; preds = %25
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %31, i32 0, i32 6
  %33 = load i32, ptr %32, align 4, !tbaa !11
  %34 = icmp ult i32 %33, 1041
  br i1 %34, label %35, label %36

35:                                               ; preds = %30
  store i32 2, ptr %19, align 4, !tbaa !9
  br label %61

36:                                               ; preds = %30, %25
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %38, align 4, !tbaa !11
  %40 = icmp uge i32 %39, 1051
  br i1 %40, label %41, label %47

41:                                               ; preds = %36
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %43, align 4, !tbaa !11
  %45 = icmp ult i32 %44, 1101
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %60

47:                                               ; preds = %41, %36
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %49, align 4, !tbaa !11
  %51 = icmp uge i32 %50, 1101
  br i1 %51, label %52, label %58

52:                                               ; preds = %47
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %54, align 4, !tbaa !11
  %56 = icmp ule i32 %55, 1999
  br i1 %56, label %57, label %58

57:                                               ; preds = %52
  store i32 8, ptr %19, align 4, !tbaa !9
  br label %59

58:                                               ; preds = %52, %47
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %58, %57
  br label %60

60:                                               ; preds = %59, %46
  br label %61

61:                                               ; preds = %60, %35
  br label %99

62:                                               ; preds = %8
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %64, align 4, !tbaa !11
  %66 = icmp uge i32 %65, 1041
  br i1 %66, label %67, label %73

67:                                               ; preds = %62
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %69, align 4, !tbaa !11
  %71 = icmp ult i32 %70, 1041
  br i1 %71, label %72, label %73

72:                                               ; preds = %67
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %98

73:                                               ; preds = %67, %62
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %75, align 4, !tbaa !11
  %77 = icmp uge i32 %76, 1051
  br i1 %77, label %78, label %84

78:                                               ; preds = %73
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %80, align 4, !tbaa !11
  %82 = icmp ult i32 %81, 1101
  br i1 %82, label %83, label %84

83:                                               ; preds = %78
  store i32 8, ptr %19, align 4, !tbaa !9
  br label %97

84:                                               ; preds = %78, %73
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %86, align 4, !tbaa !11
  %88 = icmp uge i32 %87, 1101
  br i1 %88, label %89, label %95

89:                                               ; preds = %84
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %91, align 4, !tbaa !11
  %93 = icmp ule i32 %92, 1999
  br i1 %93, label %94, label %95

94:                                               ; preds = %89
  store i32 16, ptr %19, align 4, !tbaa !9
  br label %96

95:                                               ; preds = %89, %84
  store i32 8, ptr %19, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %95, %94
  br label %97

97:                                               ; preds = %96, %83
  br label %98

98:                                               ; preds = %97, %72
  br label %99

99:                                               ; preds = %98, %61
  %100 = load i32, ptr %14, align 4, !tbaa !9
  %101 = load i32, ptr %19, align 4, !tbaa !9
  %102 = urem i32 %100, %101
  store i32 %102, ptr %17, align 4, !tbaa !9
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = load i32, ptr %19, align 4, !tbaa !9
  %105 = udiv i32 %103, %104
  store i32 %105, ptr %18, align 4, !tbaa !9
  %106 = load i32, ptr %19, align 4, !tbaa !9
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = icmp eq i32 %106, %107
  br i1 %108, label %109, label %120

109:                                              ; preds = %99
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = load i32, ptr %14, align 4, !tbaa !9
  %116 = load i32, ptr %19, align 4, !tbaa !9
  %117 = load i32, ptr %19, align 4, !tbaa !9
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113, ptr noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %119)
  br label %425

120:                                              ; preds = %99
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %259

123:                                              ; preds = %120
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %125, i32 0, i32 20
  %127 = load i32, ptr %126, align 8, !tbaa !13
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %128, i32 0, i32 22
  %130 = load i32, ptr %129, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %124, i32 noundef %127, i32 noundef %130, i64 noundef 0)
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %131, ptr noundef %132)
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %134, i32 0, i32 16
  %136 = load i32, ptr %135, align 8, !tbaa !19
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %137, i32 0, i32 22
  %139 = load i32, ptr %138, align 4, !tbaa !17
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %133, i32 noundef %136, i32 noundef %139, i64 noundef %141)
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = load i32, ptr %14, align 4, !tbaa !9
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = load i32, ptr %19, align 4, !tbaa !9
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %142, ptr noundef %143, ptr noundef %144, ptr noundef %145, ptr noundef %146, i32 noundef %147, i32 noundef %148, i32 noundef %149, i32 noundef %150, i32 noundef %151)
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = load ptr, ptr %12, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %153, i32 0, i32 16
  %155 = load i32, ptr %154, align 8, !tbaa !19
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %156, i32 0, i32 1
  %158 = load i32, ptr %157, align 4, !tbaa !20
  %159 = load i32, ptr %19, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %161, i32 0, i32 3
  %163 = load i32, ptr %162, align 4, !tbaa !21
  %164 = zext i32 %163 to i64
  %165 = mul nsw i64 %160, %164
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %152, i32 noundef %155, i32 noundef %158, i64 noundef %165)
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = load ptr, ptr %12, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %167, i32 0, i32 16
  %169 = load i32, ptr %168, align 8, !tbaa !19
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %170, i32 0, i32 3
  %172 = load i32, ptr %171, align 4, !tbaa !22
  %173 = load i32, ptr %19, align 4, !tbaa !9
  %174 = zext i32 %173 to i64
  %175 = load ptr, ptr %12, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %175, i32 0, i32 3
  %177 = load i32, ptr %176, align 4, !tbaa !21
  %178 = zext i32 %177 to i64
  %179 = mul nsw i64 %174, %178
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %166, i32 noundef %169, i32 noundef %172, i64 noundef %179)
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %181, i32 0, i32 16
  %183 = load i32, ptr %182, align 8, !tbaa !19
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %184, i32 0, i32 5
  %186 = load i32, ptr %185, align 4, !tbaa !23
  %187 = load i32, ptr %19, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %189, i32 0, i32 5
  %191 = load i32, ptr %190, align 4, !tbaa !24
  %192 = zext i32 %191 to i64
  %193 = mul nsw i64 %188, %192
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %180, i32 noundef %183, i32 noundef %186, i64 noundef %193)
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %195, i32 0, i32 18
  %197 = load i32, ptr %196, align 8, !tbaa !25
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %198, i32 0, i32 22
  %200 = load i32, ptr %199, align 4, !tbaa !17
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %194, i32 noundef %197, i32 noundef %200, i64 noundef %202)
  %203 = load ptr, ptr %9, align 8, !tbaa !5
  %204 = load ptr, ptr %12, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %204, i32 0, i32 19
  %206 = load i32, ptr %205, align 4, !tbaa !26
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %203, i32 noundef %206, ptr noundef %207)
  %208 = load ptr, ptr %9, align 8, !tbaa !5
  %209 = load ptr, ptr %12, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %209, i32 0, i32 17
  %211 = load i32, ptr %210, align 4, !tbaa !27
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %212, i32 0, i32 1
  %214 = load i32, ptr %213, align 4, !tbaa !20
  %215 = load i32, ptr %18, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = load i32, ptr %19, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = mul nsw i64 %216, %218
  %220 = load ptr, ptr %12, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %220, i32 0, i32 3
  %222 = load i32, ptr %221, align 4, !tbaa !21
  %223 = zext i32 %222 to i64
  %224 = mul nsw i64 %219, %223
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %208, i32 noundef %211, i32 noundef %214, i64 noundef %224)
  %225 = load ptr, ptr %9, align 8, !tbaa !5
  %226 = load ptr, ptr %12, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %226, i32 0, i32 17
  %228 = load i32, ptr %227, align 4, !tbaa !27
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %229, i32 0, i32 3
  %231 = load i32, ptr %230, align 4, !tbaa !22
  %232 = load i32, ptr %18, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = load i32, ptr %19, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = mul nsw i64 %233, %235
  %237 = load ptr, ptr %12, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %237, i32 0, i32 3
  %239 = load i32, ptr %238, align 4, !tbaa !21
  %240 = zext i32 %239 to i64
  %241 = mul nsw i64 %236, %240
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %225, i32 noundef %228, i32 noundef %231, i64 noundef %241)
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = load ptr, ptr %12, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %243, i32 0, i32 17
  %245 = load i32, ptr %244, align 4, !tbaa !27
  %246 = load ptr, ptr %11, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %246, i32 0, i32 5
  %248 = load i32, ptr %247, align 4, !tbaa !23
  %249 = load i32, ptr %18, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = load i32, ptr %19, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = mul nsw i64 %250, %252
  %254 = load ptr, ptr %12, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %254, i32 0, i32 5
  %256 = load i32, ptr %255, align 4, !tbaa !24
  %257 = zext i32 %256 to i64
  %258 = mul nsw i64 %253, %257
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %242, i32 noundef %245, i32 noundef %248, i64 noundef %258)
  br label %424

259:                                              ; preds = %120
  %260 = load i32, ptr %19, align 4, !tbaa !9
  %261 = load i32, ptr %14, align 4, !tbaa !9
  %262 = icmp ugt i32 %260, %261
  br i1 %262, label %263, label %274

263:                                              ; preds = %259
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = load ptr, ptr %10, align 8, !tbaa !5
  %266 = load ptr, ptr %11, align 8, !tbaa !5
  %267 = load ptr, ptr %12, align 8, !tbaa !5
  %268 = load ptr, ptr %13, align 8, !tbaa !5
  %269 = load i32, ptr %14, align 4, !tbaa !9
  %270 = load i32, ptr %19, align 4, !tbaa !9
  %271 = load i32, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %15, align 4, !tbaa !9
  %273 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %264, ptr noundef %265, ptr noundef %266, ptr noundef %267, ptr noundef %268, i32 noundef %269, i32 noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef %273)
  br label %423

274:                                              ; preds = %259
  %275 = load ptr, ptr %9, align 8, !tbaa !5
  %276 = load ptr, ptr %12, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %276, i32 0, i32 20
  %278 = load i32, ptr %277, align 8, !tbaa !13
  %279 = load ptr, ptr %11, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %279, i32 0, i32 22
  %281 = load i32, ptr %280, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %275, i32 noundef %278, i32 noundef %281, i64 noundef 0)
  %282 = load ptr, ptr %9, align 8, !tbaa !5
  %283 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %282, ptr noundef %283)
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  %285 = load ptr, ptr %12, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %285, i32 0, i32 16
  %287 = load i32, ptr %286, align 8, !tbaa !19
  %288 = load ptr, ptr %11, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %288, i32 0, i32 22
  %290 = load i32, ptr %289, align 4, !tbaa !17
  %291 = load i32, ptr %19, align 4, !tbaa !9
  %292 = zext i32 %291 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %284, i32 noundef %287, i32 noundef %290, i64 noundef %292)
  %293 = load ptr, ptr %9, align 8, !tbaa !5
  %294 = load ptr, ptr %10, align 8, !tbaa !5
  %295 = load ptr, ptr %11, align 8, !tbaa !5
  %296 = load ptr, ptr %12, align 8, !tbaa !5
  %297 = load ptr, ptr %13, align 8, !tbaa !5
  %298 = load i32, ptr %14, align 4, !tbaa !9
  %299 = load i32, ptr %19, align 4, !tbaa !9
  %300 = load i32, ptr %19, align 4, !tbaa !9
  %301 = load i32, ptr %15, align 4, !tbaa !9
  %302 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %293, ptr noundef %294, ptr noundef %295, ptr noundef %296, ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302)
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  %304 = load ptr, ptr %12, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %304, i32 0, i32 16
  %306 = load i32, ptr %305, align 8, !tbaa !19
  %307 = load ptr, ptr %11, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %307, i32 0, i32 1
  %309 = load i32, ptr %308, align 4, !tbaa !20
  %310 = load i32, ptr %19, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = load ptr, ptr %12, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %312, i32 0, i32 3
  %314 = load i32, ptr %313, align 4, !tbaa !21
  %315 = zext i32 %314 to i64
  %316 = mul nsw i64 %311, %315
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %303, i32 noundef %306, i32 noundef %309, i64 noundef %316)
  %317 = load ptr, ptr %9, align 8, !tbaa !5
  %318 = load ptr, ptr %12, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %318, i32 0, i32 16
  %320 = load i32, ptr %319, align 8, !tbaa !19
  %321 = load ptr, ptr %11, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %321, i32 0, i32 3
  %323 = load i32, ptr %322, align 4, !tbaa !22
  %324 = load i32, ptr %19, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = load ptr, ptr %12, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %326, i32 0, i32 3
  %328 = load i32, ptr %327, align 4, !tbaa !21
  %329 = zext i32 %328 to i64
  %330 = mul nsw i64 %325, %329
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %317, i32 noundef %320, i32 noundef %323, i64 noundef %330)
  %331 = load ptr, ptr %9, align 8, !tbaa !5
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %332, i32 0, i32 16
  %334 = load i32, ptr %333, align 8, !tbaa !19
  %335 = load ptr, ptr %11, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %335, i32 0, i32 5
  %337 = load i32, ptr %336, align 4, !tbaa !23
  %338 = load i32, ptr %19, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = load ptr, ptr %12, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %340, i32 0, i32 5
  %342 = load i32, ptr %341, align 4, !tbaa !24
  %343 = zext i32 %342 to i64
  %344 = mul nsw i64 %339, %343
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %331, i32 noundef %334, i32 noundef %337, i64 noundef %344)
  %345 = load ptr, ptr %9, align 8, !tbaa !5
  %346 = load ptr, ptr %12, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %346, i32 0, i32 18
  %348 = load i32, ptr %347, align 8, !tbaa !25
  %349 = load ptr, ptr %11, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %349, i32 0, i32 22
  %351 = load i32, ptr %350, align 4, !tbaa !17
  %352 = load i32, ptr %14, align 4, !tbaa !9
  %353 = zext i32 %352 to i64
  %354 = load i32, ptr %17, align 4, !tbaa !9
  %355 = zext i32 %354 to i64
  %356 = sub nsw i64 %353, %355
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %345, i32 noundef %348, i32 noundef %351, i64 noundef %356)
  %357 = load ptr, ptr %9, align 8, !tbaa !5
  %358 = load ptr, ptr %12, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %358, i32 0, i32 19
  %360 = load i32, ptr %359, align 4, !tbaa !26
  %361 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %357, i32 noundef %360, ptr noundef %361)
  %362 = load ptr, ptr %9, align 8, !tbaa !5
  %363 = load ptr, ptr %10, align 8, !tbaa !5
  %364 = load ptr, ptr %11, align 8, !tbaa !5
  %365 = load ptr, ptr %12, align 8, !tbaa !5
  %366 = load ptr, ptr %13, align 8, !tbaa !5
  %367 = load i32, ptr %14, align 4, !tbaa !9
  %368 = load i32, ptr %19, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  %370 = load i32, ptr %15, align 4, !tbaa !9
  %371 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %362, ptr noundef %363, ptr noundef %364, ptr noundef %365, ptr noundef %366, i32 noundef %367, i32 noundef %368, i32 noundef %369, i32 noundef %370, i32 noundef %371)
  %372 = load ptr, ptr %9, align 8, !tbaa !5
  %373 = load ptr, ptr %12, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %373, i32 0, i32 17
  %375 = load i32, ptr %374, align 4, !tbaa !27
  %376 = load ptr, ptr %11, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %376, i32 0, i32 1
  %378 = load i32, ptr %377, align 4, !tbaa !20
  %379 = load i32, ptr %18, align 4, !tbaa !9
  %380 = zext i32 %379 to i64
  %381 = load i32, ptr %19, align 4, !tbaa !9
  %382 = zext i32 %381 to i64
  %383 = mul nsw i64 %380, %382
  %384 = load ptr, ptr %12, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %384, i32 0, i32 3
  %386 = load i32, ptr %385, align 4, !tbaa !21
  %387 = zext i32 %386 to i64
  %388 = mul nsw i64 %383, %387
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %372, i32 noundef %375, i32 noundef %378, i64 noundef %388)
  %389 = load ptr, ptr %9, align 8, !tbaa !5
  %390 = load ptr, ptr %12, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %390, i32 0, i32 17
  %392 = load i32, ptr %391, align 4, !tbaa !27
  %393 = load ptr, ptr %11, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %393, i32 0, i32 3
  %395 = load i32, ptr %394, align 4, !tbaa !22
  %396 = load i32, ptr %18, align 4, !tbaa !9
  %397 = zext i32 %396 to i64
  %398 = load i32, ptr %19, align 4, !tbaa !9
  %399 = zext i32 %398 to i64
  %400 = mul nsw i64 %397, %399
  %401 = load ptr, ptr %12, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %401, i32 0, i32 3
  %403 = load i32, ptr %402, align 4, !tbaa !21
  %404 = zext i32 %403 to i64
  %405 = mul nsw i64 %400, %404
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %389, i32 noundef %392, i32 noundef %395, i64 noundef %405)
  %406 = load ptr, ptr %9, align 8, !tbaa !5
  %407 = load ptr, ptr %12, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %407, i32 0, i32 17
  %409 = load i32, ptr %408, align 4, !tbaa !27
  %410 = load ptr, ptr %11, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %410, i32 0, i32 5
  %412 = load i32, ptr %411, align 4, !tbaa !23
  %413 = load i32, ptr %18, align 4, !tbaa !9
  %414 = zext i32 %413 to i64
  %415 = load i32, ptr %19, align 4, !tbaa !9
  %416 = zext i32 %415 to i64
  %417 = mul nsw i64 %414, %416
  %418 = load ptr, ptr %12, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %418, i32 0, i32 5
  %420 = load i32, ptr %419, align 4, !tbaa !24
  %421 = zext i32 %420 to i64
  %422 = mul nsw i64 %417, %421
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %406, i32 noundef %409, i32 noundef %412, i64 noundef %422)
  br label %423

423:                                              ; preds = %274, %263
  br label %424

424:                                              ; preds = %423, %123
  br label %425

425:                                              ; preds = %424, %109
  %426 = load ptr, ptr %13, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %426, i32 0, i32 1
  %428 = load i32, ptr %427, align 1, !tbaa !28
  %429 = load i32, ptr %15, align 4, !tbaa !9
  %430 = icmp ne i32 %428, %429
  br i1 %430, label %431, label %476

431:                                              ; preds = %425
  %432 = load ptr, ptr %9, align 8, !tbaa !5
  %433 = load ptr, ptr %12, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %433, i32 0, i32 16
  %435 = load i32, ptr %434, align 8, !tbaa !19
  %436 = load ptr, ptr %11, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %436, i32 0, i32 3
  %438 = load i32, ptr %437, align 4, !tbaa !22
  %439 = load i32, ptr %15, align 4, !tbaa !9
  %440 = zext i32 %439 to i64
  %441 = load i32, ptr %14, align 4, !tbaa !9
  %442 = zext i32 %441 to i64
  %443 = mul nsw i64 %440, %442
  %444 = load ptr, ptr %13, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %444, i32 0, i32 4
  %446 = load i32, ptr %445, align 1, !tbaa !31
  %447 = zext i32 %446 to i64
  %448 = mul nsw i64 %443, %447
  %449 = load ptr, ptr %12, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %449, i32 0, i32 3
  %451 = load i32, ptr %450, align 4, !tbaa !21
  %452 = zext i32 %451 to i64
  %453 = mul nsw i64 %448, %452
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %432, i32 noundef %435, i32 noundef %438, i64 noundef %453)
  %454 = load ptr, ptr %9, align 8, !tbaa !5
  %455 = load ptr, ptr %12, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %455, i32 0, i32 16
  %457 = load i32, ptr %456, align 8, !tbaa !19
  %458 = load ptr, ptr %11, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %458, i32 0, i32 5
  %460 = load i32, ptr %459, align 4, !tbaa !23
  %461 = load i32, ptr %15, align 4, !tbaa !9
  %462 = zext i32 %461 to i64
  %463 = load i32, ptr %14, align 4, !tbaa !9
  %464 = zext i32 %463 to i64
  %465 = mul nsw i64 %462, %464
  %466 = load ptr, ptr %13, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %466, i32 0, i32 5
  %468 = load i32, ptr %467, align 1, !tbaa !32
  %469 = zext i32 %468 to i64
  %470 = mul nsw i64 %465, %469
  %471 = load ptr, ptr %12, align 8, !tbaa !5
  %472 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %471, i32 0, i32 5
  %473 = load i32, ptr %472, align 4, !tbaa !24
  %474 = zext i32 %473 to i64
  %475 = mul nsw i64 %470, %474
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %454, i32 noundef %457, i32 noundef %460, i64 noundef %475)
  br label %476

476:                                              ; preds = %431, %425
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 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 80}
!14 = !{!"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, !15, 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}
!15 = !{!"libxsmm_tile_config", !7, i64 0, !16, i64 2, !7, i64 4, !16, i64 6, !7, i64 8, !16, i64 10, !7, i64 12, !16, i64 14, !7, i64 16, !16, i64 18, !7, i64 20, !16, i64 22, !7, i64 24, !16, i64 26, !7, i64 28, !16, i64 30, !7, i64 32}
!16 = !{!"short", !7, i64 0}
!17 = !{!18, !10, i64 88}
!18 = !{!"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}
!19 = !{!14, !10, i64 64}
!20 = !{!18, !10, i64 4}
!21 = !{!14, !10, i64 12}
!22 = !{!18, !10, i64 12}
!23 = !{!18, !10, i64 20}
!24 = !{!14, !10, i64 20}
!25 = !{!14, !10, i64 72}
!26 = !{!14, !10, i64 76}
!27 = !{!14, !10, i64 68}
!28 = !{!29, !10, i64 4}
!29 = !{!"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, !30, i64 33, !30, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !16, i64 62, !16, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !16, i64 70, !16, i64 72, !16, i64 74, !16, i64 76, !16, i64 78, !16, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!30 = !{!"long long", !7, i64 0}
!31 = !{!29, !10, i64 16}
!32 = !{!29, !10, i64 20}


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

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #1 {
  %9 = getelementptr inbounds i8, ptr %4, i64 29
  %10 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %9) #2
  %11 = icmp eq i32 %10, 0
  %12 = getelementptr inbounds i8, ptr %0, i64 28
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = add i32 %13, -1051
  %or.cond = icmp ult i32 %14, 50
  br i1 %11, label %15, label %18

15:                                               ; preds = %8
  br i1 %or.cond, label %21, label %16

16:                                               ; preds = %15
  %17 = add i32 %13, -1101
  %or.cond193 = icmp ult i32 %17, 899
  %spec.select = select i1 %or.cond193, i32 8, i32 4
  br label %21

18:                                               ; preds = %8
  br i1 %or.cond, label %21, label %19

19:                                               ; preds = %18
  %20 = add i32 %13, -1101
  %or.cond195 = icmp ult i32 %20, 899
  %spec.select196 = select i1 %or.cond195, i32 16, i32 8
  br label %21

21:                                               ; preds = %19, %16, %18, %15
  %.0 = phi i32 [ 4, %15 ], [ 8, %18 ], [ %spec.select, %16 ], [ %spec.select196, %19 ]
  %22 = add nsw i32 %.0, -1
  %23 = and i32 %22, %5
  %24 = udiv i32 %5, %.0
  %25 = icmp eq i32 %.0, %5
  br i1 %25, label %26, label %27

26:                                               ; preds = %21
  tail call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %6, i32 noundef %7)
  br label %140

27:                                               ; preds = %21
  %28 = icmp eq i32 %23, 0
  br i1 %28, label %29, label %82

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %3, i64 80
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %2, i64 88
  %33 = load i32, ptr %32, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %33, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #2
  %34 = getelementptr inbounds i8, ptr %3, i64 64
  %35 = load i32, ptr %34, align 8, !tbaa !17
  %36 = load i32, ptr %32, align 4, !tbaa !15
  %37 = zext nneg i32 %.0 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i64 noundef %37) #2
  tail call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %.0, i32 noundef %6, i32 noundef %7)
  %38 = load i32, ptr %34, align 8, !tbaa !17
  %39 = getelementptr inbounds i8, ptr %2, i64 4
  %40 = load i32, ptr %39, align 4, !tbaa !18
  %41 = getelementptr inbounds i8, ptr %3, i64 12
  %42 = load i32, ptr %41, align 4, !tbaa !19
  %43 = zext i32 %42 to i64
  %44 = mul nuw nsw i64 %43, %37
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %38, i32 noundef %40, i64 noundef %44) #2
  %45 = load i32, ptr %34, align 8, !tbaa !17
  %46 = getelementptr inbounds i8, ptr %2, i64 12
  %47 = load i32, ptr %46, align 4, !tbaa !20
  %48 = load i32, ptr %41, align 4, !tbaa !19
  %49 = zext i32 %48 to i64
  %50 = mul nuw nsw i64 %49, %37
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %45, i32 noundef %47, i64 noundef %50) #2
  %51 = load i32, ptr %34, align 8, !tbaa !17
  %52 = getelementptr inbounds i8, ptr %2, i64 20
  %53 = load i32, ptr %52, align 4, !tbaa !21
  %54 = getelementptr inbounds i8, ptr %3, i64 20
  %55 = load i32, ptr %54, align 4, !tbaa !22
  %56 = zext i32 %55 to i64
  %57 = mul nuw nsw i64 %56, %37
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %51, i32 noundef %53, i64 noundef %57) #2
  %58 = getelementptr inbounds i8, ptr %3, i64 72
  %59 = load i32, ptr %58, align 8, !tbaa !23
  %60 = load i32, ptr %32, align 4, !tbaa !15
  %61 = zext i32 %5 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %60, i64 noundef %61) #2
  %62 = getelementptr inbounds i8, ptr %3, i64 76
  %63 = load i32, ptr %62, align 4, !tbaa !24
  tail call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %63, ptr noundef %1) #2
  %64 = getelementptr inbounds i8, ptr %3, i64 68
  %65 = load i32, ptr %64, align 4, !tbaa !25
  %66 = load i32, ptr %39, align 4, !tbaa !18
  %67 = zext nneg i32 %24 to i64
  %68 = mul nuw nsw i64 %67, %37
  %69 = load i32, ptr %41, align 4, !tbaa !19
  %70 = zext i32 %69 to i64
  %71 = mul nuw nsw i64 %68, %70
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %66, i64 noundef %71) #2
  %72 = load i32, ptr %64, align 4, !tbaa !25
  %73 = load i32, ptr %46, align 4, !tbaa !20
  %74 = load i32, ptr %41, align 4, !tbaa !19
  %75 = zext i32 %74 to i64
  %76 = mul nuw nsw i64 %68, %75
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %73, i64 noundef %76) #2
  %77 = load i32, ptr %64, align 4, !tbaa !25
  %78 = load i32, ptr %52, align 4, !tbaa !21
  %79 = load i32, ptr %54, align 4, !tbaa !22
  %80 = zext i32 %79 to i64
  %81 = mul nuw nsw i64 %68, %80
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %77, i32 noundef %78, i64 noundef %81) #2
  br label %140

82:                                               ; preds = %27
  %83 = icmp ugt i32 %.0, %5
  br i1 %83, label %84, label %85

84:                                               ; preds = %82
  tail call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %23, i32 noundef %6, i32 noundef %7)
  br label %140

85:                                               ; preds = %82
  %86 = getelementptr inbounds i8, ptr %3, i64 80
  %87 = load i32, ptr %86, align 8, !tbaa !11
  %88 = getelementptr inbounds i8, ptr %2, i64 88
  %89 = load i32, ptr %88, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %87, i32 noundef %89, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #2
  %90 = getelementptr inbounds i8, ptr %3, i64 64
  %91 = load i32, ptr %90, align 8, !tbaa !17
  %92 = load i32, ptr %88, align 4, !tbaa !15
  %93 = zext nneg i32 %.0 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %91, i32 noundef %92, i64 noundef %93) #2
  tail call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %.0, i32 noundef %6, i32 noundef %7)
  %94 = load i32, ptr %90, align 8, !tbaa !17
  %95 = getelementptr inbounds i8, ptr %2, i64 4
  %96 = load i32, ptr %95, align 4, !tbaa !18
  %97 = getelementptr inbounds i8, ptr %3, i64 12
  %98 = load i32, ptr %97, align 4, !tbaa !19
  %99 = zext i32 %98 to i64
  %100 = mul nuw nsw i64 %99, %93
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %94, i32 noundef %96, i64 noundef %100) #2
  %101 = load i32, ptr %90, align 8, !tbaa !17
  %102 = getelementptr inbounds i8, ptr %2, i64 12
  %103 = load i32, ptr %102, align 4, !tbaa !20
  %104 = load i32, ptr %97, align 4, !tbaa !19
  %105 = zext i32 %104 to i64
  %106 = mul nuw nsw i64 %105, %93
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %101, i32 noundef %103, i64 noundef %106) #2
  %107 = load i32, ptr %90, align 8, !tbaa !17
  %108 = getelementptr inbounds i8, ptr %2, i64 20
  %109 = load i32, ptr %108, align 4, !tbaa !21
  %110 = getelementptr inbounds i8, ptr %3, i64 20
  %111 = load i32, ptr %110, align 4, !tbaa !22
  %112 = zext i32 %111 to i64
  %113 = mul nuw nsw i64 %112, %93
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %107, i32 noundef %109, i64 noundef %113) #2
  %114 = getelementptr inbounds i8, ptr %3, i64 72
  %115 = load i32, ptr %114, align 8, !tbaa !23
  %116 = load i32, ptr %88, align 4, !tbaa !15
  %117 = zext i32 %5 to i64
  %118 = zext nneg i32 %23 to i64
  %119 = sub nsw i64 %117, %118
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %115, i32 noundef %116, i64 noundef %119) #2
  %120 = getelementptr inbounds i8, ptr %3, i64 76
  %121 = load i32, ptr %120, align 4, !tbaa !24
  tail call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %121, ptr noundef %1) #2
  tail call void @libxsmm_generator_packed_gemm_avx_avx2_avx512_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %23, i32 noundef %6, i32 noundef %7)
  %122 = getelementptr inbounds i8, ptr %3, i64 68
  %123 = load i32, ptr %122, align 4, !tbaa !25
  %124 = load i32, ptr %95, align 4, !tbaa !18
  %125 = zext nneg i32 %24 to i64
  %126 = mul nuw nsw i64 %125, %93
  %127 = load i32, ptr %97, align 4, !tbaa !19
  %128 = zext i32 %127 to i64
  %129 = mul nuw nsw i64 %126, %128
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %123, i32 noundef %124, i64 noundef %129) #2
  %130 = load i32, ptr %122, align 4, !tbaa !25
  %131 = load i32, ptr %102, align 4, !tbaa !20
  %132 = load i32, ptr %97, align 4, !tbaa !19
  %133 = zext i32 %132 to i64
  %134 = mul nuw nsw i64 %126, %133
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %130, i32 noundef %131, i64 noundef %134) #2
  %135 = load i32, ptr %122, align 4, !tbaa !25
  %136 = load i32, ptr %108, align 4, !tbaa !21
  %137 = load i32, ptr %110, align 4, !tbaa !22
  %138 = zext i32 %137 to i64
  %139 = mul nuw nsw i64 %126, %138
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %135, i32 noundef %136, i64 noundef %139) #2
  br label %140

140:                                              ; preds = %29, %85, %84, %26
  %141 = getelementptr inbounds i8, ptr %4, i64 4
  %142 = load i32, ptr %141, align 1, !tbaa !26
  %.not = icmp eq i32 %142, %6
  br i1 %.not, label %170, label %143

143:                                              ; preds = %140
  %144 = getelementptr inbounds i8, ptr %3, i64 64
  %145 = load i32, ptr %144, align 8, !tbaa !17
  %146 = getelementptr inbounds i8, ptr %2, i64 12
  %147 = load i32, ptr %146, align 4, !tbaa !20
  %148 = zext i32 %6 to i64
  %149 = zext i32 %5 to i64
  %150 = mul nuw nsw i64 %148, %149
  %151 = getelementptr inbounds i8, ptr %4, i64 16
  %152 = load i32, ptr %151, align 1, !tbaa !29
  %153 = zext i32 %152 to i64
  %154 = mul nuw nsw i64 %150, %153
  %155 = getelementptr inbounds i8, ptr %3, i64 12
  %156 = load i32, ptr %155, align 4, !tbaa !19
  %157 = zext i32 %156 to i64
  %158 = mul nuw nsw i64 %154, %157
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %145, i32 noundef %147, i64 noundef %158) #2
  %159 = load i32, ptr %144, align 8, !tbaa !17
  %160 = getelementptr inbounds i8, ptr %2, i64 20
  %161 = load i32, ptr %160, align 4, !tbaa !21
  %162 = getelementptr inbounds i8, ptr %4, i64 20
  %163 = load i32, ptr %162, align 1, !tbaa !30
  %164 = zext i32 %163 to i64
  %165 = mul nuw nsw i64 %150, %164
  %166 = getelementptr inbounds i8, ptr %3, i64 20
  %167 = load i32, ptr %166, align 4, !tbaa !22
  %168 = zext i32 %167 to i64
  %169 = mul nuw nsw i64 %165, %168
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %159, i32 noundef %161, i64 noundef %169) #2
  br label %170

170:                                              ; preds = %143, %140
  ret void
}

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 28}
!6 = !{!"libxsmm_generated_code", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 80}
!12 = !{!"libxsmm_micro_kernel_config", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !8, 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, !8, i64 364, !8, i64 380, !8, i64 396, !8, i64 412, !8, i64 428, !8, i64 444, !10, i64 460, !8, i64 464, !13, i64 520, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !7, i64 592, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !7, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !10, i64 680}
!13 = !{!"libxsmm_tile_config", !8, i64 0, !14, i64 2, !8, i64 4, !14, i64 6, !8, i64 8, !14, i64 10, !8, i64 12, !14, i64 14, !8, i64 16, !14, i64 18, !8, i64 20, !14, i64 22, !8, i64 24, !14, i64 26, !8, i64 28, !14, i64 30, !8, i64 32}
!14 = !{!"short", !8, i64 0}
!15 = !{!16, !10, i64 88}
!16 = !{!"libxsmm_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128}
!17 = !{!12, !10, i64 64}
!18 = !{!16, !10, i64 4}
!19 = !{!12, !10, i64 12}
!20 = !{!16, !10, i64 12}
!21 = !{!16, !10, i64 20}
!22 = !{!12, !10, i64 20}
!23 = !{!12, !10, i64 72}
!24 = !{!12, !10, i64 76}
!25 = !{!12, !10, i64 68}
!26 = !{!27, !10, i64 4}
!27 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !28, i64 33, !28, i64 41, !8, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !14, i64 62, !14, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !14, i64 70, !14, i64 72, !14, i64 74, !14, i64 76, !14, i64 78, !14, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !8, i64 94}
!28 = !{!"long long", !8, i64 0}
!29 = !{!27, !10, i64 16}
!30 = !{!27, !10, i64 20}


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