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

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

%struct.libxsmm_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

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

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

28:                                               ; preds = %23
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = icmp ule i32 %31, 1999
  br i1 %32, label %33, label %34

33:                                               ; preds = %28
  store i32 8, ptr %17, align 4, !tbaa !9
  br label %35

34:                                               ; preds = %28, %23
  store i32 4, ptr %17, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %34, %33
  br label %49

36:                                               ; preds = %7
  %37 = load ptr, ptr %8, 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, 1101
  br i1 %40, label %41, label %47

41:                                               ; preds = %36
  %42 = load ptr, ptr %8, 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 ule i32 %44, 1999
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  store i32 16, ptr %17, align 4, !tbaa !9
  br label %48

47:                                               ; preds = %41, %36
  store i32 8, ptr %17, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %47, %46
  br label %49

49:                                               ; preds = %48, %35
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = urem i32 %50, %51
  store i32 %52, ptr %15, align 4, !tbaa !9
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = load i32, ptr %17, align 4, !tbaa !9
  %55 = udiv i32 %53, %54
  store i32 %55, ptr %16, align 4, !tbaa !9
  %56 = load i32, ptr %17, align 4, !tbaa !9
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = icmp eq i32 %56, %57
  br i1 %58, label %59, label %69

59:                                               ; preds = %49
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = load i32, ptr %13, align 4, !tbaa !9
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68)
  br label %308

69:                                               ; preds = %49
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %176

72:                                               ; preds = %69
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %74, i32 0, i32 20
  %76 = load i32, ptr %75, align 8, !tbaa !13
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %77, i32 0, i32 22
  %79 = load i32, ptr %78, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %73, i32 noundef %76, i32 noundef %79, i64 noundef 0)
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %80, ptr noundef %81)
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %83, i32 0, i32 16
  %85 = load i32, ptr %84, align 8, !tbaa !19
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %86, i32 0, i32 22
  %88 = load i32, ptr %87, align 4, !tbaa !17
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %82, i32 noundef %85, i32 noundef %88, i64 noundef %90)
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = load i32, ptr %17, align 4, !tbaa !9
  %98 = load i32, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %91, ptr noundef %92, ptr noundef %93, ptr noundef %94, ptr noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef %98, i32 noundef %99)
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %101, i32 0, i32 16
  %103 = load i32, ptr %102, align 8, !tbaa !19
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %104, i32 0, i32 3
  %106 = load i32, ptr %105, align 4, !tbaa !20
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %109, i32 0, i32 3
  %111 = load i32, ptr %110, align 4, !tbaa !21
  %112 = zext i32 %111 to i64
  %113 = mul nsw i64 %108, %112
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %100, i32 noundef %103, i32 noundef %106, i64 noundef %113)
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %115, i32 0, i32 16
  %117 = load i32, ptr %116, align 8, !tbaa !19
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %118, i32 0, i32 5
  %120 = load i32, ptr %119, align 4, !tbaa !22
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %123, i32 0, i32 5
  %125 = load i32, ptr %124, align 4, !tbaa !23
  %126 = zext i32 %125 to i64
  %127 = mul nsw i64 %122, %126
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %114, i32 noundef %117, i32 noundef %120, i64 noundef %127)
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = load ptr, ptr %11, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %129, i32 0, i32 18
  %131 = load i32, ptr %130, align 8, !tbaa !24
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %132, i32 0, i32 22
  %134 = load i32, ptr %133, align 4, !tbaa !17
  %135 = load i32, ptr %13, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %128, i32 noundef %131, i32 noundef %134, i64 noundef %136)
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %138, i32 0, i32 19
  %140 = load i32, ptr %139, align 4, !tbaa !25
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %137, i32 noundef %140, ptr noundef %141)
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %143, i32 0, i32 17
  %145 = load i32, ptr %144, align 4, !tbaa !26
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %146, i32 0, i32 3
  %148 = load i32, ptr %147, align 4, !tbaa !20
  %149 = load i32, ptr %16, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = mul nsw i64 %150, %152
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %154, i32 0, i32 3
  %156 = load i32, ptr %155, align 4, !tbaa !21
  %157 = zext i32 %156 to i64
  %158 = mul nsw i64 %153, %157
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %142, i32 noundef %145, i32 noundef %148, i64 noundef %158)
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %160, i32 0, i32 17
  %162 = load i32, ptr %161, align 4, !tbaa !26
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %163, i32 0, i32 5
  %165 = load i32, ptr %164, align 4, !tbaa !22
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = load i32, ptr %17, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = mul nsw i64 %167, %169
  %171 = load ptr, ptr %11, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %171, i32 0, i32 5
  %173 = load i32, ptr %172, align 4, !tbaa !23
  %174 = zext i32 %173 to i64
  %175 = mul nsw i64 %170, %174
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %159, i32 noundef %162, i32 noundef %165, i64 noundef %175)
  br label %307

