; LLVM IR from libxsmm/libxsmm :: src (generator_packed_spgemm_csc_csparse_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: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #0 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store ptr %5, ptr %16, align 8, !tbaa !5
  store ptr %6, ptr %17, align 8, !tbaa !5
  store i32 %7, ptr %18, align 4, !tbaa !9
  store i32 %8, ptr %19, align 4, !tbaa !9
  store i32 %9, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !9
  %23 = load ptr, ptr %15, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %23, i32 0, i32 8
  %25 = getelementptr inbounds [3 x i8], ptr %24, i64 0, i64 0
  %26 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %25)
  %27 = icmp eq i32 0, %26
  br i1 %27, label %28, label %41

28:                                               ; preds = %10
  %29 = load ptr, ptr %11, 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 uge i32 %31, 1101
  br i1 %32, label %33, label %39

33:                                               ; preds = %28
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = icmp ule i32 %36, 1999
  br i1 %37, label %38, label %39

38:                                               ; preds = %33
  store i32 8, ptr %22, align 4, !tbaa !9
  br label %40

39:                                               ; preds = %33, %28
  store i32 4, ptr %22, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %39, %38
  br label %54

41:                                               ; preds = %10
  %42 = load ptr, ptr %11, 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 uge i32 %44, 1101
  br i1 %45, label %46, label %52

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

51:                                               ; preds = %46
  store i32 16, ptr %22, align 4, !tbaa !9
  br label %53

52:                                               ; preds = %46, %41
  store i32 8, ptr %22, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %52, %51
  br label %54

54:                                               ; preds = %53, %40
  %55 = load i32, ptr %18, align 4, !tbaa !9
  %56 = load i32, ptr %22, align 4, !tbaa !9
  %57 = udiv i32 %55, %56
  store i32 %57, ptr %21, align 4, !tbaa !9
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = load ptr, ptr %14, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %59, i32 0, i32 13
  %61 = load i32, ptr %60, align 4, !tbaa !13
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %62, i32 0, i32 21
  %64 = load i8, ptr %63, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %58, i32 noundef %61, i8 noundef signext %64, i32 noundef 31, i32 noundef 31, i32 noundef 31)
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 1, !tbaa !18
  %68 = icmp ugt i32 %67, 1
  br i1 %68, label %69, label %86

69:                                               ; preds = %54
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %71, i32 0, i32 20
  %73 = load i32, ptr %72, align 8, !tbaa !21
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %74, i32 0, i32 12
  %76 = load i32, ptr %75, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %70, i32 noundef %73, i32 noundef %76, i64 noundef 0)
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %77, ptr noundef %78)
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = load ptr, ptr %14, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %80, i32 0, i32 16
  %82 = load i32, ptr %81, align 8, !tbaa !24
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %83, i32 0, i32 12
  %85 = load i32, ptr %84, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %79, i32 noundef %82, i32 noundef %85, i64 noundef 1)
  br label %86

86:                                               ; preds = %69, %54
  %87 = load i32, ptr %21, align 4, !tbaa !9
  %88 = icmp ugt i32 %87, 1
  br i1 %88, label %89, label %106

89:                                               ; preds = %86
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %91, i32 0, i32 20
  %93 = load i32, ptr %92, align 8, !tbaa !21
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %94, i32 0, i32 23
  %96 = load i32, ptr %95, align 4, !tbaa !25
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %90, i32 noundef %93, i32 noundef %96, i64 noundef 0)
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %97, ptr noundef %98)
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %100, i32 0, i32 16
  %102 = load i32, ptr %101, align 8, !tbaa !24
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %103, i32 0, i32 23
  %105 = load i32, ptr %104, align 4, !tbaa !25
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %99, i32 noundef %102, i32 noundef %105, i64 noundef 1)
  br label %106

