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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_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 i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca [2 x i32], align 4
  %23 = alloca [2 x i32], align 4
  %24 = alloca [2 x [2 x i32]], align 16
  %25 = alloca [2 x [2 x i32]], align 16
  %26 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %27 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %28 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = 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) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.memset.p0.i64(ptr align 4 %22, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.memset.p0.i64(ptr align 4 %23, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  call void @llvm.memset.p0.i64(ptr align 16 %24, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #4
  call void @llvm.memset.p0.i64(ptr align 16 %25, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 688, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 2052, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 132, ptr %28) #4
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %38, i32 0, i32 8
  %40 = getelementptr inbounds [3 x i8], ptr %39, i64 0, i64 0
  %41 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %40)
  %42 = icmp eq i32 0, %41
  br i1 %42, label %43, label %56

43:                                               ; preds = %6
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %45, align 4, !tbaa !11
  %47 = icmp uge i32 %46, 1101
  br i1 %47, label %48, label %54

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

53:                                               ; preds = %48
  store i32 8, ptr %19, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  br label %55

54:                                               ; preds = %48, %43
  store i32 4, ptr %19, align 4, !tbaa !9
  store i32 14, ptr %15, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %54, %53
  br label %69

56:                                               ; preds = %6
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %58, align 4, !tbaa !11
  %60 = icmp uge i32 %59, 1101
  br i1 %60, label %61, label %67

61:                                               ; preds = %56
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %63, align 4, !tbaa !11
  %65 = icmp ule i32 %64, 1999
  br i1 %65, label %66, label %67

66:                                               ; preds = %61
  store i32 16, ptr %19, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  br label %68

67:                                               ; preds = %61, %56
  store i32 8, ptr %19, align 4, !tbaa !9
  store i32 14, ptr %15, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %67, %66
  br label %69

69:                                               ; preds = %68, %55
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = load i32, ptr %19, align 4, !tbaa !9
  %72 = urem i32 %70, %71
  store i32 %72, ptr %16, align 4, !tbaa !9
  %73 = load i32, ptr %12, align 4, !tbaa !9
  %74 = load i32, ptr %19, align 4, !tbaa !9
  %75 = udiv i32 %73, %74
  store i32 %75, ptr %18, align 4, !tbaa !9
  %76 = load i32, ptr %16, align 4, !tbaa !9
  %77 = icmp ugt i32 %76, 0
  br i1 %77, label %78, label %81

78:                                               ; preds = %69
  %79 = load i32, ptr %18, align 4, !tbaa !9
  %80 = add i32 %79, 1
  br label %83

81:                                               ; preds = %69
  %82 = load i32, ptr %18, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %81, %78
  %84 = phi i32 [ %80, %78 ], [ %82, %81 ]
  store i32 %84, ptr %17, align 4, !tbaa !9
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %85, i32 0, i32 1
  %87 = load i32, ptr %86, align 1, !tbaa !13
  store i32 %87, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %112, %83
  %89 = load i32, ptr %13, align 4, !tbaa !9
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %90, i32 0, i32 1
  %92 = load i32, ptr %91, align 1, !tbaa !13
  %93 = icmp ult i32 %89, %92
  br i1 %93, label %94, label %115

94:                                               ; preds = %88
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds i32, ptr %95, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 1, !tbaa !13
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds i32, ptr %100, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = icmp eq i32 %99, %106
  br i1 %107, label %108, label %111

108:                                              ; preds = %94
  %109 = load i32, ptr %13, align 4, !tbaa !9
  %110 = add i32 %109, 1
  store i32 %110, ptr %14, align 4, !tbaa !9
  br label %111

111:                                              ; preds = %108, %94
  br label %112

112:                                              ; preds = %111
  %113 = load i32, ptr %13, align 4, !tbaa !9
  %114 = add i32 %113, 1
  store i32 %114, ptr %13, align 4, !tbaa !9
  br label %88, !llvm.loop !17

115:                                              ; preds = %88
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %117, align 4, !tbaa !11
  %119 = icmp ult i32 %118, 1101
  br i1 %119, label %120, label %124

120:                                              ; preds = %115
  %121 = load i32, ptr %16, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %120
  store i32 13, ptr %15, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %123, %120, %115
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %128 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %129 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 1
  %130 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %131 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %125, i32 noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %129, ptr noundef %130)
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %133, align 4, !tbaa !11
  %135 = icmp uge i32 %134, 1101
  br i1 %135, label %136, label %152

136:                                              ; preds = %124
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %138, align 4, !tbaa !11
  %140 = icmp ule i32 %139, 1999
  br i1 %140, label %141, label %152

141:                                              ; preds = %136
  %142 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %143 = load i32, ptr %142, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 2
  br i1 %144, label %145, label %146

145:                                              ; preds = %141
  store i32 20, ptr %15, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %145, %141
  %147 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %148 = load i32, ptr %147, align 4, !tbaa !9
  %149 = icmp eq i32 %148, 4
  br i1 %149, label %150, label %151

150:                                              ; preds = %146
  store i32 24, ptr %15, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %150, %146
  br label %152

152:                                              ; preds = %151, %136, %124
  %153 = load i32, ptr %14, align 4, !tbaa !9
  %154 = load i32, ptr %15, align 4, !tbaa !9
  %155 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %156 = load i32, ptr %155, align 4, !tbaa !9
  %157 = udiv i32 %154, %156
  %158 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 0
  %159 = getelementptr inbounds [2 x i32], ptr %158, i64 0, i64 0
  %160 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 0
  %161 = getelementptr inbounds [2 x i32], ptr %160, i64 0, i64 0
  %162 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 0
  %163 = getelementptr inbounds [2 x i32], ptr %162, i64 0, i64 1
  %164 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 0
  %165 = getelementptr inbounds [2 x i32], ptr %164, i64 0, i64 1
  %166 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %153, i32 noundef %157, ptr noundef %159, ptr noundef %161, ptr noundef %163, ptr noundef %165)
  %167 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %168 = load i32, ptr %167, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %185