176:                                              ; preds = %69
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = icmp ugt i32 %177, %178
  br i1 %179, label %180, label %190

180:                                              ; preds = %176
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = load ptr, ptr %9, align 8, !tbaa !5
  %183 = load ptr, ptr %10, align 8, !tbaa !5
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = load ptr, ptr %12, align 8, !tbaa !5
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = load i32, ptr %17, align 4, !tbaa !9
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %181, ptr noundef %182, ptr noundef %183, ptr noundef %184, ptr noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef %188, i32 noundef %189)
  br label %306

190:                                              ; preds = %176
  %191 = load ptr, ptr %8, align 8, !tbaa !5
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %192, i32 0, i32 20
  %194 = load i32, ptr %193, align 8, !tbaa !13
  %195 = load ptr, ptr %10, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %195, i32 0, i32 22
  %197 = load i32, ptr %196, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %191, i32 noundef %194, i32 noundef %197, i64 noundef 0)
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = load ptr, ptr %9, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %198, ptr noundef %199)
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %201, i32 0, i32 16
  %203 = load i32, ptr %202, align 8, !tbaa !19
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %204, i32 0, i32 22
  %206 = load i32, ptr %205, align 4, !tbaa !17
  %207 = load i32, ptr %17, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %200, i32 noundef %203, i32 noundef %206, i64 noundef %208)
  %209 = load ptr, ptr %8, align 8, !tbaa !5
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = load ptr, ptr %12, align 8, !tbaa !5
  %214 = load i32, ptr %13, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %209, ptr noundef %210, ptr noundef %211, ptr noundef %212, ptr noundef %213, i32 noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217)
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %219, i32 0, i32 16
  %221 = load i32, ptr %220, align 8, !tbaa !19
  %222 = load ptr, ptr %10, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %222, i32 0, i32 3
  %224 = load i32, ptr %223, align 4, !tbaa !20
  %225 = load i32, ptr %17, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = load ptr, ptr %11, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %227, i32 0, i32 3
  %229 = load i32, ptr %228, align 4, !tbaa !21
  %230 = zext i32 %229 to i64
  %231 = mul nsw i64 %226, %230
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %218, i32 noundef %221, i32 noundef %224, i64 noundef %231)
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = load ptr, ptr %11, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %233, i32 0, i32 16
  %235 = load i32, ptr %234, align 8, !tbaa !19
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %236, i32 0, i32 5
  %238 = load i32, ptr %237, align 4, !tbaa !22
  %239 = load i32, ptr %17, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = load ptr, ptr %11, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %241, i32 0, i32 5
  %243 = load i32, ptr %242, align 4, !tbaa !23
  %244 = zext i32 %243 to i64
  %245 = mul nsw i64 %240, %244
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %232, i32 noundef %235, i32 noundef %238, i64 noundef %245)
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = load ptr, ptr %11, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %247, i32 0, i32 18
  %249 = load i32, ptr %248, align 8, !tbaa !24
  %250 = load ptr, ptr %10, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %250, i32 0, i32 22
  %252 = load i32, ptr %251, align 4, !tbaa !17
  %253 = load i32, ptr %13, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = load i32, ptr %15, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = sub nsw i64 %254, %256
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %246, i32 noundef %249, i32 noundef %252, i64 noundef %257)
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = load ptr, ptr %11, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %259, i32 0, i32 19
  %261 = load i32, ptr %260, align 4, !tbaa !25
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %258, i32 noundef %261, ptr noundef %262)
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %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 i32, ptr %13, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop_simd_packed(ptr noundef %263, ptr noundef %264, ptr noundef %265, ptr noundef %266, ptr noundef %267, i32 noundef %268, i32 noundef %269, i32 noundef %270, i32 noundef %271)
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %273, i32 0, i32 17
  %275 = load i32, ptr %274, align 4, !tbaa !26
  %276 = load ptr, ptr %10, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %276, i32 0, i32 3
  %278 = load i32, ptr %277, align 4, !tbaa !20
  %279 = load i32, ptr %16, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = load i32, ptr %17, align 4, !tbaa !9
  %282 = zext i32 %281 to i64
  %283 = mul nsw i64 %280, %282
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %284, i32 0, i32 3
  %286 = load i32, ptr %285, align 4, !tbaa !21
  %287 = zext i32 %286 to i64
  %288 = mul nsw i64 %283, %287
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %272, i32 noundef %275, i32 noundef %278, i64 noundef %288)
  %289 = load ptr, ptr %8, align 8, !tbaa !5
  %290 = load ptr, ptr %11, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %290, i32 0, i32 17
  %292 = load i32, ptr %291, align 4, !tbaa !26
  %293 = load ptr, ptr %10, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %293, i32 0, i32 5
  %295 = load i32, ptr %294, align 4, !tbaa !22
  %296 = load i32, ptr %16, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = load i32, ptr %17, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = mul nsw i64 %297, %299
  %301 = load ptr, ptr %11, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %301, i32 0, i32 5
  %303 = load i32, ptr %302, align 4, !tbaa !23
  %304 = zext i32 %303 to i64
  %305 = mul nsw i64 %300, %304
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %289, i32 noundef %292, i32 noundef %295, i64 noundef %305)
  br label %306