106:                                              ; preds = %89, %86
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %108, i32 0, i32 0
  %110 = load i32, ptr %109, align 8, !tbaa !26
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %111, i32 0, i32 3
  %113 = load i32, ptr %112, align 4, !tbaa !27
  %114 = load ptr, ptr %14, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %114, i32 0, i32 3
  %116 = load i32, ptr %115, align 4, !tbaa !28
  %117 = load i32, ptr %18, align 4, !tbaa !9
  %118 = mul i32 %116, %117
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = mul i32 %118, %119
  %121 = load ptr, ptr %14, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %121, i32 0, i32 21
  %123 = load i8, ptr %122, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %107, i32 noundef %110, i32 noundef 537138704, i32 noundef %113, i32 noundef 127, i32 noundef 0, i32 noundef %120, i8 noundef signext %123, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = load ptr, ptr %14, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %125, i32 0, i32 21
  %127 = load i8, ptr %126, align 4, !tbaa !17
  %128 = load ptr, ptr %13, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 4, !tbaa !29
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %131, i32 0, i32 3
  %133 = load i32, ptr %132, align 4, !tbaa !28
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = mul i32 %133, %134
  %136 = load ptr, ptr %16, align 8, !tbaa !5
  %137 = load ptr, ptr %17, align 8, !tbaa !5
  %138 = load i32, ptr %19, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds i32, ptr %137, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %142 = load i32, ptr %20, align 4, !tbaa !9
  %143 = add i32 %141, %142
  %144 = zext i32 %143 to i64
  %145 = getelementptr inbounds i32, ptr %136, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !9
  %147 = mul i32 %135, %146
  call void @libxsmm_x86_instruction_vec_compute_mem_2reg(ptr noundef %124, i32 noundef 805643960, i8 noundef signext %127, i32 noundef %130, i32 noundef 127, i32 noundef 0, i32 noundef %147, i32 noundef 0, i32 noundef 0, i32 noundef 31)
  %148 = load i32, ptr %21, align 4, !tbaa !9
  %149 = icmp ugt i32 %148, 1
  br i1 %149, label %150, label %227

150:                                              ; preds = %106
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = load ptr, ptr %14, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %152, i32 0, i32 16
  %154 = load i32, ptr %153, align 8, !tbaa !24
  %155 = load ptr, ptr %13, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %155, i32 0, i32 1
  %157 = load i32, ptr %156, align 4, !tbaa !29
  %158 = load ptr, ptr %14, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %158, i32 0, i32 3
  %160 = load i32, ptr %159, align 4, !tbaa !28
  %161 = zext i32 %160 to i64
  %162 = load i32, ptr %22, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = mul nsw i64 %161, %163
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %151, i32 noundef %154, i32 noundef %157, i64 noundef %164)
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = load ptr, ptr %14, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %166, i32 0, i32 16
  %168 = load i32, ptr %167, align 8, !tbaa !24
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %169, i32 0, i32 3
  %171 = load i32, ptr %170, align 4, !tbaa !27
  %172 = load ptr, ptr %14, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %172, i32 0, i32 3
  %174 = load i32, ptr %173, align 4, !tbaa !28
  %175 = zext i32 %174 to i64
  %176 = load i32, ptr %22, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = mul nsw i64 %175, %177
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %165, i32 noundef %168, i32 noundef %171, i64 noundef %178)
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %180, i32 0, i32 18
  %182 = load i32, ptr %181, align 8, !tbaa !30
  %183 = load ptr, ptr %13, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %183, i32 0, i32 23
  %185 = load i32, ptr %184, align 4, !tbaa !25
  %186 = load i32, ptr %21, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %179, i32 noundef %182, i32 noundef %185, i64 noundef %187)
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = load ptr, ptr %14, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %189, i32 0, i32 19
  %191 = load i32, ptr %190, align 4, !tbaa !31
  %192 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %188, i32 noundef %191, ptr noundef %192)
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  %194 = load ptr, ptr %14, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %194, i32 0, i32 17
  %196 = load i32, ptr %195, align 4, !tbaa !32
  %197 = load ptr, ptr %13, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %197, i32 0, i32 1
  %199 = load i32, ptr %198, align 4, !tbaa !29
  %200 = load i32, ptr %21, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = load ptr, ptr %14, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %202, i32 0, i32 3
  %204 = load i32, ptr %203, align 4, !tbaa !28
  %205 = zext i32 %204 to i64
  %206 = mul nsw i64 %201, %205
  %207 = load i32, ptr %22, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = mul nsw i64 %206, %208
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %193, i32 noundef %196, i32 noundef %199, i64 noundef %209)
  %210 = load ptr, ptr %11, align 8, !tbaa !5
  %211 = load ptr, ptr %14, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %211, i32 0, i32 17
  %213 = load i32, ptr %212, align 4, !tbaa !32
  %214 = load ptr, ptr %13, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %214, i32 0, i32 3
  %216 = load i32, ptr %215, align 4, !tbaa !27
  %217 = load i32, ptr %21, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = load ptr, ptr %14, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %219, i32 0, i32 3
  %221 = load i32, ptr %220, align 4, !tbaa !28
  %222 = zext i32 %221 to i64
  %223 = mul nsw i64 %218, %222
  %224 = load i32, ptr %22, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = mul nsw i64 %223, %225
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %210, i32 noundef %213, i32 noundef %216, i64 noundef %226)
  br label %227

