; LLVM IR from libxsmm/libxsmm :: src (generator_packed_spgemm_csr_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_csr_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
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %110, %83
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %88, i32 0, i32 2
  %90 = load i32, ptr %89, align 1, !tbaa !13
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds i32, ptr %87, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = icmp ult i32 %86, %93
  br i1 %94, label %95, label %113

95:                                               ; preds = %85
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds i32, ptr %97, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = icmp ult i32 %96, %101
  br i1 %102, label %103, label %109

103:                                              ; preds = %95
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds i32, ptr %104, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !9
  store i32 %108, ptr %14, align 4, !tbaa !9
  br label %109

109:                                              ; preds = %103, %95
  br label %110

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

113:                                              ; preds = %85
  %114 = load i32, ptr %14, align 4, !tbaa !9
  %115 = add i32 %114, 1
  store i32 %115, ptr %14, align 4, !tbaa !9
  %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 = %113
  %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, %113
  %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_csr_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_csr_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 8}
!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_csr_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) #5
  store i64 0, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store i64 0, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  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) #5
  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) #5
  call void @llvm.lifetime.start.p0(i64 2052, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 132, ptr nonnull %13) #5
  %14 = getelementptr inbounds i8, ptr %1, i64 29
  %15 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %14) #5
  %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.cond128 = icmp ult i32 %19, 899
  %spec.select135 = select i1 %or.cond128, i32 28, i32 14
  %spec.select134 = select i1 %or.cond128, i32 8, i32 4
  %spec.select136 = select i1 %or.cond128, i32 16, i32 8
  %.0114 = select i1 %16, i32 %spec.select134, i32 %spec.select136
  %.0114.fr = freeze i32 %.0114
  %20 = add i32 %.0114.fr, -1
  %21 = and i32 %20, %5
  %22 = udiv i32 %5, %.0114.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 8
  %26 = load i32, ptr %25, align 1, !tbaa !11
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds i32, ptr %2, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !15
  %.not158 = icmp eq i32 %29, 0
  br i1 %.not158, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %6
  %wide.trip.count = zext i32 %29 to i64
  %min.iters.check = icmp ult i32 %29, 8
  br i1 %min.iters.check, label %.lr.ph.preheader174, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 4294967288
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %32, %vector.body ]
  %vec.phi170 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %33, %vector.body ]
  %30 = getelementptr inbounds i32, ptr %3, i64 %index
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %wide.load = load <4 x i32>, ptr %30, align 4, !tbaa !15
  %wide.load171 = load <4 x i32>, ptr %31, align 4, !tbaa !15
  %32 = tail call <4 x i32> @llvm.umax.v4i32(<4 x i32> %vec.phi, <4 x i32> %wide.load)
  %33 = tail call <4 x i32> @llvm.umax.v4i32(<4 x i32> %vec.phi170, <4 x i32> %wide.load171)
  %index.next = add nuw i64 %index, 8
  %34 = icmp eq i64 %index.next, %n.vec
  br i1 %34, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %rdx.minmax = tail call <4 x i32> @llvm.umax.v4i32(<4 x i32> %32, <4 x i32> %33)
  %35 = tail call i32 @llvm.vector.reduce.umax.v4i32(<4 x i32> %rdx.minmax)
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge.loopexit, label %.lr.ph.preheader174

.lr.ph.preheader174:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %.0109139.ph = phi i32 [ 0, %.lr.ph.preheader ], [ %35, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader174, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader174 ]
  %.0109139 = phi i32 [ %spec.select, %.lr.ph ], [ %.0109139.ph, %.lr.ph.preheader174 ]
  %36 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %37 = load i32, ptr %36, align 4, !tbaa !15
  %spec.select = tail call i32 @llvm.umax.i32(i32 %.0109139, i32 %37)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !20