170:                                              ; preds = %152
  %171 = load i32, ptr %14, align 4, !tbaa !9
  %172 = load i32, ptr %15, align 4, !tbaa !9
  %173 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %174 = load i32, ptr %173, align 4, !tbaa !9
  %175 = udiv i32 %172, %174
  %176 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 1
  %177 = getelementptr inbounds [2 x i32], ptr %176, i64 0, i64 0
  %178 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 1
  %179 = getelementptr inbounds [2 x i32], ptr %178, i64 0, i64 0
  %180 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 1
  %181 = getelementptr inbounds [2 x i32], ptr %180, i64 0, i64 1
  %182 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 1
  %183 = getelementptr inbounds [2 x i32], ptr %182, i64 0, i64 1
  %184 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %171, i32 noundef %175, ptr noundef %177, ptr noundef %179, ptr noundef %181, ptr noundef %183)
  br label %185

185:                                              ; preds = %170, %152
  call void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef %28)
  %186 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 0
  store i32 7, ptr %186, align 4, !tbaa !19
  %187 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 1
  store i32 7, ptr %187, align 4, !tbaa !21
  %188 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 3
  store i32 6, ptr %188, align 4, !tbaa !22
  %189 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 5
  store i32 2, ptr %189, align 4, !tbaa !23
  %190 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 6
  store i32 1, ptr %190, align 4, !tbaa !24
  %191 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 8
  store i32 8, ptr %191, align 4, !tbaa !25
  %192 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 10
  store i32 12, ptr %192, align 4, !tbaa !26
  %193 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 11
  store i32 13, ptr %193, align 4, !tbaa !27
  %194 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 12
  store i32 14, ptr %194, align 4, !tbaa !28
  %195 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 22
  store i32 15, ptr %195, align 4, !tbaa !29
  %196 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  store i32 11, ptr %196, align 4, !tbaa !30
  %197 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 24
  store i32 127, ptr %197, align 4, !tbaa !31
  %198 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 25
  store i32 127, ptr %198, align 4, !tbaa !32
  %199 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 26
  store i32 127, ptr %199, align 4, !tbaa !33
  %200 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 27
  store i32 127, ptr %200, align 4, !tbaa !34
  call void @libxsmm_reset_loop_label_tracker(ptr noundef %27)
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %202, align 4, !tbaa !11
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef %26, i32 noundef %203, ptr noundef %204, i32 noundef 0)
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %206, i32 0, i32 7
  %208 = load i8, ptr %207, align 1, !tbaa !35
  %209 = zext i8 %208 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef %205, ptr noundef %28, i32 noundef 0, i32 noundef %209)
  %210 = load ptr, ptr %8, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %210, i32 0, i32 6
  %212 = load i32, ptr %211, align 1, !tbaa !36
  %213 = and i32 16384, %212
  %214 = icmp eq i32 %213, 16384
  br i1 %214, label %215, label %270

215:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  store i32 32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  store i32 80, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  store i32 128, ptr %31, align 4, !tbaa !9
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 0
  %218 = load i32, ptr %217, align 4, !tbaa !19
  %219 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %220 = load i32, ptr %219, align 4, !tbaa !30
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %216, i32 noundef -1568407413, i32 noundef %218, i32 noundef %220)
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 20
  %223 = load i32, ptr %222, align 8, !tbaa !37
  %224 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %225 = load i32, ptr %224, align 4, !tbaa !30
  %226 = load i32, ptr %29, align 4, !tbaa !9
  %227 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 1
  %228 = load i32, ptr %227, align 4, !tbaa !21
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %221, i32 noundef %223, i32 noundef %225, i32 noundef 127, i32 noundef 0, i32 noundef %226, i32 noundef %228, i32 noundef 0)
  %229 = load ptr, ptr %7, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 20
  %231 = load i32, ptr %230, align 8, !tbaa !37
  %232 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %233 = load i32, ptr %232, align 4, !tbaa !30
  %234 = load i32, ptr %30, align 4, !tbaa !9
  %235 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 3
  %236 = load i32, ptr %235, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %229, i32 noundef %231, i32 noundef %233, i32 noundef 127, i32 noundef 0, i32 noundef %234, i32 noundef %236, i32 noundef 0)
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 20
  %239 = load i32, ptr %238, align 8, !tbaa !37
  %240 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %241 = load i32, ptr %240, align 4, !tbaa !30
  %242 = load i32, ptr %31, align 4, !tbaa !9
  %243 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 5
  %244 = load i32, ptr %243, align 4, !tbaa !23
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %237, i32 noundef %239, i32 noundef %241, i32 noundef 127, i32 noundef 0, i32 noundef %242, i32 noundef %244, i32 noundef 0)
  %245 = load ptr, ptr %8, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %245, i32 0, i32 7
  %247 = load i8, ptr %246, align 1, !tbaa !35
  %248 = zext i8 %247 to i32
  %249 = icmp ne i32 %248, 0
  br i1 %249, label %250, label %269