227:                                              ; preds = %150, %106
  %228 = load ptr, ptr %15, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %228, i32 0, i32 2
  %230 = load i32, ptr %229, align 1, !tbaa !18
  %231 = icmp ugt i32 %230, 1
  br i1 %231, label %232, label %335

232:                                              ; preds = %227
  %233 = load ptr, ptr %11, align 8, !tbaa !5
  %234 = load ptr, ptr %14, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %234, i32 0, i32 16
  %236 = load i32, ptr %235, align 8, !tbaa !24
  %237 = load ptr, ptr %13, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %237, i32 0, i32 1
  %239 = load i32, ptr %238, align 4, !tbaa !29
  %240 = load ptr, ptr %14, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %240, i32 0, i32 3
  %242 = load i32, ptr %241, align 4, !tbaa !28
  %243 = zext i32 %242 to i64
  %244 = load i32, ptr %18, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = mul nsw i64 %243, %245
  %247 = load ptr, ptr %15, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %247, i32 0, i32 3
  %249 = load i32, ptr %248, align 1, !tbaa !33
  %250 = zext i32 %249 to i64
  %251 = mul nsw i64 %246, %250
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %233, i32 noundef %236, i32 noundef %239, i64 noundef %251)
  %252 = load ptr, ptr %11, align 8, !tbaa !5
  %253 = load ptr, ptr %14, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %253, i32 0, i32 16
  %255 = load i32, ptr %254, align 8, !tbaa !24
  %256 = load ptr, ptr %13, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %256, i32 0, i32 3
  %258 = load i32, ptr %257, align 4, !tbaa !27
  %259 = load ptr, ptr %14, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %259, i32 0, i32 3
  %261 = load i32, ptr %260, align 4, !tbaa !28
  %262 = zext i32 %261 to i64
  %263 = load i32, ptr %18, align 4, !tbaa !9
  %264 = zext i32 %263 to i64
  %265 = mul nsw i64 %262, %264
  %266 = load ptr, ptr %15, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %266, i32 0, i32 4
  %268 = load i32, ptr %267, align 1, !tbaa !34
  %269 = zext i32 %268 to i64
  %270 = mul nsw i64 %265, %269
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %252, i32 noundef %255, i32 noundef %258, i64 noundef %270)
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = load ptr, ptr %14, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %272, i32 0, i32 18
  %274 = load i32, ptr %273, align 8, !tbaa !30
  %275 = load ptr, ptr %13, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %275, i32 0, i32 12
  %277 = load i32, ptr %276, align 4, !tbaa !22
  %278 = load ptr, ptr %15, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %278, i32 0, i32 2
  %280 = load i32, ptr %279, align 1, !tbaa !18
  %281 = zext i32 %280 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %271, i32 noundef %274, i32 noundef %277, i64 noundef %281)
  %282 = load ptr, ptr %11, align 8, !tbaa !5
  %283 = load ptr, ptr %14, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %283, i32 0, i32 19
  %285 = load i32, ptr %284, align 4, !tbaa !31
  %286 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %282, i32 noundef %285, ptr noundef %286)
  %287 = load ptr, ptr %11, align 8, !tbaa !5
  %288 = load ptr, ptr %14, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %288, i32 0, i32 17
  %290 = load i32, ptr %289, align 4, !tbaa !32
  %291 = load ptr, ptr %13, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %291, i32 0, i32 1
  %293 = load i32, ptr %292, align 4, !tbaa !29
  %294 = load ptr, ptr %15, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %294, i32 0, i32 2
  %296 = load i32, ptr %295, align 1, !tbaa !18
  %297 = zext i32 %296 to i64
  %298 = load ptr, ptr %14, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %298, i32 0, i32 3
  %300 = load i32, ptr %299, align 4, !tbaa !28
  %301 = zext i32 %300 to i64
  %302 = mul nsw i64 %297, %301
  %303 = load i32, ptr %18, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = mul nsw i64 %302, %304
  %306 = load ptr, ptr %15, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %306, i32 0, i32 3
  %308 = load i32, ptr %307, align 1, !tbaa !33
  %309 = zext i32 %308 to i64
  %310 = mul nsw i64 %305, %309
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %287, i32 noundef %290, i32 noundef %293, i64 noundef %310)
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = load ptr, ptr %14, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %312, i32 0, i32 17
  %314 = load i32, ptr %313, align 4, !tbaa !32
  %315 = load ptr, ptr %13, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %315, i32 0, i32 3
  %317 = load i32, ptr %316, align 4, !tbaa !27
  %318 = load ptr, ptr %15, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %318, i32 0, i32 2
  %320 = load i32, ptr %319, align 1, !tbaa !18
  %321 = zext i32 %320 to i64
  %322 = load ptr, ptr %14, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %322, i32 0, i32 3
  %324 = load i32, ptr %323, align 4, !tbaa !28
  %325 = zext i32 %324 to i64
  %326 = mul nsw i64 %321, %325
  %327 = load i32, ptr %18, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = mul nsw i64 %326, %328
  %330 = load ptr, ptr %15, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %330, i32 0, i32 4
  %332 = load i32, ptr %331, align 1, !tbaa !34
  %333 = zext i32 %332 to i64
  %334 = mul nsw i64 %329, %333
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %311, i32 noundef %314, i32 noundef %317, i64 noundef %334)
  br label %335