306:                                              ; preds = %190, %180
  br label %307

307:                                              ; preds = %306, %72
  br label %308

308:                                              ; preds = %307, %59
  %309 = load ptr, ptr %12, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %309, i32 0, i32 1
  %311 = load i32, ptr %310, align 1, !tbaa !27
  %312 = load i32, ptr %14, align 4, !tbaa !9
  %313 = icmp ne i32 %311, %312
  br i1 %313, label %314, label %349

314:                                              ; preds = %308
  %315 = load ptr, ptr %8, align 8, !tbaa !5
  %316 = load ptr, ptr %11, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %316, i32 0, i32 16
  %318 = load i32, ptr %317, align 8, !tbaa !19
  %319 = load ptr, ptr %10, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %319, i32 0, i32 3
  %321 = load i32, ptr %320, align 4, !tbaa !20
  %322 = load i32, ptr %14, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  %324 = load i32, ptr %13, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = mul nsw i64 %323, %325
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %327, i32 0, i32 3
  %329 = load i32, ptr %328, align 4, !tbaa !21
  %330 = zext i32 %329 to i64
  %331 = mul nsw i64 %326, %330
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %315, i32 noundef %318, i32 noundef %321, i64 noundef %331)
  %332 = load ptr, ptr %8, align 8, !tbaa !5
  %333 = load ptr, ptr %11, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %333, i32 0, i32 16
  %335 = load i32, ptr %334, align 8, !tbaa !19
  %336 = load ptr, ptr %10, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %336, i32 0, i32 5
  %338 = load i32, ptr %337, align 4, !tbaa !22
  %339 = load i32, ptr %14, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = load i32, ptr %13, align 4, !tbaa !9
  %342 = zext i32 %341 to i64
  %343 = mul nsw i64 %340, %342
  %344 = load ptr, ptr %11, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %344, i32 0, i32 5
  %346 = load i32, ptr %345, align 4, !tbaa !23
  %347 = zext i32 %346 to i64
  %348 = mul nsw i64 %343, %347
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %332, i32 noundef %335, i32 noundef %338, i64 noundef %348)
  br label %349

