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

@__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512 = external hidden unnamed_addr constant [60 x i8], align 1
@.str = external hidden unnamed_addr constant [107 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4

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

; 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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %16 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %17 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  %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 %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 688, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 2052, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 132, ptr %17) #3
  %23 = load ptr, ptr %11, align 8, !tbaa !5
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %24, i32 0, i32 8
  %26 = getelementptr inbounds [3 x i8], ptr %25, i64 0, i64 0
  %27 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %26)
  %28 = icmp eq i32 1, %27
  br i1 %28, label %29, label %68

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

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

39:                                               ; preds = %34
  %40 = load i32, ptr %12, align 4, !tbaa !9
  %41 = urem i32 %40, 16
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %52

43:                                               ; preds = %39
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %46 = icmp ult i32 1, %45
  br i1 %46, label %47, label %49

47:                                               ; preds = %43
  %48 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %50

49:                                               ; preds = %43
  br label %50

50:                                               ; preds = %49, %47
  %51 = phi i32 [ %48, %47 ], [ 1, %49 ]
  call void @libxsmm_handle_error(ptr noundef %44, i32 noundef 90004, ptr noundef @__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512, ptr noundef @.str, i32 noundef 618, i32 noundef %51)
  store i32 1, ptr %18, align 4
  br label %245

52:                                               ; preds = %39
  br label %67

53:                                               ; preds = %34, %29
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = urem i32 %54, 8
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %66

57:                                               ; preds = %53
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %60 = icmp ult i32 1, %59
  br i1 %60, label %61, label %63

61:                                               ; preds = %57
  %62 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %64

63:                                               ; preds = %57
  br label %64

64:                                               ; preds = %63, %61
  %65 = phi i32 [ %62, %61 ], [ 1, %63 ]
  call void @libxsmm_handle_error(ptr noundef %58, i32 noundef 90004, ptr noundef @__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512, ptr noundef @.str, i32 noundef 623, i32 noundef %65)
  store i32 1, ptr %18, align 4
  br label %245

66:                                               ; preds = %53
  br label %67

67:                                               ; preds = %66, %52
  br label %77

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

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

74:                                               ; preds = %68
  br label %75

75:                                               ; preds = %74, %72
  %76 = phi i32 [ %73, %72 ], [ 1, %74 ]
  call void @libxsmm_handle_error(ptr noundef %69, i32 noundef 90004, ptr noundef @__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512, ptr noundef @.str, i32 noundef 628, i32 noundef %76)
  store i32 1, ptr %18, align 4
  br label %245

77:                                               ; preds = %67
  call void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef %17)
  %78 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 0
  store i32 7, ptr %78, align 4, !tbaa !13
  %79 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 1
  store i32 7, ptr %79, align 4, !tbaa !15
  %80 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 3
  store i32 6, ptr %80, align 4, !tbaa !16
  %81 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 5
  store i32 2, ptr %81, align 4, !tbaa !17
  %82 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 6
  store i32 1, ptr %82, align 4, !tbaa !18
  %83 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 8
  store i32 8, ptr %83, align 4, !tbaa !19
  %84 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 10
  store i32 12, ptr %84, align 4, !tbaa !20
  %85 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 11
  store i32 13, ptr %85, align 4, !tbaa !21
  %86 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 12
  store i32 14, ptr %86, align 4, !tbaa !22
  %87 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 22
  store i32 15, ptr %87, align 4, !tbaa !23
  %88 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 23
  store i32 11, ptr %88, align 4, !tbaa !24
  %89 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 24
  store i32 127, ptr %89, align 4, !tbaa !25
  %90 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 25
  store i32 127, ptr %90, align 4, !tbaa !26
  %91 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 26
  store i32 127, ptr %91, align 4, !tbaa !27
  %92 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 27
  store i32 127, ptr %92, align 4, !tbaa !28
  call void @libxsmm_reset_loop_label_tracker(ptr noundef %16)
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %94, align 4, !tbaa !11
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef %15, i32 noundef %95, ptr noundef %96, i32 noundef 0)
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %98, i32 0, i32 7
  %100 = load i8, ptr %99, align 1, !tbaa !29
  %101 = zext i8 %100 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef %97, ptr noundef %17, i32 noundef 0, i32 noundef %101)
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %103, align 1, !tbaa !33
  %105 = and i32 16384, %104
  %106 = icmp eq i32 %105, 16384
  br i1 %106, label %107, label %162

107:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 32, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 80, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 128, ptr %21, align 4, !tbaa !9
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 0
  %110 = load i32, ptr %109, align 4, !tbaa !13
  %111 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 23
  %112 = load i32, ptr %111, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %108, i32 noundef -1568407413, i32 noundef %110, i32 noundef %112)
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %15, i32 0, i32 20
  %115 = load i32, ptr %114, align 8, !tbaa !34
  %116 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 23
  %117 = load i32, ptr %116, align 4, !tbaa !24
  %118 = load i32, ptr %19, align 4, !tbaa !9
  %119 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 1
  %120 = load i32, ptr %119, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %113, i32 noundef %115, i32 noundef %117, i32 noundef 127, i32 noundef 0, i32 noundef %118, i32 noundef %120, i32 noundef 0)
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %15, i32 0, i32 20
  %123 = load i32, ptr %122, align 8, !tbaa !34
  %124 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 23
  %125 = load i32, ptr %124, align 4, !tbaa !24
  %126 = load i32, ptr %20, align 4, !tbaa !9
  %127 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 3
  %128 = load i32, ptr %127, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %121, i32 noundef %123, i32 noundef %125, i32 noundef 127, i32 noundef 0, i32 noundef %126, i32 noundef %128, i32 noundef 0)
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %15, i32 0, i32 20
  %131 = load i32, ptr %130, align 8, !tbaa !34
  %132 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 23
  %133 = load i32, ptr %132, align 4, !tbaa !24
  %134 = load i32, ptr %21, align 4, !tbaa !9
  %135 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 5
  %136 = load i32, ptr %135, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %129, i32 noundef %131, i32 noundef %133, i32 noundef 127, i32 noundef 0, i32 noundef %134, i32 noundef %136, i32 noundef 0)
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %137, i32 0, i32 7
  %139 = load i8, ptr %138, align 1, !tbaa !29
  %140 = zext i8 %139 to i32
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %161

142:                                              ; preds = %107
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %15, i32 0, i32 20
  %145 = load i32, ptr %144, align 8, !tbaa !34
  %146 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 23
  %147 = load i32, ptr %146, align 4, !tbaa !24
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = add nsw i32 %148, 40
  %150 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 6
  %151 = load i32, ptr %150, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %143, i32 noundef %145, i32 noundef %147, i32 noundef 127, i32 noundef 0, i32 noundef %149, i32 noundef %151, i32 noundef 0)
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %15, i32 0, i32 20
  %154 = load i32, ptr %153, align 8, !tbaa !34
  %155 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 23
  %156 = load i32, ptr %155, align 4, !tbaa !24
  %157 = load i32, ptr %20, align 4, !tbaa !9
  %158 = add nsw i32 %157, 40
  %159 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %17, i32 0, i32 8
  %160 = load i32, ptr %159, align 4, !tbaa !19
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %152, i32 noundef %154, i32 noundef %156, i32 noundef 127, i32 noundef 0, i32 noundef %158, i32 noundef %160, i32 noundef 0)
  br label %161

161:                                              ; preds = %142, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %163

162:                                              ; preds = %77
  br label %163

163:                                              ; preds = %162, %161
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %236, %163
  %165 = load i32, ptr %13, align 4, !tbaa !9
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %166, i32 0, i32 1
  %168 = load i32, ptr %167, align 1, !tbaa !37
  %169 = icmp ult i32 %165, %168
  br i1 %169, label %170, label %239

170:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  %172 = load i32, ptr %13, align 4, !tbaa !9
  %173 = add i32 %172, 1
  %174 = zext i32 %173 to i64
  %175 = getelementptr inbounds i32, ptr %171, i64 %174
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = load ptr, ptr %10, align 8, !tbaa !5
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds i32, ptr %177, i64 %179
  %181 = load i32, ptr %180, align 4, !tbaa !9
  %182 = sub i32 %176, %181
  store i32 %182, ptr %22, align 4, !tbaa !9
  %183 = load i32, ptr %22, align 4, !tbaa !9
  %184 = icmp ugt i32 %183, 2
  br i1 %184, label %185, label %218

185:                                              ; preds = %170
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %186