335:                                              ; preds = %232, %227
  %336 = load ptr, ptr %11, align 8, !tbaa !5
  %337 = load ptr, ptr %14, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %337, i32 0, i32 21
  %339 = load i8, ptr %338, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %336, i32 noundef -259181021, i8 noundef signext %339, i32 noundef 31, i32 noundef 31, i32 noundef 0, i32 noundef 78)
  %340 = load ptr, ptr %11, align 8, !tbaa !5
  %341 = load ptr, ptr %14, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %341, i32 0, i32 21
  %343 = load i8, ptr %342, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %340, i32 noundef 805574232, i8 noundef signext %343, i32 noundef 31, i32 noundef 0, i32 noundef 31)
  %344 = load ptr, ptr %11, align 8, !tbaa !5
  %345 = load ptr, ptr %14, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %345, i32 0, i32 21
  %347 = load i8, ptr %346, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %344, i32 noundef -259181021, i8 noundef signext %347, i32 noundef 31, i32 noundef 31, i32 noundef 0, i32 noundef 177)
  %348 = load ptr, ptr %11, align 8, !tbaa !5
  %349 = load ptr, ptr %14, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %349, i32 0, i32 21
  %351 = load i8, ptr %350, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %348, i32 noundef 805574232, i8 noundef signext %351, i32 noundef 31, i32 noundef 0, i32 noundef 15)
  %352 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %352, i32 noundef 806098630, i8 noundef signext 121, i32 noundef 15, i32 noundef 15, i32 noundef 0, i32 noundef 78)
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %353, i32 noundef 805574232, i8 noundef signext 121, i32 noundef 15, i32 noundef 0, i32 noundef 15)
  %354 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %354, i32 noundef 806098630, i8 noundef signext 121, i32 noundef 15, i32 noundef 15, i32 noundef 0, i32 noundef 1)
  %355 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %355, i32 noundef 805574232, i8 noundef signext 121, i32 noundef 15, i32 noundef 0, i32 noundef 15)
  %356 = load ptr, ptr %15, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %356, i32 0, i32 6
  %358 = load i32, ptr %357, align 1, !tbaa !35
  %359 = and i32 4, %358
  %360 = icmp eq i32 0, %359
  br i1 %360, label %361, label %381

361:                                              ; preds = %335
  %362 = load ptr, ptr %11, align 8, !tbaa !5
  %363 = load ptr, ptr %14, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %363, i32 0, i32 0
  %365 = load i32, ptr %364, align 8, !tbaa !26
  %366 = load ptr, ptr %13, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %366, i32 0, i32 5
  %368 = load i32, ptr %367, align 4, !tbaa !36
  %369 = load ptr, ptr %14, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %369, i32 0, i32 5
  %371 = load i32, ptr %370, align 4, !tbaa !37
  %372 = load ptr, ptr %17, align 8, !tbaa !5
  %373 = load i32, ptr %19, align 4, !tbaa !9
  %374 = zext i32 %373 to i64
  %375 = getelementptr inbounds i32, ptr %372, i64 %374
  %376 = load i32, ptr %375, align 4, !tbaa !9
  %377 = load i32, ptr %20, align 4, !tbaa !9
  %378 = add i32 %376, %377
  %379 = mul i32 %371, %378
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %362, i32 noundef %365, i32 noundef 537270800, i32 noundef %368, i32 noundef 127, i32 noundef 0, i32 noundef %379, i8 noundef signext 120, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %380 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %380, i32 noundef 805706328, i8 noundef signext 120, i32 noundef 15, i32 noundef 0, i32 noundef 15)
  br label %381