250:                                              ; preds = %215
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 20
  %253 = load i32, ptr %252, align 8, !tbaa !37
  %254 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %255 = load i32, ptr %254, align 4, !tbaa !30
  %256 = load i32, ptr %29, align 4, !tbaa !9
  %257 = add nsw i32 %256, 40
  %258 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 6
  %259 = load i32, ptr %258, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %251, i32 noundef %253, i32 noundef %255, i32 noundef 127, i32 noundef 0, i32 noundef %257, i32 noundef %259, i32 noundef 0)
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 20
  %262 = load i32, ptr %261, align 8, !tbaa !37
  %263 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %264 = load i32, ptr %263, align 4, !tbaa !30
  %265 = load i32, ptr %30, align 4, !tbaa !9
  %266 = add nsw i32 %265, 40
  %267 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 8
  %268 = load i32, ptr %267, align 4, !tbaa !25
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %260, i32 noundef %262, i32 noundef %264, i32 noundef 127, i32 noundef 0, i32 noundef %266, i32 noundef %268, i32 noundef 0)
  br label %269

269:                                              ; preds = %250, %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  br label %271

270:                                              ; preds = %185
  br label %271

271:                                              ; preds = %270, %269
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 20
  %274 = load i32, ptr %273, align 8, !tbaa !37
  %275 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 10
  %276 = load i32, ptr %275, align 4, !tbaa !26
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %272, i32 noundef %274, i32 noundef %276, i64 noundef 0)
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %277, ptr noundef %27)
  %278 = load ptr, ptr %7, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 16
  %280 = load i32, ptr %279, align 8, !tbaa !40
  %281 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 10
  %282 = load i32, ptr %281, align 4, !tbaa !26
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %278, i32 noundef %280, i32 noundef %282, i64 noundef 1)
  br label %283

283:                                              ; preds = %373, %271
  %284 = load i32, ptr %20, align 4, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !9
  %286 = icmp ne i32 %284, %285
  br i1 %286, label %287, label %382

287:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  %288 = load i32, ptr %21, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 %289
  %291 = load i32, ptr %290, align 4, !tbaa !9
  store i32 %291, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #4
  store i32 0, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #4
  store i32 0, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #4
  store i32 0, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  store i32 0, ptr %36, align 4, !tbaa !9
  %292 = load i32, ptr %16, align 4, !tbaa !9
  %293 = icmp ne i32 %292, 0
  br i1 %293, label %294, label %305

294:                                              ; preds = %287
  %295 = load i32, ptr %21, align 4, !tbaa !9
  %296 = icmp eq i32 %295, 0
  br i1 %296, label %297, label %305

297:                                              ; preds = %294
  %298 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %299 = load i32, ptr %298, align 4, !tbaa !9
  %300 = icmp ugt i32 %299, 0
  br i1 %300, label %301, label %302

301:                                              ; preds = %297
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %304

302:                                              ; preds = %297
  %303 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %303, ptr %33, align 4, !tbaa !9
  br label %304

304:                                              ; preds = %302, %301
  br label %311

305:                                              ; preds = %294, %287
  %306 = load i32, ptr %16, align 4, !tbaa !9
  %307 = icmp ne i32 %306, 0
  br i1 %307, label %308, label %310

308:                                              ; preds = %305
  %309 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %309, ptr %33, align 4, !tbaa !9
  br label %310

310:                                              ; preds = %308, %305
  br label %311

311:                                              ; preds = %310, %304
  br label %312

312:                                              ; preds = %361, %311
  %313 = load i32, ptr %34, align 4, !tbaa !9
  %314 = load i32, ptr %14, align 4, !tbaa !9
  %315 = icmp ult i32 %313, %314
  br i1 %315, label %316, label %373

316:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #4
  %317 = load i32, ptr %21, align 4, !tbaa !9
  %318 = zext i32 %317 to i64
  %319 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 %318
  %320 = load i32, ptr %35, align 4, !tbaa !9
  %321 = zext i32 %320 to i64
  %322 = getelementptr inbounds [2 x i32], ptr %319, i64 0, i64 %321
  %323 = load i32, ptr %322, align 4, !tbaa !9
  store i32 %323, ptr %37, align 4, !tbaa !9
  %324 = load i32, ptr %34, align 4, !tbaa !9
  store i32 %324, ptr %36, align 4, !tbaa !9
  br label %325

325:                                              ; preds = %357, %316
  %326 = load i32, ptr %36, align 4, !tbaa !9
  %327 = load i32, ptr %34, align 4, !tbaa !9
  %328 = load i32, ptr %21, align 4, !tbaa !9
  %329 = zext i32 %328 to i64
  %330 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 %329
  %331 = load i32, ptr %35, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = getelementptr inbounds [2 x i32], ptr %330, i64 0, i64 %332
  %334 = load i32, ptr %333, align 4, !tbaa !9
  %335 = add i32 %327, %334
  %336 = icmp ult i32 %326, %335
  br i1 %336, label %337, label %361

337:                                              ; preds = %325
  %338 = load ptr, ptr %7, align 8, !tbaa !5
  %339 = load ptr, ptr %8, align 8, !tbaa !5
  %340 = load ptr, ptr %9, align 8, !tbaa !5
  %341 = load ptr, ptr %10, align 8, !tbaa !5
  %342 = load ptr, ptr %11, align 8, !tbaa !5
  %343 = load i32, ptr %36, align 4, !tbaa !9
  %344 = load i32, ptr %36, align 4, !tbaa !9
  %345 = load i32, ptr %37, align 4, !tbaa !9
  %346 = add i32 %344, %345
  %347 = load i32, ptr %20, align 4, !tbaa !9
  %348 = load i32, ptr %20, align 4, !tbaa !9
  %349 = load i32, ptr %21, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 %350
  %352 = load i32, ptr %351, align 4, !tbaa !9
  %353 = add i32 %348, %352
  %354 = load i32, ptr %32, align 4, !tbaa !9
  %355 = load i32, ptr %33, align 4, !tbaa !9
  %356 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_generator_packed_spgemm_csc_bsparse_avx_avx2_avx512_kloop(ptr noundef %338, ptr noundef %27, ptr noundef %28, ptr noundef %26, ptr noundef %339, ptr noundef %340, ptr noundef %341, ptr noundef %342, i32 noundef %343, i32 noundef %346, i32 noundef %347, i32 noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356)
  br label %357