186:                                              ; preds = %200, %185
  %187 = load i32, ptr %14, align 4, !tbaa !9
  %188 = load i32, ptr %22, align 4, !tbaa !9
  %189 = udiv i32 %188, 16
  %190 = mul i32 %189, 16
  %191 = icmp ult i32 %187, %190
  br i1 %191, label %192, label %203

192:                                              ; preds = %186
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = load ptr, ptr %8, align 8, !tbaa !5
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  %196 = load ptr, ptr %10, align 8, !tbaa !5
  %197 = load i32, ptr %12, align 4, !tbaa !9
  %198 = load i32, ptr %13, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_16accs(ptr noundef %193, ptr noundef %16, ptr noundef %17, ptr noundef %15, ptr noundef %194, ptr noundef %195, ptr noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef 16)
  br label %200

200:                                              ; preds = %192
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = add i32 %201, 16
  store i32 %202, ptr %14, align 4, !tbaa !9
  br label %186, !llvm.loop !38

203:                                              ; preds = %186
  %204 = load i32, ptr %22, align 4, !tbaa !9
  %205 = urem i32 %204, 16
  %206 = icmp ne i32 %205, 0
  br i1 %206, label %207, label %217

207:                                              ; preds = %203
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %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 i32, ptr %12, align 4, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !9
  %214 = load i32, ptr %14, align 4, !tbaa !9
  %215 = load i32, ptr %22, align 4, !tbaa !9
  %216 = urem i32 %215, 16
  call void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_16accs(ptr noundef %208, ptr noundef %16, ptr noundef %17, ptr noundef %15, ptr noundef %209, ptr noundef %210, ptr noundef %211, i32 noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %216)
  br label %217

217:                                              ; preds = %207, %203
  br label %235

218:                                              ; preds = %170
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %219

219:                                              ; preds = %231, %218
  %220 = load i32, ptr %14, align 4, !tbaa !9
  %221 = load i32, ptr %22, align 4, !tbaa !9
  %222 = icmp ult i32 %220, %221
  br i1 %222, label %223, label %234

223:                                              ; preds = %219
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  %227 = load ptr, ptr %10, align 8, !tbaa !5
  %228 = load i32, ptr %12, align 4, !tbaa !9
  %229 = load i32, ptr %13, align 4, !tbaa !9
  %230 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_single(ptr noundef %224, ptr noundef %16, ptr noundef %17, ptr noundef %15, ptr noundef %225, ptr noundef %226, ptr noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230)
  br label %231

231:                                              ; preds = %223
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = add i32 %232, 1
  store i32 %233, ptr %14, align 4, !tbaa !9
  br label %219, !llvm.loop !40

234:                                              ; preds = %219
  br label %235

235:                                              ; preds = %234, %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %236

236:                                              ; preds = %235
  %237 = load i32, ptr %13, align 4, !tbaa !9
  %238 = add i32 %237, 1
  store i32 %238, ptr %13, align 4, !tbaa !9
  br label %164, !llvm.loop !41

239:                                              ; preds = %164
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %241, i32 0, i32 7
  %243 = load i8, ptr %242, align 1, !tbaa !29
  %244 = zext i8 %243 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef %240, ptr noundef %17, i32 noundef 0, i32 noundef %244)
  store i32 0, ptr %18, align 4
  br label %245

245:                                              ; preds = %239, %75, %64, %50
  call void @llvm.lifetime.end.p0(i64 132, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 2052, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 688, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  %246 = load i32, ptr %18, align 4
  switch i32 %246, label %248 [
    i32 0, label %247
    i32 1, label %247
  ]

247:                                              ; preds = %245, %245
  ret void

248:                                              ; preds = %245
  unreachable
}

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