381:                                              ; preds = %361, %335
  %382 = load ptr, ptr %11, align 8, !tbaa !5
  %383 = load ptr, ptr %14, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %383, i32 0, i32 0
  %385 = load i32, ptr %384, align 8, !tbaa !26
  %386 = load ptr, ptr %13, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %386, i32 0, i32 5
  %388 = load i32, ptr %387, align 4, !tbaa !36
  %389 = load ptr, ptr %14, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %389, i32 0, i32 5
  %391 = load i32, ptr %390, align 4, !tbaa !37
  %392 = load ptr, ptr %17, align 8, !tbaa !5
  %393 = load i32, ptr %19, align 4, !tbaa !9
  %394 = zext i32 %393 to i64
  %395 = getelementptr inbounds i32, ptr %392, i64 %394
  %396 = load i32, ptr %395, align 4, !tbaa !9
  %397 = load i32, ptr %20, align 4, !tbaa !9
  %398 = add i32 %396, %397
  %399 = mul i32 %391, %398
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %382, i32 noundef %385, i32 noundef 537270800, i32 noundef %388, i32 noundef 127, i32 noundef 0, i32 noundef %399, i8 noundef signext 120, i32 noundef 15, i32 noundef 0, i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  ret void
}

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

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) #2

declare void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) #2

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

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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_x86_instruction_vec_compute_mem_2reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

declare void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!14, !10, i64 52}
!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 = !{!14, !7, i64 84}
!18 = !{!19, !10, i64 8}
!19 = !{!"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, !20, i64 33, !20, 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}
!20 = !{!"long long", !7, i64 0}
!21 = !{!14, !10, i64 80}
!22 = !{!23, !10, i64 48}
!23 = !{!"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}
!24 = !{!14, !10, i64 64}
!25 = !{!23, !10, i64 92}
!26 = !{!14, !10, i64 0}
!27 = !{!23, !10, i64 12}
!28 = !{!14, !10, i64 12}
!29 = !{!23, !10, i64 4}
!30 = !{!14, !10, i64 72}
!31 = !{!14, !10, i64 76}
!32 = !{!14, !10, i64 68}
!33 = !{!19, !10, i64 12}
!34 = !{!19, !10, i64 16}
!35 = !{!19, !10, i64 24}
!36 = !{!23, !10, i64 20}
!37 = !{!14, !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"

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_single(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) local_unnamed_addr #0 {
  %11 = getelementptr inbounds i8, ptr %4, i64 29
  %12 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %11) #2
  %13 = icmp eq i32 %12, 0
  %14 = getelementptr inbounds i8, ptr %0, i64 28
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = add i32 %15, -1101
  %or.cond = icmp ult i32 %16, 899
  %17 = select i1 %or.cond, i32 3, i32 2
  %18 = select i1 %or.cond, i32 4, i32 3
  %19 = select i1 %13, i32 %17, i32 %18
  %20 = lshr i32 %7, %19
  %21 = getelementptr inbounds i8, ptr %3, i64 52
  %22 = load i32, ptr %21, align 4, !tbaa !11
  %23 = getelementptr inbounds i8, ptr %3, i64 84
  %24 = load i8, ptr %23, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef %22, i8 noundef signext %24, i32 noundef 31, i32 noundef 31, i32 noundef 31) #2
  %25 = getelementptr inbounds i8, ptr %4, i64 8
  %26 = load i32, ptr %25, align 1, !tbaa !16
  %27 = icmp ugt i32 %26, 1
  br i1 %27, label %28, label %36

28:                                               ; preds = %10
  %29 = getelementptr inbounds i8, ptr %3, i64 80
  %30 = load i32, ptr %29, align 8, !tbaa !19
  %31 = getelementptr inbounds i8, ptr %2, i64 48
  %32 = load i32, ptr %31, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %32, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #2
  %33 = getelementptr inbounds i8, ptr %3, i64 64
  %34 = load i32, ptr %33, align 8, !tbaa !22
  %35 = load i32, ptr %31, align 4, !tbaa !20
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %35, i64 noundef 1) #2
  br label %36

36:                                               ; preds = %28, %10
  %37 = icmp ugt i32 %20, 1
  br i1 %37, label %38, label %46

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %3, i64 80
  %40 = load i32, ptr %39, align 8, !tbaa !19
  %41 = getelementptr inbounds i8, ptr %2, i64 92
  %42 = load i32, ptr %41, align 4, !tbaa !23
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %42, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #2
  %43 = getelementptr inbounds i8, ptr %3, i64 64
  %44 = load i32, ptr %43, align 8, !tbaa !22
  %45 = load i32, ptr %41, align 4, !tbaa !23
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45, i64 noundef 1) #2
  br label %46

46:                                               ; preds = %38, %36
  %47 = load i32, ptr %3, align 8, !tbaa !24
  %48 = getelementptr inbounds i8, ptr %2, i64 12
  %49 = load i32, ptr %48, align 4, !tbaa !25
  %50 = getelementptr inbounds i8, ptr %3, i64 12
  %51 = load i32, ptr %50, align 4, !tbaa !26
  %52 = mul i32 %8, %7
  %53 = mul i32 %52, %51
  %54 = load i8, ptr %23, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %47, i32 noundef 537138704, i32 noundef %49, i32 noundef 127, i32 noundef 0, i32 noundef %53, i8 noundef signext %54, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0) #2
  %55 = load i8, ptr %23, align 4, !tbaa !15
  %56 = getelementptr inbounds i8, ptr %2, i64 4
  %57 = load i32, ptr %56, align 4, !tbaa !27
  %58 = load i32, ptr %50, align 4, !tbaa !26
  %59 = mul i32 %58, %7
  %60 = zext i32 %8 to i64
  %61 = getelementptr inbounds i32, ptr %6, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !28
  %63 = add i32 %62, %9
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %5, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !28
  %67 = mul i32 %59, %66
  tail call void @libxsmm_x86_instruction_vec_compute_mem_2reg(ptr noundef nonnull %0, i32 noundef 805643960, i8 noundef signext %55, i32 noundef %57, i32 noundef 127, i32 noundef 0, i32 noundef %67, i32 noundef 0, i32 noundef 0, i32 noundef 31) #2
  br i1 %37, label %68, label %108

68:                                               ; preds = %46
  %69 = getelementptr inbounds i8, ptr %3, i64 64
  %70 = load i32, ptr %69, align 8, !tbaa !22
  %71 = load i32, ptr %56, align 4, !tbaa !27
  %72 = load i32, ptr %50, align 4, !tbaa !26
  %73 = zext i32 %72 to i64
  %74 = select i1 %or.cond, i64 3, i64 2
  %75 = select i1 %or.cond, i64 4, i64 3
  %76 = select i1 %13, i64 %74, i64 %75
  %77 = shl nuw nsw i64 %73, %76
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %70, i32 noundef %71, i64 noundef %77) #2
  %78 = load i32, ptr %69, align 8, !tbaa !22
  %79 = load i32, ptr %48, align 4, !tbaa !25
  %80 = load i32, ptr %50, align 4, !tbaa !26
  %81 = zext i32 %80 to i64
  %82 = select i1 %or.cond, i64 3, i64 2
  %83 = select i1 %or.cond, i64 4, i64 3
  %84 = select i1 %13, i64 %82, i64 %83
  %85 = shl nuw nsw i64 %81, %84
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %78, i32 noundef %79, i64 noundef %85) #2
  %86 = getelementptr inbounds i8, ptr %3, i64 72
  %87 = load i32, ptr %86, align 8, !tbaa !29
  %88 = getelementptr inbounds i8, ptr %2, i64 92
  %89 = load i32, ptr %88, align 4, !tbaa !23
  %90 = zext nneg i32 %20 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %87, i32 noundef %89, i64 noundef %90) #2
  %91 = getelementptr inbounds i8, ptr %3, i64 76
  %92 = load i32, ptr %91, align 4, !tbaa !30
  tail call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %92, ptr noundef %1) #2
  %93 = getelementptr inbounds i8, ptr %3, i64 68
  %94 = load i32, ptr %93, align 4, !tbaa !31
  %95 = load i32, ptr %56, align 4, !tbaa !27
  %96 = load i32, ptr %50, align 4, !tbaa !26
  %97 = zext i32 %96 to i64
  %98 = select i1 %or.cond, i64 3, i64 2
  %99 = select i1 %or.cond, i64 4, i64 3
  %100 = select i1 %13, i64 %98, i64 %99
  %101 = shl nuw nsw i64 %90, %100
  %102 = mul i64 %101, %97
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %94, i32 noundef %95, i64 noundef %102) #2
  %103 = load i32, ptr %93, align 4, !tbaa !31
  %104 = load i32, ptr %48, align 4, !tbaa !25
  %105 = load i32, ptr %50, align 4, !tbaa !26
  %106 = zext i32 %105 to i64
  %107 = mul i64 %101, %106
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %103, i32 noundef %104, i64 noundef %107) #2
  br label %108