349:                                              ; preds = %314, %308
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop_simd_packed(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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 12}
!21 = !{!14, !10, i64 12}
!22 = !{!18, !10, i64 20}
!23 = !{!14, !10, i64 20}
!24 = !{!14, !10, i64 72}
!25 = !{!14, !10, i64 76}
!26 = !{!14, !10, i64 68}
!27 = !{!28, !10, i64 4}
!28 = !{!"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, !29, i64 33, !29, 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}
!29 = !{!"long long", !7, i64 0}


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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_bc_rm_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) local_unnamed_addr #1 {
  %8 = getelementptr inbounds i8, ptr %4, i64 29
  %9 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %8) #2
  %10 = icmp eq i32 %9, 0
  %11 = getelementptr inbounds i8, ptr %0, i64 28
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = add i32 %12, -1101
  %or.cond = icmp ult i32 %13, 899
  %spec.select = select i1 %or.cond, i32 8, i32 4
  %spec.select155 = select i1 %or.cond, i32 16, i32 8
  %.0 = select i1 %10, i32 %spec.select, i32 %spec.select155
  %14 = add nsw i32 %.0, -1
  %15 = and i32 %14, %5
  %16 = select i1 %or.cond, i32 3, i32 2
  %17 = select i1 %or.cond, i32 4, i32 3
  %18 = select i1 %10, i32 %16, i32 %17
  %19 = lshr i32 %5, %18
  %20 = icmp eq i32 %.0, %5
  br i1 %20, label %21, label %22

21:                                               ; preds = %7
  tail call void @libxsmm_generator_packed_gemm_bc_rm_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)
  br label %131

22:                                               ; preds = %7
  %23 = icmp eq i32 %15, 0
  br i1 %23, label %24, label %75

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

75:                                               ; preds = %22
  %76 = icmp ugt i32 %.0, %5
  br i1 %76, label %77, label %78

77:                                               ; preds = %75
  tail call void @libxsmm_generator_packed_gemm_bc_rm_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 %15, i32 noundef %6)
  br label %131

78:                                               ; preds = %75
  %79 = getelementptr inbounds i8, ptr %3, i64 80
  %80 = load i32, ptr %79, align 8, !tbaa !11
  %81 = getelementptr inbounds i8, ptr %2, i64 88
  %82 = load i32, ptr %81, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %80, i32 noundef %82, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #2
  %83 = getelementptr inbounds i8, ptr %3, i64 64
  %84 = load i32, ptr %83, align 8, !tbaa !17
  %85 = load i32, ptr %81, align 4, !tbaa !15
  %86 = zext nneg i32 %.0 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %84, i32 noundef %85, i64 noundef %86) #2
  tail call void @libxsmm_generator_packed_gemm_bc_rm_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)
  %87 = load i32, ptr %83, align 8, !tbaa !17
  %88 = getelementptr inbounds i8, ptr %2, i64 12
  %89 = load i32, ptr %88, align 4, !tbaa !18
  %90 = getelementptr inbounds i8, ptr %3, i64 12
  %91 = load i32, ptr %90, align 4, !tbaa !19
  %92 = zext i32 %91 to i64
  %93 = select i1 %or.cond, i64 3, i64 2
  %94 = select i1 %or.cond, i64 4, i64 3
  %95 = select i1 %10, i64 %93, i64 %94
  %96 = shl nuw nsw i64 %92, %95
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %87, i32 noundef %89, i64 noundef %96) #2
  %97 = load i32, ptr %83, align 8, !tbaa !17
  %98 = getelementptr inbounds i8, ptr %2, i64 20
  %99 = load i32, ptr %98, align 4, !tbaa !20
  %100 = getelementptr inbounds i8, ptr %3, i64 20
  %101 = load i32, ptr %100, align 4, !tbaa !21
  %102 = zext i32 %101 to i64
  %103 = select i1 %or.cond, i64 3, i64 2
  %104 = select i1 %or.cond, i64 4, i64 3
  %105 = select i1 %10, i64 %103, i64 %104
  %106 = shl nuw nsw i64 %102, %105
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %97, i32 noundef %99, i64 noundef %106) #2
  %107 = getelementptr inbounds i8, ptr %3, i64 72
  %108 = load i32, ptr %107, align 8, !tbaa !22
  %109 = load i32, ptr %81, align 4, !tbaa !15
  %110 = zext i32 %5 to i64
  %111 = zext nneg i32 %15 to i64
  %112 = sub nsw i64 %110, %111
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %108, i32 noundef %109, i64 noundef %112) #2
  %113 = getelementptr inbounds i8, ptr %3, i64 76
  %114 = load i32, ptr %113, align 4, !tbaa !23
  tail call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %114, ptr noundef %1) #2
  tail call void @libxsmm_generator_packed_gemm_bc_rm_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 %15, i32 noundef %6)
  %115 = getelementptr inbounds i8, ptr %3, i64 68
  %116 = load i32, ptr %115, align 4, !tbaa !24
  %117 = load i32, ptr %88, align 4, !tbaa !18
  %118 = zext nneg i32 %19 to i64
  %119 = select i1 %or.cond, i64 3, i64 2
  %120 = select i1 %or.cond, i64 4, i64 3
  %121 = select i1 %10, i64 %119, i64 %120
  %122 = shl nuw nsw i64 %118, %121
  %123 = load i32, ptr %90, align 4, !tbaa !19
  %124 = zext i32 %123 to i64
  %125 = mul nuw nsw i64 %122, %124
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %116, i32 noundef %117, i64 noundef %125) #2
  %126 = load i32, ptr %115, align 4, !tbaa !24
  %127 = load i32, ptr %98, align 4, !tbaa !20
  %128 = load i32, ptr %100, align 4, !tbaa !21
  %129 = zext i32 %128 to i64
  %130 = mul nuw nsw i64 %122, %129
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %126, i32 noundef %127, i64 noundef %130) #2
  br label %131