declare void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef) #2

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) #2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!14, !10, i64 0}
!14 = !{!"libxsmm_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128}
!15 = !{!14, !10, i64 4}
!16 = !{!14, !10, i64 12}
!17 = !{!14, !10, i64 20}
!18 = !{!14, !10, i64 24}
!19 = !{!14, !10, i64 32}
!20 = !{!14, !10, i64 40}
!21 = !{!14, !10, i64 44}
!22 = !{!14, !10, i64 48}
!23 = !{!14, !10, i64 88}
!24 = !{!14, !10, i64 92}
!25 = !{!14, !10, i64 96}
!26 = !{!14, !10, i64 100}
!27 = !{!14, !10, i64 104}
!28 = !{!14, !10, i64 108}
!29 = !{!30, !7, i64 28}
!30 = !{!"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, !31, i64 33, !31, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !32, i64 62, !32, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !32, i64 70, !32, i64 72, !32, i64 74, !32, i64 76, !32, i64 78, !32, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!31 = !{!"long long", !7, i64 0}
!32 = !{!"short", !7, i64 0}
!33 = !{!30, !10, i64 24}
!34 = !{!35, !10, i64 80}
!35 = !{!"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, !36, 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}
!36 = !{!"libxsmm_tile_config", !7, i64 0, !32, i64 2, !7, i64 4, !32, i64 6, !7, i64 8, !32, i64 10, !7, i64 12, !32, i64 14, !7, i64 16, !32, i64 18, !7, i64 20, !32, i64 22, !7, i64 24, !32, i64 26, !7, i64 28, !32, i64 30, !7, i64 32}
!37 = !{!30, !10, i64 4}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = distinct !{!40, !39}
!41 = distinct !{!41, !39}


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

%struct.libxsmm_micro_kernel_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [2 x %struct.libxsmm_blocking_info_t], %struct.libxsmm_tile_config, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_blocking_info_t = type { i32, [4 x i32], i32, i32 }
%struct.libxsmm_tile_config = type { i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8 }
%struct.libxsmm_loop_label_tracker_struct = type { [512 x i32], i32 }
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512 = external hidden unnamed_addr constant [60 x i8], align 1
@.str = external hidden unnamed_addr constant [107 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4

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

; Function Attrs: mustprogress 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) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readnone %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %8 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %9 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  call void @llvm.lifetime.start.p0(i64 688, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2052, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 132, ptr nonnull %9) #3
  %10 = getelementptr inbounds i8, ptr %1, i64 29
  %11 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %10) #3
  %12 = icmp eq i32 %11, 1
  br i1 %12, label %13, label %31

13:                                               ; preds = %6
  %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
  br i1 %or.cond, label %17, label %24

17:                                               ; preds = %13
  %18 = and i32 %5, 15
  %.not69 = icmp eq i32 %18, 0
  br i1 %.not69, label %36, label %19

19:                                               ; preds = %17
  %20 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !11
  %21 = icmp ugt i32 %20, 1
  %22 = load i32, ptr @libxsmm_verbosity, align 4
  %23 = select i1 %21, i32 %22, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90004, ptr noundef nonnull @__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512, ptr noundef nonnull @.str, i32 noundef 618, i32 noundef %23) #3
  br label %100

24:                                               ; preds = %13
  %25 = and i32 %5, 7
  %.not = icmp eq i32 %25, 0
  br i1 %.not, label %36, label %26

26:                                               ; preds = %24
  %27 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !11
  %28 = icmp ugt i32 %27, 1
  %29 = load i32, ptr @libxsmm_verbosity, align 4
  %30 = select i1 %28, i32 %29, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90004, ptr noundef nonnull @__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512, ptr noundef nonnull @.str, i32 noundef 623, i32 noundef %30) #3
  br label %100

31:                                               ; preds = %6
  %32 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !11
  %33 = icmp ugt i32 %32, 1
  %34 = load i32, ptr @libxsmm_verbosity, align 4
  %35 = select i1 %33, i32 %34, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90004, ptr noundef nonnull @__func__.libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512, ptr noundef nonnull @.str, i32 noundef 628, i32 noundef %35) #3
  br label %100