108:                                              ; preds = %68, %46
  %109 = load i32, ptr %25, align 1, !tbaa !16
  %110 = icmp ugt i32 %109, 1
  br i1 %110, label %111, label %163

111:                                              ; preds = %108
  %112 = getelementptr inbounds i8, ptr %3, i64 64
  %113 = load i32, ptr %112, align 8, !tbaa !22
  %114 = load i32, ptr %56, align 4, !tbaa !27
  %115 = load i32, ptr %50, align 4, !tbaa !26
  %116 = zext i32 %115 to i64
  %117 = zext i32 %7 to i64
  %118 = mul nuw nsw i64 %116, %117
  %119 = getelementptr inbounds i8, ptr %4, i64 12
  %120 = load i32, ptr %119, align 1, !tbaa !32
  %121 = zext i32 %120 to i64
  %122 = mul nuw nsw i64 %118, %121
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %113, i32 noundef %114, i64 noundef %122) #2
  %123 = load i32, ptr %112, align 8, !tbaa !22
  %124 = load i32, ptr %48, align 4, !tbaa !25
  %125 = load i32, ptr %50, align 4, !tbaa !26
  %126 = zext i32 %125 to i64
  %127 = mul nuw nsw i64 %126, %117
  %128 = getelementptr inbounds i8, ptr %4, i64 16
  %129 = load i32, ptr %128, align 1, !tbaa !33
  %130 = zext i32 %129 to i64
  %131 = mul nuw nsw i64 %127, %130
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %123, i32 noundef %124, i64 noundef %131) #2
  %132 = getelementptr inbounds i8, ptr %3, i64 72
  %133 = load i32, ptr %132, align 8, !tbaa !29
  %134 = getelementptr inbounds i8, ptr %2, i64 48
  %135 = load i32, ptr %134, align 4, !tbaa !20
  %136 = load i32, ptr %25, align 1, !tbaa !16
  %137 = zext i32 %136 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %133, i32 noundef %135, i64 noundef %137) #2
  %138 = getelementptr inbounds i8, ptr %3, i64 76
  %139 = load i32, ptr %138, align 4, !tbaa !30
  tail call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef nonnull %0, i32 noundef %139, ptr noundef %1) #2
  %140 = getelementptr inbounds i8, ptr %3, i64 68
  %141 = load i32, ptr %140, align 4, !tbaa !31
  %142 = load i32, ptr %56, align 4, !tbaa !27
  %143 = load i32, ptr %25, align 1, !tbaa !16
  %144 = zext i32 %143 to i64
  %145 = load i32, ptr %50, align 4, !tbaa !26
  %146 = zext i32 %145 to i64
  %147 = load i32, ptr %119, align 1, !tbaa !32
  %148 = zext i32 %147 to i64
  %149 = mul nuw i64 %144, %117
  %150 = mul i64 %149, %146
  %151 = mul nuw nsw i64 %150, %148
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %141, i32 noundef %142, i64 noundef %151) #2
  %152 = load i32, ptr %140, align 4, !tbaa !31
  %153 = load i32, ptr %48, align 4, !tbaa !25
  %154 = load i32, ptr %25, align 1, !tbaa !16
  %155 = zext i32 %154 to i64
  %156 = load i32, ptr %50, align 4, !tbaa !26
  %157 = zext i32 %156 to i64
  %158 = load i32, ptr %128, align 1, !tbaa !33
  %159 = zext i32 %158 to i64
  %160 = mul nuw i64 %155, %117
  %161 = mul i64 %160, %157
  %162 = mul nuw nsw i64 %161, %159
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %152, i32 noundef %153, i64 noundef %162) #2
  br label %163