357:                                              ; preds = %337
  %358 = load i32, ptr %37, align 4, !tbaa !9
  %359 = load i32, ptr %36, align 4, !tbaa !9
  %360 = add i32 %359, %358
  store i32 %360, ptr %36, align 4, !tbaa !9
  br label %325, !llvm.loop !41

361:                                              ; preds = %325
  %362 = load i32, ptr %21, align 4, !tbaa !9
  %363 = zext i32 %362 to i64
  %364 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 %363
  %365 = load i32, ptr %35, align 4, !tbaa !9
  %366 = zext i32 %365 to i64
  %367 = getelementptr inbounds [2 x i32], ptr %364, i64 0, i64 %366
  %368 = load i32, ptr %367, align 4, !tbaa !9
  %369 = load i32, ptr %34, align 4, !tbaa !9
  %370 = add i32 %369, %368
  store i32 %370, ptr %34, align 4, !tbaa !9
  %371 = load i32, ptr %35, align 4, !tbaa !9
  %372 = add i32 %371, 1
  store i32 %372, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  br label %312, !llvm.loop !42

373:                                              ; preds = %312
  %374 = load i32, ptr %21, align 4, !tbaa !9
  %375 = zext i32 %374 to i64
  %376 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 %375
  %377 = load i32, ptr %376, align 4, !tbaa !9
  %378 = load i32, ptr %20, align 4, !tbaa !9
  %379 = add i32 %378, %377
  store i32 %379, ptr %20, align 4, !tbaa !9
  %380 = load i32, ptr %21, align 4, !tbaa !9
  %381 = add i32 %380, 1
  store i32 %381, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  br label %283, !llvm.loop !43

382:                                              ; preds = %283
  %383 = load ptr, ptr %7, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 16
  %385 = load i32, ptr %384, align 8, !tbaa !40
  %386 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 5
  %387 = load i32, ptr %386, align 4, !tbaa !23
  %388 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 5
  %389 = load i32, ptr %388, align 4, !tbaa !44
  %390 = zext i32 %389 to i64
  %391 = load i32, ptr %12, align 4, !tbaa !9
  %392 = zext i32 %391 to i64
  %393 = mul nsw i64 %390, %392
  %394 = load ptr, ptr %8, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %394, i32 0, i32 5
  %396 = load i32, ptr %395, align 1, !tbaa !45
  %397 = zext i32 %396 to i64
  %398 = mul nsw i64 %393, %397
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %383, i32 noundef %385, i32 noundef %387, i64 noundef %398)
  %399 = load ptr, ptr %7, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 16
  %401 = load i32, ptr %400, align 8, !tbaa !40
  %402 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 1
  %403 = load i32, ptr %402, align 4, !tbaa !21
  %404 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 3
  %405 = load i32, ptr %404, align 4, !tbaa !46
  %406 = zext i32 %405 to i64
  %407 = load i32, ptr %12, align 4, !tbaa !9
  %408 = zext i32 %407 to i64
  %409 = mul nsw i64 %406, %408
  %410 = load ptr, ptr %8, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %410, i32 0, i32 3
  %412 = load i32, ptr %411, align 1, !tbaa !47
  %413 = zext i32 %412 to i64
  %414 = mul nsw i64 %409, %413
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %399, i32 noundef %401, i32 noundef %403, i64 noundef %414)
  %415 = load ptr, ptr %7, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 18
  %417 = load i32, ptr %416, align 8, !tbaa !48
  %418 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 10
  %419 = load i32, ptr %418, align 4, !tbaa !26
  %420 = load ptr, ptr %8, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %420, i32 0, i32 0
  %422 = load i32, ptr %421, align 1, !tbaa !49
  %423 = zext i32 %422 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %415, i32 noundef %417, i32 noundef %419, i64 noundef %423)
  %424 = load ptr, ptr %7, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 19
  %426 = load i32, ptr %425, align 4, !tbaa !50
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %424, i32 noundef %426, ptr noundef %27)
  %427 = load ptr, ptr %7, align 8, !tbaa !5
  %428 = load ptr, ptr %8, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %428, i32 0, i32 7
  %430 = load i8, ptr %429, align 1, !tbaa !35
  %431 = zext i8 %430 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef %427, ptr noundef %28, i32 noundef 0, i32 noundef %431)
  call void @llvm.lifetime.end.p0(i64 132, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 2052, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 688, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) #3