._crit_edge.loopexit:                             ; preds = %.lr.ph, %middle.block
  %spec.select.lcssa = phi i32 [ %35, %middle.block ], [ %spec.select, %.lr.ph ]
  %38 = add i32 %spec.select.lcssa, 1
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %6
  %.0109.lcssa = phi i32 [ 1, %6 ], [ %38, %._crit_edge.loopexit ]
  %39 = getelementptr inbounds i8, ptr %0, i64 28
  %40 = icmp ult i32 %18, 1101
  %or.cond = and i1 %40, %.not
  %spec.select130 = select i1 %or.cond, i32 13, i32 %spec.select135
  %41 = getelementptr inbounds i8, ptr %8, i64 4
  %42 = getelementptr inbounds i8, ptr %7, i64 4
  %43 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %24, i32 noundef %spec.select130, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %41, ptr noundef nonnull %42) #5
  %44 = load i32, ptr %39, align 4, !tbaa !5
  %45 = add i32 %44, -1101
  %or.cond131 = icmp ult i32 %45, 899
  %.pre = load i32, ptr %7, align 8, !tbaa !15
  %46 = icmp eq i32 %.pre, 2
  %spec.select132 = select i1 %46, i32 20, i32 %spec.select130
  %47 = icmp eq i32 %.pre, 4
  %spec.select138 = select i1 %47, i32 24, i32 %spec.select132
  %.3 = select i1 %or.cond131, i32 %spec.select138, i32 %spec.select130
  %48 = udiv i32 %.3, %.pre
  %49 = getelementptr inbounds i8, ptr %10, i64 4
  %50 = getelementptr inbounds i8, ptr %9, i64 4
  %51 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0109.lcssa, i32 noundef %48, ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef nonnull %49, ptr noundef nonnull %50) #5
  %52 = load i32, ptr %42, align 4, !tbaa !15
  %.not123 = icmp eq i32 %52, 0
  br i1 %.not123, label %60, label %53

53:                                               ; preds = %._crit_edge
  %54 = udiv i32 %.3, %52
  %55 = getelementptr inbounds i8, ptr %10, i64 8
  %56 = getelementptr inbounds i8, ptr %9, i64 8
  %57 = getelementptr inbounds i8, ptr %10, i64 12
  %58 = getelementptr inbounds i8, ptr %9, i64 12
  %59 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0109.lcssa, i32 noundef %54, ptr noundef nonnull %55, ptr noundef nonnull %56, ptr noundef nonnull %57, ptr noundef nonnull %58) #5
  br label %60

60:                                               ; preds = %53, %._crit_edge
  call void @libxsmm_reset_x86_gp_reg_mapping(ptr noundef nonnull %13) #5
  store i32 7, ptr %13, align 4, !tbaa !21
  %61 = getelementptr inbounds i8, ptr %13, i64 4
  store i32 7, ptr %61, align 4, !tbaa !23
  %62 = getelementptr inbounds i8, ptr %13, i64 12
  store i32 6, ptr %62, align 4, !tbaa !24
  %63 = getelementptr inbounds i8, ptr %13, i64 20
  store i32 2, ptr %63, align 4, !tbaa !25
  %64 = getelementptr inbounds i8, ptr %13, i64 24
  store i32 1, ptr %64, align 4, !tbaa !26
  %65 = getelementptr inbounds i8, ptr %13, i64 32
  store i32 8, ptr %65, align 4, !tbaa !27
  %66 = getelementptr inbounds i8, ptr %13, i64 40
  store i32 12, ptr %66, align 4, !tbaa !28
  %67 = getelementptr inbounds i8, ptr %13, i64 44
  store i32 13, ptr %67, align 4, !tbaa !29
  %68 = getelementptr inbounds i8, ptr %13, i64 48
  store i32 14, ptr %68, align 4, !tbaa !30
  %69 = getelementptr inbounds i8, ptr %13, i64 88
  %70 = getelementptr inbounds i8, ptr %13, i64 92
  store <4 x i32> <i32 15, i32 11, i32 127, i32 127>, ptr %69, align 4, !tbaa !15
  %71 = getelementptr inbounds i8, ptr %13, i64 104
  store i32 127, ptr %71, align 4, !tbaa !31
  %72 = getelementptr inbounds i8, ptr %13, i64 108
  store i32 127, ptr %72, align 4, !tbaa !32
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %12) #5
  %73 = load i32, ptr %39, align 4, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config(ptr noundef nonnull %11, i32 noundef %73, ptr noundef nonnull %1, i32 noundef 0) #5
  %74 = getelementptr inbounds i8, ptr %1, i64 28
  %75 = load i8, ptr %74, align 1, !tbaa !33
  %76 = zext i8 %75 to i32
  call void @libxsmm_x86_instruction_open_stream_gemm(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef 0, i32 noundef %76) #5
  %77 = getelementptr inbounds i8, ptr %1, i64 24
  %78 = load i32, ptr %77, align 1, !tbaa !34
  %79 = and i32 %78, 16384
  %.not124 = icmp eq i32 %79, 0
  br i1 %.not124, label %101, label %80