36:                                               ; preds = %17, %24
  call void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef nonnull %9) #3
  store i32 7, ptr %9, align 4, !tbaa !12
  %37 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 7, ptr %37, align 4, !tbaa !14
  %38 = getelementptr inbounds i8, ptr %9, i64 12
  store i32 6, ptr %38, align 4, !tbaa !15
  %39 = getelementptr inbounds i8, ptr %9, i64 20
  store i32 2, ptr %39, align 4, !tbaa !16
  %40 = getelementptr inbounds i8, ptr %9, i64 24
  store i32 1, ptr %40, align 4, !tbaa !17
  %41 = getelementptr inbounds i8, ptr %9, i64 32
  store i32 8, ptr %41, align 4, !tbaa !18
  %42 = getelementptr inbounds i8, ptr %9, i64 40
  store i32 12, ptr %42, align 4, !tbaa !19
  %43 = getelementptr inbounds i8, ptr %9, i64 44
  store i32 13, ptr %43, align 4, !tbaa !20
  %44 = getelementptr inbounds i8, ptr %9, i64 48
  store i32 14, ptr %44, align 4, !tbaa !21
  %45 = getelementptr inbounds i8, ptr %9, i64 88
  %46 = getelementptr inbounds i8, ptr %9, i64 92
  store <4 x i32> <i32 15, i32 11, i32 127, i32 127>, ptr %45, align 4, !tbaa !11
  %47 = getelementptr inbounds i8, ptr %9, i64 104
  store i32 127, ptr %47, align 4, !tbaa !22
  %48 = getelementptr inbounds i8, ptr %9, i64 108
  store i32 127, ptr %48, align 4, !tbaa !23
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %8) #3
  %49 = load i32, ptr %14, align 4, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef nonnull %7, i32 noundef %49, ptr noundef %1, i32 noundef 0) #3
  %50 = getelementptr inbounds i8, ptr %1, i64 28
  %51 = load i8, ptr %50, align 1, !tbaa !24
  %52 = zext i8 %51 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef nonnull %0, ptr noundef nonnull %9, i32 noundef 0, i32 noundef %52) #3
  %53 = getelementptr inbounds i8, ptr %1, i64 24
  %54 = load i32, ptr %53, align 1, !tbaa !28
  %55 = and i32 %54, 16384
  %.not70 = icmp eq i32 %55, 0
  br i1 %.not70, label %77, label %56

56:                                               ; preds = %36
  %57 = load i32, ptr %9, align 4, !tbaa !12
  %58 = load i32, ptr %46, align 4, !tbaa !29
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef -1568407413, i32 noundef %57, i32 noundef %58) #3
  %59 = getelementptr inbounds i8, ptr %7, i64 80
  %60 = load i32, ptr %59, align 8, !tbaa !30
  %61 = load i32, ptr %46, align 4, !tbaa !29
  %62 = load i32, ptr %37, align 4, !tbaa !14
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %61, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef %62, i32 noundef 0) #3
  %63 = load i32, ptr %59, align 8, !tbaa !30
  %64 = load i32, ptr %46, align 4, !tbaa !29
  %65 = load i32, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %63, i32 noundef %64, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef %65, i32 noundef 0) #3
  %66 = load i32, ptr %59, align 8, !tbaa !30
  %67 = load i32, ptr %46, align 4, !tbaa !29
  %68 = load i32, ptr %39, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %67, i32 noundef 127, i32 noundef 0, i32 noundef 128, i32 noundef %68, i32 noundef 0) #3
  %69 = load i8, ptr %50, align 1, !tbaa !24
  %.not71 = icmp eq i8 %69, 0
  br i1 %.not71, label %77, label %70

70:                                               ; preds = %56
  %71 = load i32, ptr %59, align 8, !tbaa !30
  %72 = load i32, ptr %46, align 4, !tbaa !29
  %73 = load i32, ptr %40, align 4, !tbaa !17
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72, i32 noundef 127, i32 noundef 0, i32 noundef 72, i32 noundef %73, i32 noundef 0) #3
  %74 = load i32, ptr %59, align 8, !tbaa !30
  %75 = load i32, ptr %46, align 4, !tbaa !29
  %76 = load i32, ptr %41, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %74, i32 noundef %75, i32 noundef 127, i32 noundef 0, i32 noundef 120, i32 noundef %76, i32 noundef 0) #3
  br label %77

77:                                               ; preds = %56, %70, %36
  %78 = getelementptr inbounds i8, ptr %1, i64 4
  %79 = load i32, ptr %78, align 1, !tbaa !33
  %.not81 = icmp eq i32 %79, 0
  br i1 %.not81, label %._crit_edge80, label %.lr.ph79