declare i32 @libxsmm_compute_equalized_blocking(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef) #3

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) #3

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

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

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

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

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

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

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

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

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

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 #4 = { 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 4}
!14 = !{!"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, !15, i64 33, !15, 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}
!15 = !{!"long long", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !10, i64 0}
!20 = !{!"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}
!21 = !{!20, !10, i64 4}
!22 = !{!20, !10, i64 12}
!23 = !{!20, !10, i64 20}
!24 = !{!20, !10, i64 24}
!25 = !{!20, !10, i64 32}
!26 = !{!20, !10, i64 40}
!27 = !{!20, !10, i64 44}
!28 = !{!20, !10, i64 48}
!29 = !{!20, !10, i64 88}
!30 = !{!20, !10, i64 92}
!31 = !{!20, !10, i64 96}
!32 = !{!20, !10, i64 100}
!33 = !{!20, !10, i64 104}
!34 = !{!20, !10, i64 108}
!35 = !{!14, !7, i64 28}
!36 = !{!14, !10, i64 24}
!37 = !{!38, !10, i64 80}
!38 = !{!"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, !39, 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}
!39 = !{!"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}
!40 = !{!38, !10, i64 64}
!41 = distinct !{!41, !18}
!42 = distinct !{!42, !18}
!43 = distinct !{!43, !18}
!44 = !{!38, !10, i64 20}
!45 = !{!14, !10, i64 20}
!46 = !{!38, !10, i64 12}
!47 = !{!14, !10, i64 12}
!48 = !{!38, !10, i64 72}
!49 = !{!14, !10, i64 0}
!50 = !{!38, !10, i64 76}


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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_avx_avx2_avx512(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = alloca [2 x i32], align 8
  %8 = alloca [2 x i32], align 8
  %9 = alloca [2 x [2 x i32]], align 16
  %10 = alloca [2 x [2 x i32]], align 16
  %11 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %12 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %13 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  store i64 0, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  store i64 0, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %10, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 688, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 2052, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 132, ptr nonnull %13) #4
  %14 = getelementptr inbounds i8, ptr %1, i64 29
  %15 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %14) #4
  %16 = icmp eq i32 %15, 0
  %17 = getelementptr inbounds i8, ptr %0, i64 28
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = add i32 %18, -1101
  %or.cond127 = icmp ult i32 %19, 899
  %spec.select134 = select i1 %or.cond127, i32 28, i32 14
  %spec.select133 = select i1 %or.cond127, i32 8, i32 4
  %spec.select135 = select i1 %or.cond127, i32 16, i32 8
  %.0113 = select i1 %16, i32 %spec.select133, i32 %spec.select135
  %.0113.fr = freeze i32 %.0113
  %20 = add i32 %.0113.fr, -1
  %21 = and i32 %20, %5
  %22 = udiv i32 %5, %.0113.fr
  %.not = icmp ne i32 %21, 0
  %23 = zext i1 %.not to i32
  %24 = add nuw nsw i32 %22, %23
  %25 = getelementptr inbounds i8, ptr %1, i64 4
  %26 = load i32, ptr %25, align 1, !tbaa !11
  %.not157 = icmp eq i32 %26, 0
  br i1 %.not157, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds i32, ptr %3, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !15
  %xtraiter = and i64 %27, 3
  %30 = icmp ult i32 %26, 4
  br i1 %30, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %27, 4294967292
  br label %31

31:                                               ; preds = %31, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %31 ]
  %.0108138 = phi i32 [ %26, %.lr.ph.new ], [ %spec.select.3, %31 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %31 ]
  %32 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %33 = load i32, ptr %32, align 4, !tbaa !15
  %34 = icmp eq i32 %33, %29
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %35 = trunc nuw i64 %indvars.iv.next to i32
  %spec.select = select i1 %34, i32 %35, i32 %.0108138
  %36 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.next
  %37 = load i32, ptr %36, align 4, !tbaa !15
  %38 = icmp eq i32 %37, %29
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %39 = trunc nuw i64 %indvars.iv.next.1 to i32
  %spec.select.1 = select i1 %38, i32 %39, i32 %spec.select
  %40 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.next.1
  %41 = load i32, ptr %40, align 4, !tbaa !15
  %42 = icmp eq i32 %41, %29
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %43 = trunc nuw i64 %indvars.iv.next.2 to i32
  %spec.select.2 = select i1 %42, i32 %43, i32 %spec.select.1
  %44 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.next.2
  %45 = load i32, ptr %44, align 4, !tbaa !15
  %46 = icmp eq i32 %45, %29
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %47 = trunc nuw i64 %indvars.iv.next.3 to i32
  %spec.select.3 = select i1 %46, i32 %47, i32 %spec.select.2
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %31, !llvm.loop !16

._crit_edge.loopexit.unr-lcssa:                   ; preds = %31, %.lr.ph
  %spec.select.lcssa.ph = phi i32 [ poison, %.lr.ph ], [ %spec.select.3, %31 ]
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %31 ]
  %.0108138.unr = phi i32 [ %26, %.lr.ph ], [ %spec.select.3, %31 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.0108138.epil = phi i32 [ %spec.select.epil, %.epil.preheader ], [ %.0108138.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %48 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.epil
  %49 = load i32, ptr %48, align 4, !tbaa !15
  %50 = icmp eq i32 %49, %29
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %51 = trunc nuw i64 %indvars.iv.next.epil to i32
  %spec.select.epil = select i1 %50, i32 %51, i32 %.0108138.epil
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !18

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %6
  %.0108.lcssa = phi i32 [ 0, %6 ], [ %spec.select.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %spec.select.epil, %.epil.preheader ]
  %52 = getelementptr inbounds i8, ptr %0, i64 28
  %53 = icmp ult i32 %18, 1101
  %or.cond = and i1 %53, %.not
  %spec.select129 = select i1 %or.cond, i32 13, i32 %spec.select134
  %54 = getelementptr inbounds i8, ptr %8, i64 4
  %55 = getelementptr inbounds i8, ptr %7, i64 4
  %56 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %24, i32 noundef %spec.select129, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %54, ptr noundef nonnull %55) #4
  %57 = load i32, ptr %52, align 4, !tbaa !5
  %58 = add i32 %57, -1101
  %or.cond130 = icmp ult i32 %58, 899
  %.pre = load i32, ptr %7, align 8, !tbaa !15
  %59 = icmp eq i32 %.pre, 2
  %spec.select131 = select i1 %59, i32 20, i32 %spec.select129
  %60 = icmp eq i32 %.pre, 4
  %spec.select137 = select i1 %60, i32 24, i32 %spec.select131
  %.3 = select i1 %or.cond130, i32 %spec.select137, i32 %spec.select129
  %61 = udiv i32 %.3, %.pre
  %62 = getelementptr inbounds i8, ptr %10, i64 4
  %63 = getelementptr inbounds i8, ptr %9, i64 4
  %64 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0108.lcssa, i32 noundef %61, ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef nonnull %62, ptr noundef nonnull %63) #4
  %65 = load i32, ptr %55, align 4, !tbaa !15
  %.not122 = icmp eq i32 %65, 0
  br i1 %.not122, label %73, label %66

66:                                               ; preds = %._crit_edge
  %67 = udiv i32 %.3, %65
  %68 = getelementptr inbounds i8, ptr %10, i64 8
  %69 = getelementptr inbounds i8, ptr %9, i64 8
  %70 = getelementptr inbounds i8, ptr %10, i64 12
  %71 = getelementptr inbounds i8, ptr %9, i64 12
  %72 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0108.lcssa, i32 noundef %67, ptr noundef nonnull %68, ptr noundef nonnull %69, ptr noundef nonnull %70, ptr noundef nonnull %71) #4
  br label %73