80:                                               ; preds = %60
  %81 = load i32, ptr %13, align 4, !tbaa !21
  %82 = load i32, ptr %70, align 4, !tbaa !35
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef -1568407413, i32 noundef %81, i32 noundef %82) #5
  %83 = getelementptr inbounds i8, ptr %11, i64 80
  %84 = load i32, ptr %83, align 8, !tbaa !36
  %85 = load i32, ptr %70, align 4, !tbaa !35
  %86 = load i32, ptr %61, align 4, !tbaa !23
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %84, i32 noundef %85, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef %86, i32 noundef 0) #5
  %87 = load i32, ptr %83, align 8, !tbaa !36
  %88 = load i32, ptr %70, align 4, !tbaa !35
  %89 = load i32, ptr %62, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %87, i32 noundef %88, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef %89, i32 noundef 0) #5
  %90 = load i32, ptr %83, align 8, !tbaa !36
  %91 = load i32, ptr %70, align 4, !tbaa !35
  %92 = load i32, ptr %63, align 4, !tbaa !25
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %90, i32 noundef %91, i32 noundef 127, i32 noundef 0, i32 noundef 128, i32 noundef %92, i32 noundef 0) #5
  %93 = load i8, ptr %74, align 1, !tbaa !33
  %.not125 = icmp eq i8 %93, 0
  br i1 %.not125, label %101, label %94

94:                                               ; preds = %80
  %95 = load i32, ptr %83, align 8, !tbaa !36
  %96 = load i32, ptr %70, align 4, !tbaa !35
  %97 = load i32, ptr %64, align 4, !tbaa !26
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %95, i32 noundef %96, i32 noundef 127, i32 noundef 0, i32 noundef 72, i32 noundef %97, i32 noundef 0) #5
  %98 = load i32, ptr %83, align 8, !tbaa !36
  %99 = load i32, ptr %70, align 4, !tbaa !35
  %100 = load i32, ptr %65, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %98, i32 noundef %99, i32 noundef 127, i32 noundef 0, i32 noundef 120, i32 noundef %100, i32 noundef 0) #5
  br label %101

101:                                              ; preds = %80, %94, %60
  %102 = getelementptr inbounds i8, ptr %11, i64 80
  %103 = load i32, ptr %102, align 8, !tbaa !36
  %104 = load i32, ptr %66, align 4, !tbaa !28
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %103, i32 noundef %104, i64 noundef 0) #5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef nonnull %12) #5
  %105 = getelementptr inbounds i8, ptr %11, i64 64
  %106 = load i32, ptr %105, align 8, !tbaa !39
  %107 = load i32, ptr %66, align 4, !tbaa !28
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %106, i32 noundef %107, i64 noundef 1) #5
  %.not126151 = icmp eq i32 %24, 0
  %.not159 = icmp eq i32 %.0109.lcssa, 0
  %or.cond167 = select i1 %.not126151, i1 true, i1 %.not159
  br i1 %or.cond167, label %._crit_edge156, label %.lr.ph155.split.us

.lr.ph155.split.us:                               ; preds = %101
  br i1 %.not, label %.lr.ph149.us, label %.lr.ph149.us.us

.lr.ph149.us.us:                                  ; preds = %.lr.ph155.split.us, %._crit_edge150.us.us
  %.0112153.us.us = phi i32 [ %130, %._crit_edge150.us.us ], [ 0, %.lr.ph155.split.us ]
  %.0113152.us.us = phi i32 [ %129, %._crit_edge150.us.us ], [ 0, %.lr.ph155.split.us ]
  %108 = zext i32 %.0112153.us.us to i64
  %109 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !15
  %111 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 %108
  br label %112

112:                                              ; preds = %.lr.ph149.us.us, %._crit_edge144.us.us
  %.0106147.us.us = phi i32 [ 0, %.lr.ph149.us.us ], [ %120, %._crit_edge144.us.us ]
  %.0107146.us.us = phi i32 [ 0, %.lr.ph149.us.us ], [ %.lcssa.us.us, %._crit_edge144.us.us ]
  %113 = zext i32 %.0106147.us.us to i64
  %114 = getelementptr inbounds [2 x [2 x i32]], ptr %9, i64 0, i64 %108, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !15
  %116 = getelementptr inbounds [2 x [2 x i32]], ptr %10, i64 0, i64 %108, i64 %113
  %117 = load i32, ptr %116, align 4, !tbaa !15
  %118 = add i32 %117, %.0107146.us.us
  %119 = icmp ult i32 %.0107146.us.us, %118
  br i1 %119, label %.lr.ph143.us.us, label %._crit_edge144.us.us