163:                                              ; preds = %111, %108
  %164 = load i8, ptr %23, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef -259181021, i8 noundef signext %164, i32 noundef 31, i32 noundef 31, i32 noundef 0, i32 noundef 78) #2
  %165 = load i8, ptr %23, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805574232, i8 noundef signext %165, i32 noundef 31, i32 noundef 0, i32 noundef 31) #2
  %166 = load i8, ptr %23, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef -259181021, i8 noundef signext %166, i32 noundef 31, i32 noundef 31, i32 noundef 0, i32 noundef 177) #2
  %167 = load i8, ptr %23, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805574232, i8 noundef signext %167, i32 noundef 31, i32 noundef 0, i32 noundef 15) #2
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef 806098630, i8 noundef signext 121, i32 noundef 15, i32 noundef 15, i32 noundef 0, i32 noundef 78) #2
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805574232, i8 noundef signext 121, i32 noundef 15, i32 noundef 0, i32 noundef 15) #2
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef 806098630, i8 noundef signext 121, i32 noundef 15, i32 noundef 15, i32 noundef 0, i32 noundef 1) #2
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805574232, i8 noundef signext 121, i32 noundef 15, i32 noundef 0, i32 noundef 15) #2
  %168 = getelementptr inbounds i8, ptr %4, i64 24
  %169 = load i32, ptr %168, align 1, !tbaa !34
  %170 = and i32 %169, 4
  %171 = icmp eq i32 %170, 0
  br i1 %171, label %172, label %181

172:                                              ; preds = %163
  %173 = load i32, ptr %3, align 8, !tbaa !24
  %174 = getelementptr inbounds i8, ptr %2, i64 20
  %175 = load i32, ptr %174, align 4, !tbaa !35
  %176 = getelementptr inbounds i8, ptr %3, i64 20
  %177 = load i32, ptr %176, align 4, !tbaa !36
  %178 = load i32, ptr %61, align 4, !tbaa !28
  %179 = add i32 %178, %9
  %180 = mul i32 %179, %177
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %173, i32 noundef 537270800, i32 noundef %175, i32 noundef 127, i32 noundef 0, i32 noundef %180, i8 noundef signext 120, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0) #2
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805706328, i8 noundef signext 120, i32 noundef 15, i32 noundef 0, i32 noundef 15) #2
  br label %181

181:                                              ; preds = %172, %163
  %182 = load i32, ptr %3, align 8, !tbaa !24
  %183 = getelementptr inbounds i8, ptr %2, i64 20
  %184 = load i32, ptr %183, align 4, !tbaa !35
  %185 = getelementptr inbounds i8, ptr %3, i64 20
  %186 = load i32, ptr %185, align 4, !tbaa !36
  %187 = load i32, ptr %61, align 4, !tbaa !28
  %188 = add i32 %187, %9
  %189 = mul i32 %188, %186
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %182, i32 noundef 537270800, i32 noundef %184, i32 noundef 127, i32 noundef 0, i32 noundef %189, i8 noundef signext 120, i32 noundef 15, i32 noundef 0, i32 noundef 1, i32 noundef 1) #2
  ret void
}

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_vec_compute_mem_2reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

declare void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 52}
!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 = !{!12, !8, i64 84}
!16 = !{!17, !10, i64 8}
!17 = !{!"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, !18, i64 33, !18, 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}
!18 = !{!"long long", !8, i64 0}
!19 = !{!12, !10, i64 80}
!20 = !{!21, !10, i64 48}
!21 = !{!"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}
!22 = !{!12, !10, i64 64}
!23 = !{!21, !10, i64 92}
!24 = !{!12, !10, i64 0}
!25 = !{!21, !10, i64 12}
!26 = !{!12, !10, i64 12}
!27 = !{!21, !10, i64 4}
!28 = !{!10, !10, i64 0}
!29 = !{!12, !10, i64 72}
!30 = !{!12, !10, i64 76}
!31 = !{!12, !10, i64 68}
!32 = !{!17, !10, i64 12}
!33 = !{!17, !10, i64 16}
!34 = !{!17, !10, i64 24}
!35 = !{!21, !10, i64 20}
!36 = !{!12, !10, i64 20}


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