73:                                               ; preds = %66, %._crit_edge
  call void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef nonnull %13) #4
  store i32 7, ptr %13, align 4, !tbaa !20
  %74 = getelementptr inbounds i8, ptr %13, i64 4
  store i32 7, ptr %74, align 4, !tbaa !22
  %75 = getelementptr inbounds i8, ptr %13, i64 12
  store i32 6, ptr %75, align 4, !tbaa !23
  %76 = getelementptr inbounds i8, ptr %13, i64 20
  store i32 2, ptr %76, align 4, !tbaa !24
  %77 = getelementptr inbounds i8, ptr %13, i64 24
  store i32 1, ptr %77, align 4, !tbaa !25
  %78 = getelementptr inbounds i8, ptr %13, i64 32
  store i32 8, ptr %78, align 4, !tbaa !26
  %79 = getelementptr inbounds i8, ptr %13, i64 40
  store i32 12, ptr %79, align 4, !tbaa !27
  %80 = getelementptr inbounds i8, ptr %13, i64 44
  store i32 13, ptr %80, align 4, !tbaa !28
  %81 = getelementptr inbounds i8, ptr %13, i64 48
  store i32 14, ptr %81, align 4, !tbaa !29
  %82 = getelementptr inbounds i8, ptr %13, i64 88
  %83 = getelementptr inbounds i8, ptr %13, i64 92
  store <4 x i32> <i32 15, i32 11, i32 127, i32 127>, ptr %82, align 4, !tbaa !15
  %84 = getelementptr inbounds i8, ptr %13, i64 104
  store i32 127, ptr %84, align 4, !tbaa !30
  %85 = getelementptr inbounds i8, ptr %13, i64 108
  store i32 127, ptr %85, align 4, !tbaa !31
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %12) #4
  %86 = load i32, ptr %52, align 4, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef nonnull %11, i32 noundef %86, ptr noundef %1, i32 noundef 0) #4
  %87 = getelementptr inbounds i8, ptr %1, i64 28
  %88 = load i8, ptr %87, align 1, !tbaa !32
  %89 = zext i8 %88 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef 0, i32 noundef %89) #4
  %90 = getelementptr inbounds i8, ptr %1, i64 24
  %91 = load i32, ptr %90, align 1, !tbaa !33
  %92 = and i32 %91, 16384
  %.not123 = icmp eq i32 %92, 0
  br i1 %.not123, label %114, label %93

93:                                               ; preds = %73
  %94 = load i32, ptr %13, align 4, !tbaa !20
  %95 = load i32, ptr %83, align 4, !tbaa !34
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef -1568407413, i32 noundef %94, i32 noundef %95) #4
  %96 = getelementptr inbounds i8, ptr %11, i64 80
  %97 = load i32, ptr %96, align 8, !tbaa !35
  %98 = load i32, ptr %83, align 4, !tbaa !34
  %99 = load i32, ptr %74, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %97, i32 noundef %98, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef %99, i32 noundef 0) #4
  %100 = load i32, ptr %96, align 8, !tbaa !35
  %101 = load i32, ptr %83, align 4, !tbaa !34
  %102 = load i32, ptr %75, align 4, !tbaa !23
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %100, i32 noundef %101, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef %102, i32 noundef 0) #4
  %103 = load i32, ptr %96, align 8, !tbaa !35
  %104 = load i32, ptr %83, align 4, !tbaa !34
  %105 = load i32, ptr %76, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %103, i32 noundef %104, i32 noundef 127, i32 noundef 0, i32 noundef 128, i32 noundef %105, i32 noundef 0) #4
  %106 = load i8, ptr %87, align 1, !tbaa !32
  %.not124 = icmp eq i8 %106, 0
  br i1 %.not124, label %114, label %107

107:                                              ; preds = %93
  %108 = load i32, ptr %96, align 8, !tbaa !35
  %109 = load i32, ptr %83, align 4, !tbaa !34
  %110 = load i32, ptr %77, align 4, !tbaa !25
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %108, i32 noundef %109, i32 noundef 127, i32 noundef 0, i32 noundef 72, i32 noundef %110, i32 noundef 0) #4
  %111 = load i32, ptr %96, align 8, !tbaa !35
  %112 = load i32, ptr %83, align 4, !tbaa !34
  %113 = load i32, ptr %78, align 4, !tbaa !26
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %111, i32 noundef %112, i32 noundef 127, i32 noundef 0, i32 noundef 120, i32 noundef %113, i32 noundef 0) #4
  br label %114