._crit_edge144.us.us:                             ; preds = %.lr.ph143.us.us, %112
  %.lcssa.us.us = phi i32 [ %118, %112 ], [ %126, %.lr.ph143.us.us ]
  %120 = add i32 %.0106147.us.us, 1
  %121 = icmp ult i32 %.lcssa.us.us, %.0109.lcssa
  br i1 %121, label %112, label %._crit_edge150.us.us, !llvm.loop !40

.lr.ph143.us.us:                                  ; preds = %112, %.lr.ph143.us.us
  %.0105141.us.us = phi i32 [ %122, %.lr.ph143.us.us ], [ %.0107146.us.us, %112 ]
  %122 = add i32 %.0105141.us.us, %115
  %123 = load i32, ptr %111, align 4, !tbaa !15
  %124 = add i32 %123, %.0113152.us.us
  call void @libxsmm_generator_packed_spgemm_csr_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 %.0105141.us.us, i32 noundef %122, i32 noundef %.0113152.us.us, i32 noundef %124, i32 noundef %110, i32 noundef 0, i32 noundef %5)
  %125 = load i32, ptr %116, align 4, !tbaa !15
  %126 = add i32 %125, %.0107146.us.us
  %127 = icmp ult i32 %122, %126
  br i1 %127, label %.lr.ph143.us.us, label %._crit_edge144.us.us, !llvm.loop !41

._crit_edge150.us.us:                             ; preds = %._crit_edge144.us.us
  %128 = load i32, ptr %111, align 4, !tbaa !15
  %129 = add i32 %128, %.0113152.us.us
  %130 = add i32 %.0112153.us.us, 1
  %.not126.us.us = icmp eq i32 %129, %24
  br i1 %.not126.us.us, label %._crit_edge156, label %.lr.ph149.us.us, !llvm.loop !42

.lr.ph149.us:                                     ; preds = %.lr.ph155.split.us, %._crit_edge150.us
  %.0112153.us = phi i32 [ %155, %._crit_edge150.us ], [ 0, %.lr.ph155.split.us ]
  %.0113152.us = phi i32 [ %154, %._crit_edge150.us ], [ 0, %.lr.ph155.split.us ]
  %131 = zext i32 %.0112153.us to i64
  %132 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !15
  %134 = icmp eq i32 %.0112153.us, 0
  %135 = load i32, ptr %42, align 4
  %.not127.us = icmp eq i32 %135, 0
  %..us = select i1 %.not127.us, i32 %21, i32 0
  %spec.select157 = select i1 %134, i32 %..us, i32 %21
  %136 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 %131
  br label %137

137:                                              ; preds = %.lr.ph149.us, %._crit_edge144.us
  %.0106147.us = phi i32 [ 0, %.lr.ph149.us ], [ %145, %._crit_edge144.us ]
  %.0107146.us = phi i32 [ 0, %.lr.ph149.us ], [ %.lcssa.us, %._crit_edge144.us ]
  %138 = zext i32 %.0106147.us to i64
  %139 = getelementptr inbounds [2 x [2 x i32]], ptr %9, i64 0, i64 %131, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !15
  %141 = getelementptr inbounds [2 x [2 x i32]], ptr %10, i64 0, i64 %131, i64 %138
  %142 = load i32, ptr %141, align 4, !tbaa !15
  %143 = add i32 %142, %.0107146.us
  %144 = icmp ult i32 %.0107146.us, %143
  br i1 %144, label %.lr.ph143.us, label %._crit_edge144.us

._crit_edge144.us:                                ; preds = %.lr.ph143.us, %137
  %.lcssa.us = phi i32 [ %143, %137 ], [ %151, %.lr.ph143.us ]
  %145 = add i32 %.0106147.us, 1
  %146 = icmp ult i32 %.lcssa.us, %.0109.lcssa
  br i1 %146, label %137, label %._crit_edge150.us, !llvm.loop !40

.lr.ph143.us:                                     ; preds = %137, %.lr.ph143.us
  %.0105141.us = phi i32 [ %147, %.lr.ph143.us ], [ %.0107146.us, %137 ]
  %147 = add i32 %.0105141.us, %140
  %148 = load i32, ptr %136, align 4, !tbaa !15
  %149 = add i32 %148, %.0113152.us
  call void @libxsmm_generator_packed_spgemm_csr_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 %.0105141.us, i32 noundef %147, i32 noundef %.0113152.us, i32 noundef %149, i32 noundef %133, i32 noundef %spec.select157, i32 noundef %5)
  %150 = load i32, ptr %141, align 4, !tbaa !15
  %151 = add i32 %150, %.0107146.us
  %152 = icmp ult i32 %147, %151
  br i1 %152, label %.lr.ph143.us, label %._crit_edge144.us, !llvm.loop !41