131:                                              ; preds = %24, %78, %77, %21
  %132 = getelementptr inbounds i8, ptr %4, i64 4
  %133 = load i32, ptr %132, align 1, !tbaa !25
  %.not = icmp eq i32 %133, %6
  br i1 %.not, label %153, label %134

134:                                              ; preds = %131
  %135 = getelementptr inbounds i8, ptr %3, i64 64
  %136 = load i32, ptr %135, align 8, !tbaa !17
  %137 = getelementptr inbounds i8, ptr %2, i64 12
  %138 = load i32, ptr %137, align 4, !tbaa !18
  %139 = zext i32 %6 to i64
  %140 = zext i32 %5 to i64
  %141 = mul nuw nsw i64 %139, %140
  %142 = getelementptr inbounds i8, ptr %3, i64 12
  %143 = load i32, ptr %142, align 4, !tbaa !19
  %144 = zext i32 %143 to i64
  %145 = mul nuw nsw i64 %141, %144
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %136, i32 noundef %138, i64 noundef %145) #2
  %146 = load i32, ptr %135, align 8, !tbaa !17
  %147 = getelementptr inbounds i8, ptr %2, i64 20
  %148 = load i32, ptr %147, align 4, !tbaa !20
  %149 = getelementptr inbounds i8, ptr %3, i64 20
  %150 = load i32, ptr %149, align 4, !tbaa !21
  %151 = zext i32 %150 to i64
  %152 = mul nuw nsw i64 %141, %151
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %146, i32 noundef %148, i64 noundef %152) #2
  br label %153

153:                                              ; preds = %134, %131
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_gemm_bc_rm_avx_avx2_avx512_kloop_simd_packed(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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 12}
!19 = !{!12, !10, i64 12}
!20 = !{!16, !10, i64 20}
!21 = !{!12, !10, i64 20}
!22 = !{!12, !10, i64 72}
!23 = !{!12, !10, i64 76}
!24 = !{!12, !10, i64 68}
!25 = !{!26, !10, i64 4}
!26 = !{!"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, !27, i64 33, !27, 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}
!27 = !{!"long long", !8, i64 0}


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