114:                                              ; preds = %93, %107, %73
  %115 = getelementptr inbounds i8, ptr %11, i64 80
  %116 = load i32, ptr %115, align 8, !tbaa !35
  %117 = load i32, ptr %79, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %116, i32 noundef %117, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef nonnull %12) #4
  %118 = getelementptr inbounds i8, ptr %11, i64 64
  %119 = load i32, ptr %118, align 8, !tbaa !38
  %120 = load i32, ptr %79, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %119, i32 noundef %120, i64 noundef 1) #4
  %.not125150 = icmp eq i32 %24, 0
  %.not158 = icmp eq i32 %.0108.lcssa, 0
  %or.cond166 = select i1 %.not125150, i1 true, i1 %.not158
  br i1 %or.cond166, label %._crit_edge155, label %.lr.ph154.split.us

.lr.ph154.split.us:                               ; preds = %114
  br i1 %.not, label %.lr.ph148.us, label %.lr.ph148.us.us

.lr.ph148.us.us:                                  ; preds = %.lr.ph154.split.us, %._crit_edge149.us.us
  %.0111152.us.us = phi i32 [ %143, %._crit_edge149.us.us ], [ 0, %.lr.ph154.split.us ]
  %.0112151.us.us = phi i32 [ %142, %._crit_edge149.us.us ], [ 0, %.lr.ph154.split.us ]
  %121 = zext i32 %.0111152.us.us to i64
  %122 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !15
  %124 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 %121
  br label %125

125:                                              ; preds = %.lr.ph148.us.us, %._crit_edge143.us.us
  %.0105146.us.us = phi i32 [ 0, %.lr.ph148.us.us ], [ %133, %._crit_edge143.us.us ]
  %.0106145.us.us = phi i32 [ 0, %.lr.ph148.us.us ], [ %.lcssa.us.us, %._crit_edge143.us.us ]
  %126 = zext i32 %.0105146.us.us to i64
  %127 = getelementptr inbounds [2 x [2 x i32]], ptr %9, i64 0, i64 %121, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !15
  %129 = getelementptr inbounds [2 x [2 x i32]], ptr %10, i64 0, i64 %121, i64 %126
  %130 = load i32, ptr %129, align 4, !tbaa !15
  %131 = add i32 %130, %.0106145.us.us
  %132 = icmp ult i32 %.0106145.us.us, %131
  br i1 %132, label %.lr.ph142.us.us, label %._crit_edge143.us.us

._crit_edge143.us.us:                             ; preds = %.lr.ph142.us.us, %125
  %.lcssa.us.us = phi i32 [ %131, %125 ], [ %139, %.lr.ph142.us.us ]
  %133 = add i32 %.0105146.us.us, 1
  %134 = icmp ult i32 %.lcssa.us.us, %.0108.lcssa
  br i1 %134, label %125, label %._crit_edge149.us.us, !llvm.loop !39

.lr.ph142.us.us:                                  ; preds = %125, %.lr.ph142.us.us
  %.0104140.us.us = phi i32 [ %135, %.lr.ph142.us.us ], [ %.0106145.us.us, %125 ]
  %135 = add i32 %.0104140.us.us, %128
  %136 = load i32, ptr %124, align 4, !tbaa !15
  %137 = add i32 %136, %.0112151.us.us
  call void @libxsmm_generator_packed_spgemm_csc_bsparse_avx_avx2_avx512_kloop(ptr noundef %0, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %11, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %.0104140.us.us, i32 noundef %135, i32 noundef %.0112151.us.us, i32 noundef %137, i32 noundef %123, i32 noundef 0, i32 noundef %5)
  %138 = load i32, ptr %129, align 4, !tbaa !15
  %139 = add i32 %138, %.0106145.us.us
  %140 = icmp ult i32 %135, %139
  br i1 %140, label %.lr.ph142.us.us, label %._crit_edge143.us.us, !llvm.loop !40

._crit_edge149.us.us:                             ; preds = %._crit_edge143.us.us
  %141 = load i32, ptr %124, align 4, !tbaa !15
  %142 = add i32 %141, %.0112151.us.us
  %143 = add i32 %.0111152.us.us, 1
  %.not125.us.us = icmp eq i32 %142, %24
  br i1 %.not125.us.us, label %._crit_edge155, label %.lr.ph148.us.us, !llvm.loop !41

.lr.ph148.us:                                     ; preds = %.lr.ph154.split.us, %._crit_edge149.us
  %.0111152.us = phi i32 [ %168, %._crit_edge149.us ], [ 0, %.lr.ph154.split.us ]
  %.0112151.us = phi i32 [ %167, %._crit_edge149.us ], [ 0, %.lr.ph154.split.us ]
  %144 = zext i32 %.0111152.us to i64
  %145 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !15
  %147 = icmp eq i32 %.0111152.us, 0
  %148 = load i32, ptr %55, align 4
  %.not126.us = icmp eq i32 %148, 0
  %..us = select i1 %.not126.us, i32 %21, i32 0
  %spec.select156 = select i1 %147, i32 %..us, i32 %21
  %149 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 %144
  br label %150

150:                                              ; preds = %.lr.ph148.us, %._crit_edge143.us
  %.0105146.us = phi i32 [ 0, %.lr.ph148.us ], [ %158, %._crit_edge143.us ]
  %.0106145.us = phi i32 [ 0, %.lr.ph148.us ], [ %.lcssa.us, %._crit_edge143.us ]
  %151 = zext i32 %.0105146.us to i64
  %152 = getelementptr inbounds [2 x [2 x i32]], ptr %9, i64 0, i64 %144, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !15
  %154 = getelementptr inbounds [2 x [2 x i32]], ptr %10, i64 0, i64 %144, i64 %151
  %155 = load i32, ptr %154, align 4, !tbaa !15
  %156 = add i32 %155, %.0106145.us
  %157 = icmp ult i32 %.0106145.us, %156
  br i1 %157, label %.lr.ph142.us, label %._crit_edge143.us

._crit_edge143.us:                                ; preds = %.lr.ph142.us, %150
  %.lcssa.us = phi i32 [ %156, %150 ], [ %164, %.lr.ph142.us ]
  %158 = add i32 %.0105146.us, 1
  %159 = icmp ult i32 %.lcssa.us, %.0108.lcssa
  br i1 %159, label %150, label %._crit_edge149.us, !llvm.loop !39

.lr.ph142.us:                                     ; preds = %150, %.lr.ph142.us
  %.0104140.us = phi i32 [ %160, %.lr.ph142.us ], [ %.0106145.us, %150 ]
  %160 = add i32 %.0104140.us, %153
  %161 = load i32, ptr %149, align 4, !tbaa !15
  %162 = add i32 %161, %.0112151.us
  call void @libxsmm_generator_packed_spgemm_csc_bsparse_avx_avx2_avx512_kloop(ptr noundef %0, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %11, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %.0104140.us, i32 noundef %160, i32 noundef %.0112151.us, i32 noundef %162, i32 noundef %146, i32 noundef %spec.select156, i32 noundef %5)
  %163 = load i32, ptr %154, align 4, !tbaa !15
  %164 = add i32 %163, %.0106145.us
  %165 = icmp ult i32 %160, %164
  br i1 %165, label %.lr.ph142.us, label %._crit_edge143.us, !llvm.loop !40

._crit_edge149.us:                                ; preds = %._crit_edge143.us
  %166 = load i32, ptr %149, align 4, !tbaa !15
  %167 = add i32 %166, %.0112151.us
  %168 = add i32 %.0111152.us, 1
  %.not125.us = icmp eq i32 %167, %24
  br i1 %.not125.us, label %._crit_edge155, label %.lr.ph148.us, !llvm.loop !41

._crit_edge155:                                   ; preds = %._crit_edge149.us.us, %._crit_edge149.us, %114
  %169 = load i32, ptr %118, align 8, !tbaa !38
  %170 = load i32, ptr %76, align 4, !tbaa !24
  %171 = getelementptr inbounds i8, ptr %11, i64 20
  %172 = load i32, ptr %171, align 4, !tbaa !42
  %173 = zext i32 %172 to i64
  %174 = zext i32 %5 to i64
  %175 = mul nuw nsw i64 %173, %174
  %176 = getelementptr inbounds i8, ptr %1, i64 20
  %177 = load i32, ptr %176, align 1, !tbaa !43
  %178 = zext i32 %177 to i64
  %179 = mul nuw nsw i64 %175, %178
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %169, i32 noundef %170, i64 noundef %179) #4
  %180 = load i32, ptr %118, align 8, !tbaa !38
  %181 = load i32, ptr %74, align 4, !tbaa !22
  %182 = getelementptr inbounds i8, ptr %11, i64 12
  %183 = load i32, ptr %182, align 4, !tbaa !44
  %184 = zext i32 %183 to i64
  %185 = mul nuw nsw i64 %184, %174
  %186 = getelementptr inbounds i8, ptr %1, i64 12
  %187 = load i32, ptr %186, align 1, !tbaa !45
  %188 = zext i32 %187 to i64
  %189 = mul nuw nsw i64 %185, %188
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %180, i32 noundef %181, i64 noundef %189) #4
  %190 = getelementptr inbounds i8, ptr %11, i64 72
  %191 = load i32, ptr %190, align 8, !tbaa !46
  %192 = load i32, ptr %79, align 4, !tbaa !27
  %193 = load i32, ptr %1, align 1, !tbaa !47
  %194 = zext i32 %193 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %191, i32 noundef %192, i64 noundef %194) #4
  %195 = getelementptr inbounds i8, ptr %11, i64 76
  %196 = load i32, ptr %195, align 4, !tbaa !48
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %0, i32 noundef %196, ptr noundef nonnull %12) #4
  %197 = load i8, ptr %87, align 1, !tbaa !32
  %198 = zext i8 %197 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef %0, ptr noundef nonnull %13, i32 noundef 0, i32 noundef %198) #4
  call void @llvm.lifetime.end.p0(i64 132, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  ret void
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #3

declare i32 @libxsmm_compute_equalized_blocking(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef) local_unnamed_addr #3

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) local_unnamed_addr #3

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

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

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

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 #3

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

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

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

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

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

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

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 #4 = { 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 4}
!12 = !{!"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, !13, i64 33, !13, 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}
!13 = !{!"long long", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!10, !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.unroll.disable"}
!20 = !{!21, !10, i64 0}
!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 = !{!21, !10, i64 4}
!23 = !{!21, !10, i64 12}
!24 = !{!21, !10, i64 20}
!25 = !{!21, !10, i64 24}
!26 = !{!21, !10, i64 32}
!27 = !{!21, !10, i64 40}
!28 = !{!21, !10, i64 44}
!29 = !{!21, !10, i64 48}
!30 = !{!21, !10, i64 104}
!31 = !{!21, !10, i64 108}
!32 = !{!12, !8, i64 28}
!33 = !{!12, !10, i64 24}
!34 = !{!21, !10, i64 92}
!35 = !{!36, !10, i64 80}
!36 = !{!"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, !37, 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}
!37 = !{!"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}
!38 = !{!36, !10, i64 64}
!39 = distinct !{!39, !17}
!40 = distinct !{!40, !17}
!41 = distinct !{!41, !17}
!42 = !{!36, !10, i64 20}
!43 = !{!12, !10, i64 20}
!44 = !{!36, !10, i64 12}
!45 = !{!12, !10, i64 12}
!46 = !{!36, !10, i64 72}
!47 = !{!12, !10, i64 0}
!48 = !{!36, !10, i64 76}


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