._crit_edge150.us:                                ; preds = %._crit_edge144.us
  %153 = load i32, ptr %136, align 4, !tbaa !15
  %154 = add i32 %153, %.0113152.us
  %155 = add i32 %.0112153.us, 1
  %.not126.us = icmp eq i32 %154, %24
  br i1 %.not126.us, label %._crit_edge156, label %.lr.ph149.us, !llvm.loop !42

._crit_edge156:                                   ; preds = %._crit_edge150.us.us, %._crit_edge150.us, %101
  %156 = load i32, ptr %105, align 8, !tbaa !39
  %157 = load i32, ptr %63, align 4, !tbaa !25
  %158 = getelementptr inbounds i8, ptr %11, i64 20
  %159 = load i32, ptr %158, align 4, !tbaa !43
  %160 = zext i32 %159 to i64
  %161 = zext i32 %5 to i64
  %162 = mul nuw nsw i64 %160, %161
  %163 = getelementptr inbounds i8, ptr %1, i64 20
  %164 = load i32, ptr %163, align 1, !tbaa !44
  %165 = zext i32 %164 to i64
  %166 = mul nuw nsw i64 %162, %165
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %156, i32 noundef %157, i64 noundef %166) #5
  %167 = load i32, ptr %105, align 8, !tbaa !39
  %168 = load i32, ptr %61, align 4, !tbaa !23
  %169 = getelementptr inbounds i8, ptr %11, i64 12
  %170 = load i32, ptr %169, align 4, !tbaa !45
  %171 = zext i32 %170 to i64
  %172 = mul nuw nsw i64 %171, %161
  %173 = getelementptr inbounds i8, ptr %1, i64 12
  %174 = load i32, ptr %173, align 1, !tbaa !46
  %175 = zext i32 %174 to i64
  %176 = mul nuw nsw i64 %172, %175
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %167, i32 noundef %168, i64 noundef %176) #5
  %177 = getelementptr inbounds i8, ptr %11, i64 72
  %178 = load i32, ptr %177, align 8, !tbaa !47
  %179 = load i32, ptr %66, align 4, !tbaa !28
  %180 = load i32, ptr %1, align 1, !tbaa !48
  %181 = zext i32 %180 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %178, i32 noundef %179, i64 noundef %181) #5
  %182 = getelementptr inbounds i8, ptr %11, i64 76
  %183 = load i32, ptr %182, align 4, !tbaa !49
  call void @libxsmm_x86_instruction_jump_back_to_label(ptr noundef %0, i32 noundef %183, ptr noundef nonnull %12) #5
  %184 = load i8, ptr %74, align 1, !tbaa !33
  %185 = zext i8 %184 to i32
  call void @libxsmm_x86_instruction_close_stream_gemm(ptr noundef %0, ptr noundef nonnull %13, i32 noundef 0, i32 noundef %185) #5
  call void @llvm.lifetime.end.p0(i64 132, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  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_csr_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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i32> @llvm.umax.v4i32(<4 x i32>, <4 x i32>) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.umax.v4i32(<4 x i32>) #4

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 8}
!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, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17, !19, !18}
!21 = !{!22, !10, i64 0}
!22 = !{!"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}
!23 = !{!22, !10, i64 4}
!24 = !{!22, !10, i64 12}
!25 = !{!22, !10, i64 20}
!26 = !{!22, !10, i64 24}
!27 = !{!22, !10, i64 32}
!28 = !{!22, !10, i64 40}
!29 = !{!22, !10, i64 44}
!30 = !{!22, !10, i64 48}
!31 = !{!22, !10, i64 104}
!32 = !{!22, !10, i64 108}
!33 = !{!12, !8, i64 28}
!34 = !{!12, !10, i64 24}
!35 = !{!22, !10, i64 92}
!36 = !{!37, !10, i64 80}
!37 = !{!"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, !38, 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}
!38 = !{!"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}
!39 = !{!37, !10, i64 64}
!40 = distinct !{!40, !17}
!41 = distinct !{!41, !17}
!42 = distinct !{!42, !17}
!43 = !{!37, !10, i64 20}
!44 = !{!12, !10, i64 20}
!45 = !{!37, !10, i64 12}
!46 = !{!12, !10, i64 12}
!47 = !{!37, !10, i64 72}
!48 = !{!12, !10, i64 0}
!49 = !{!37, !10, i64 76}


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