.lr.ph79:                                         ; preds = %77, %.loopexit
  %indvars.iv = phi i64 [ %indvars.iv.next, %.loopexit ], [ 0, %77 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %80 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.next
  %81 = load i32, ptr %80, align 4, !tbaa !11
  %82 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = sub i32 %81, %83
  %85 = icmp ugt i32 %84, 2
  br i1 %85, label %.preheader, label %.preheader73

.preheader73:                                     ; preds = %.lr.ph79
  %.not82 = icmp eq i32 %81, %83
  br i1 %.not82, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader73
  %86 = trunc nuw i64 %indvars.iv to i32
  br label %.lr.ph

.preheader:                                       ; preds = %.lr.ph79
  %87 = and i32 %84, -16
  %.not83 = icmp eq i32 %87, 0
  br i1 %.not83, label %._crit_edge, label %.lr.ph76.preheader

.lr.ph76.preheader:                               ; preds = %.preheader
  %88 = trunc nuw i64 %indvars.iv to i32
  br label %.lr.ph76

.lr.ph76:                                         ; preds = %.lr.ph76.preheader, %.lr.ph76
  %.06475 = phi i32 [ %89, %.lr.ph76 ], [ 0, %.lr.ph76.preheader ]
  call void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_16accs(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %5, i32 noundef %88, i32 noundef %.06475, i32 noundef 16)
  %89 = add nuw i32 %.06475, 16
  %90 = icmp ult i32 %89, %87
  br i1 %90, label %.lr.ph76, label %._crit_edge, !llvm.loop !34

._crit_edge:                                      ; preds = %.lr.ph76, %.preheader
  %.064.lcssa = phi i32 [ 0, %.preheader ], [ %89, %.lr.ph76 ]
  %91 = and i32 %84, 15
  %.not72 = icmp eq i32 %91, 0
  br i1 %.not72, label %.loopexit, label %92

92:                                               ; preds = %._crit_edge
  %93 = trunc nuw i64 %indvars.iv to i32
  call void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_16accs(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %5, i32 noundef %93, i32 noundef %.064.lcssa, i32 noundef %91)
  br label %.loopexit

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.174 = phi i32 [ %94, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  call void @libxsmm_generator_packed_spgemm_csc_csparse_avx_avx2_avx512_single(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %5, i32 noundef %86, i32 noundef %.174)
  %94 = add nuw i32 %.174, 1
  %exitcond.not = icmp eq i32 %94, %84
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !36

.loopexit:                                        ; preds = %.lr.ph, %.preheader73, %._crit_edge, %92
  %95 = load i32, ptr %78, align 1, !tbaa !33
  %96 = zext i32 %95 to i64
  %97 = icmp ult i64 %indvars.iv.next, %96
  br i1 %97, label %.lr.ph79, label %._crit_edge80, !llvm.loop !37

._crit_edge80:                                    ; preds = %.loopexit, %77
  %98 = load i8, ptr %50, align 1, !tbaa !24
  %99 = zext i8 %98 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef %0, ptr noundef nonnull %9, i32 noundef 0, i32 noundef %99) #3
  br label %100

100:                                              ; preds = %._crit_edge80, %31, %26, %19
  call void @llvm.lifetime.end.p0(i64 132, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %7) #3
  ret void
}

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

declare void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef) local_unnamed_addr #2

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!10, !10, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"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}
!14 = !{!13, !10, i64 4}
!15 = !{!13, !10, i64 12}
!16 = !{!13, !10, i64 20}
!17 = !{!13, !10, i64 24}
!18 = !{!13, !10, i64 32}
!19 = !{!13, !10, i64 40}
!20 = !{!13, !10, i64 44}
!21 = !{!13, !10, i64 48}
!22 = !{!13, !10, i64 104}
!23 = !{!13, !10, i64 108}
!24 = !{!25, !8, i64 28}
!25 = !{!"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, !26, i64 33, !26, i64 41, !8, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !27, i64 62, !27, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !27, i64 70, !27, i64 72, !27, i64 74, !27, i64 76, !27, i64 78, !27, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !8, i64 94}
!26 = !{!"long long", !8, i64 0}
!27 = !{!"short", !8, i64 0}
!28 = !{!25, !10, i64 24}
!29 = !{!13, !10, i64 92}
!30 = !{!31, !10, i64 80}
!31 = !{!"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, !32, 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}
!32 = !{!"libxsmm_tile_config", !8, i64 0, !27, i64 2, !8, i64 4, !27, i64 6, !8, i64 8, !27, i64 10, !8, i64 12, !27, i64 14, !8, i64 16, !27, i64 18, !8, i64 20, !27, i64 22, !8, i64 24, !27, i64 26, !8, i64 28, !27, i64 30, !8, i64 32}
!33 = !{!25, !10, i64 4}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass