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

; 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 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_generator_packed_spgemm_csc_bsparse_aarch64 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64(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
  %38 = 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) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  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) #5
  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) #5
  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) #5
  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) #5
  call void @llvm.lifetime.start.p0(i64 2052, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 132, ptr %28) #5
  store i32 28, ptr %15, align 4, !tbaa !9
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %39, i32 0, i32 8
  %41 = getelementptr inbounds [3 x i8], ptr %40, i64 0, i64 0
  %42 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %41)
  %43 = icmp eq i32 0, %42
  br i1 %43, label %44, label %66

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

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

54:                                               ; preds = %49
  store i32 2, ptr %19, align 4, !tbaa !9
  br label %63

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

60:                                               ; preds = %55
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %62

61:                                               ; preds = %55
  store i32 8, ptr %19, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %61, %60
  br label %63

63:                                               ; preds = %62, %54
  br label %65

64:                                               ; preds = %44
  store i32 2, ptr %19, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %64, %63
  br label %88

66:                                               ; preds = %6
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %68, align 4, !tbaa !11
  %70 = icmp uge i32 %69, 2201
  br i1 %70, label %71, label %86

71:                                               ; preds = %66
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %73, align 4, !tbaa !11
  %75 = icmp ult i32 %74, 2301
  br i1 %75, label %76, label %77

76:                                               ; preds = %71
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %85

77:                                               ; preds = %71
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %79, align 4, !tbaa !11
  %81 = icmp ult i32 %80, 2401
  br i1 %81, label %82, label %83

82:                                               ; preds = %77
  store i32 8, ptr %19, align 4, !tbaa !9
  br label %84

83:                                               ; preds = %77
  store i32 16, ptr %19, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %83, %82
  br label %85

85:                                               ; preds = %84, %76
  br label %87

86:                                               ; preds = %66
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %86, %85
  br label %88

88:                                               ; preds = %87, %65
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = load i32, ptr %19, align 4, !tbaa !9
  %91 = urem i32 %89, %90
  store i32 %91, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = load i32, ptr %19, align 4, !tbaa !9
  %94 = udiv i32 %92, %93
  store i32 %94, ptr %18, align 4, !tbaa !9
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = icmp ugt i32 %95, 0
  br i1 %96, label %97, label %100

97:                                               ; preds = %88
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = add i32 %98, 1
  br label %102

100:                                              ; preds = %88
  %101 = load i32, ptr %18, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %100, %97
  %103 = phi i32 [ %99, %97 ], [ %101, %100 ]
  store i32 %103, ptr %17, align 4, !tbaa !9
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %117

106:                                              ; preds = %102
  %107 = load ptr, ptr @stderr, align 8, !tbaa !5
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str) #5
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %111 = icmp ult i32 1, %110
  br i1 %111, label %112, label %114

112:                                              ; preds = %106
  %113 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %115

114:                                              ; preds = %106
  br label %115

115:                                              ; preds = %114, %112
  %116 = phi i32 [ %113, %112 ], [ 1, %114 ]
  call void @libxsmm_handle_error(ptr noundef %109, i32 noundef 90000, ptr noundef @__func__.libxsmm_generator_packed_spgemm_csc_bsparse_aarch64, ptr noundef @.str.1, i32 noundef 78, i32 noundef %116)
  store i32 1, ptr %29, align 4
  br label %464

117:                                              ; preds = %102
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %118, i32 0, i32 1
  %120 = load i32, ptr %119, align 1, !tbaa !13
  store i32 %120, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %145, %117
  %122 = load i32, ptr %13, align 4, !tbaa !9
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %123, i32 0, i32 1
  %125 = load i32, ptr %124, align 1, !tbaa !13
  %126 = icmp ult i32 %122, %125
  br i1 %126, label %127, label %148

127:                                              ; preds = %121
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds i32, ptr %128, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 1, !tbaa !13
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds i32, ptr %133, i64 %137
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = icmp eq i32 %132, %139
  br i1 %140, label %141, label %144

141:                                              ; preds = %127
  %142 = load i32, ptr %13, align 4, !tbaa !9
  %143 = add i32 %142, 1
  store i32 %143, ptr %14, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %141, %127
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %13, align 4, !tbaa !9
  %147 = add i32 %146, 1
  store i32 %147, ptr %13, align 4, !tbaa !9
  br label %121, !llvm.loop !17

148:                                              ; preds = %121
  %149 = load i32, ptr %17, align 4, !tbaa !9
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %152 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %153 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 1
  %154 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %155 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %149, i32 noundef %150, ptr noundef %151, ptr noundef %152, ptr noundef %153, ptr noundef %154)
  %156 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = icmp eq i32 %157, 2
  br i1 %158, label %159, label %160

159:                                              ; preds = %148
  store i32 20, ptr %15, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %159, %148
  %161 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %162 = load i32, ptr %161, align 4, !tbaa !9
  %163 = icmp eq i32 %162, 4
  br i1 %163, label %164, label %165

164:                                              ; preds = %160
  store i32 24, ptr %15, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %164, %160
  %166 = load i32, ptr %14, align 4, !tbaa !9
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 0
  %169 = load i32, ptr %168, align 4, !tbaa !9
  %170 = udiv i32 %167, %169
  %171 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 0
  %172 = getelementptr inbounds [2 x i32], ptr %171, i64 0, i64 0
  %173 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 0
  %174 = getelementptr inbounds [2 x i32], ptr %173, i64 0, i64 0
  %175 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 0
  %176 = getelementptr inbounds [2 x i32], ptr %175, i64 0, i64 1
  %177 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 0
  %178 = getelementptr inbounds [2 x i32], ptr %177, i64 0, i64 1
  %179 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %166, i32 noundef %170, ptr noundef %172, ptr noundef %174, ptr noundef %176, ptr noundef %178)
  %180 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %181 = load i32, ptr %180, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %198

183:                                              ; preds = %165
  %184 = load i32, ptr %14, align 4, !tbaa !9
  %185 = load i32, ptr %15, align 4, !tbaa !9
  %186 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = udiv i32 %185, %187
  %189 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 1
  %190 = getelementptr inbounds [2 x i32], ptr %189, i64 0, i64 0
  %191 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 1
  %192 = getelementptr inbounds [2 x i32], ptr %191, i64 0, i64 0
  %193 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 1
  %194 = getelementptr inbounds [2 x i32], ptr %193, i64 0, i64 1
  %195 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 1
  %196 = getelementptr inbounds [2 x i32], ptr %195, i64 0, i64 1
  %197 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %184, i32 noundef %188, ptr noundef %190, ptr noundef %192, ptr noundef %194, ptr noundef %196)
  br label %198

198:                                              ; preds = %183, %165
  call void @libxsmm_reset_aarch64_gp_reg_mapping(ptr noundef %28)
  %199 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 0
  store i32 32, ptr %199, align 4, !tbaa !19
  %200 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 1
  store i32 32, ptr %200, align 4, !tbaa !21
  %201 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 3
  store i32 33, ptr %201, align 4, !tbaa !22
  %202 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 5
  store i32 34, ptr %202, align 4, !tbaa !23
  %203 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 6
  store i32 35, ptr %203, align 4, !tbaa !24
  %204 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 8
  store i32 36, ptr %204, align 4, !tbaa !25
  %205 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 10
  store i32 38, ptr %205, align 4, !tbaa !26
  %206 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 11
  store i32 39, ptr %206, align 4, !tbaa !27
  %207 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 12
  store i32 40, ptr %207, align 4, !tbaa !28
  %208 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 22
  store i32 41, ptr %208, align 4, !tbaa !29
  %209 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  store i32 42, ptr %209, align 4, !tbaa !30
  %210 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 24
  store i32 43, ptr %210, align 4, !tbaa !31
  %211 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 25
  store i32 44, ptr %211, align 4, !tbaa !32
  %212 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 26
  store i32 127, ptr %212, align 4, !tbaa !33
  %213 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 27
  store i32 127, ptr %213, align 4, !tbaa !34
  call void @libxsmm_reset_loop_label_tracker(ptr noundef %27)
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %214, i32 0, i32 6
  %216 = load i32, ptr %215, align 4, !tbaa !11
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config_aarch64(ptr noundef %26, i32 noundef %216, ptr noundef %217)
  %218 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_open_stream(ptr noundef %218, i16 noundef zeroext 15)
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %220, align 1, !tbaa !35
  %222 = and i32 16384, %221
  %223 = icmp eq i32 %222, 16384
  br i1 %223, label %224, label %271

224:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 32, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 80, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 128, ptr %32, align 4, !tbaa !9
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 0
  %227 = load i32, ptr %226, align 4, !tbaa !19
  %228 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 0
  %229 = load i32, ptr %228, align 4, !tbaa !19
  %230 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %231 = load i32, ptr %230, align 4, !tbaa !30
  call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef %225, i32 noundef 167772167, i32 noundef %227, i32 noundef %229, i32 noundef %231, i32 noundef 0, i32 noundef 0)
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %234 = load i32, ptr %233, align 4, !tbaa !30
  %235 = load i32, ptr %30, align 4, !tbaa !9
  %236 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 1
  %237 = load i32, ptr %236, align 4, !tbaa !21
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %232, i32 noundef -1186988026, i32 noundef %234, i32 noundef 127, i32 noundef %235, i32 noundef %237)
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %240 = load i32, ptr %239, align 4, !tbaa !30
  %241 = load i32, ptr %31, align 4, !tbaa !9
  %242 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 3
  %243 = load i32, ptr %242, align 4, !tbaa !22
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %238, i32 noundef -1186988026, i32 noundef %240, i32 noundef 127, i32 noundef %241, i32 noundef %243)
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %246 = load i32, ptr %245, align 4, !tbaa !30
  %247 = load i32, ptr %32, align 4, !tbaa !9
  %248 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 5
  %249 = load i32, ptr %248, align 4, !tbaa !23
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %244, i32 noundef -1186988026, i32 noundef %246, i32 noundef 127, i32 noundef %247, i32 noundef %249)
  %250 = load ptr, ptr %8, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %250, i32 0, i32 7
  %252 = load i8, ptr %251, align 1, !tbaa !36
  %253 = zext i8 %252 to i32
  %254 = icmp ne i32 %253, 0
  br i1 %254, label %255, label %270

255:                                              ; preds = %224
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %258 = load i32, ptr %257, align 4, !tbaa !30
  %259 = load i32, ptr %30, align 4, !tbaa !9
  %260 = add nsw i32 %259, 40
  %261 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 6
  %262 = load i32, ptr %261, align 4, !tbaa !24
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %256, i32 noundef -1186988026, i32 noundef %258, i32 noundef 127, i32 noundef %260, i32 noundef %262)
  %263 = load ptr, ptr %7, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 23
  %265 = load i32, ptr %264, align 4, !tbaa !30
  %266 = load i32, ptr %31, align 4, !tbaa !9
  %267 = add nsw i32 %266, 40
  %268 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 8
  %269 = load i32, ptr %268, align 4, !tbaa !25
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %263, i32 noundef -1186988026, i32 noundef %265, i32 noundef 127, i32 noundef %267, i32 noundef %269)
  br label %270

270:                                              ; preds = %255, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %272

271:                                              ; preds = %198
  br label %272

272:                                              ; preds = %271, %270
  %273 = load ptr, ptr %7, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %274, align 4, !tbaa !11
  %276 = icmp uge i32 %275, 2201
  br i1 %276, label %277, label %286

277:                                              ; preds = %272
  %278 = load ptr, ptr %7, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %279, align 4, !tbaa !11
  %281 = icmp ule i32 %280, 2999
  br i1 %281, label %282, label %286

282:                                              ; preds = %277
  %283 = load ptr, ptr %7, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 22
  %285 = load i32, ptr %284, align 4, !tbaa !29
  call void @libxsmm_generator_set_p_register_aarch64_sve(ptr noundef %283, i32 noundef 0, i32 noundef -1, i32 noundef %285)
  br label %286

286:                                              ; preds = %282, %277, %272
  %287 = load ptr, ptr %7, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 10
  %289 = load i32, ptr %288, align 4, !tbaa !26
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %290, i32 0, i32 0
  %292 = load i32, ptr %291, align 1, !tbaa !37
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %287, ptr noundef %27, i32 noundef %289, i32 noundef %292)
  br label %293

293:                                              ; preds = %414, %286
  %294 = load i32, ptr %20, align 4, !tbaa !9
  %295 = load i32, ptr %17, align 4, !tbaa !9
  %296 = icmp ne i32 %294, %295
  br i1 %296, label %297, label %423

297:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  %298 = load i32, ptr %21, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 %299
  %301 = load i32, ptr %300, align 4, !tbaa !9
  store i32 %301, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 0, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 0, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !9
  %302 = load i32, ptr %16, align 4, !tbaa !9
  %303 = icmp ne i32 %302, 0
  br i1 %303, label %304, label %315

304:                                              ; preds = %297
  %305 = load i32, ptr %21, align 4, !tbaa !9
  %306 = icmp eq i32 %305, 0
  br i1 %306, label %307, label %315

307:                                              ; preds = %304
  %308 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 1
  %309 = load i32, ptr %308, align 4, !tbaa !9
  %310 = icmp ugt i32 %309, 0
  br i1 %310, label %311, label %312

311:                                              ; preds = %307
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %314

312:                                              ; preds = %307
  %313 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %313, ptr %34, align 4, !tbaa !9
  br label %314

314:                                              ; preds = %312, %311
  br label %321

315:                                              ; preds = %304, %297
  %316 = load i32, ptr %16, align 4, !tbaa !9
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %318, label %320

318:                                              ; preds = %315
  %319 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %319, ptr %34, align 4, !tbaa !9
  br label %320

320:                                              ; preds = %318, %315
  br label %321

321:                                              ; preds = %320, %314
  br label %322

322:                                              ; preds = %402, %321
  %323 = load i32, ptr %35, align 4, !tbaa !9
  %324 = load i32, ptr %14, align 4, !tbaa !9
  %325 = icmp ult i32 %323, %324
  br i1 %325, label %326, label %414

326:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  %327 = load i32, ptr %21, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = getelementptr inbounds [2 x [2 x i32]], ptr %24, i64 0, i64 %328
  %330 = load i32, ptr %36, align 4, !tbaa !9
  %331 = zext i32 %330 to i64
  %332 = getelementptr inbounds [2 x i32], ptr %329, i64 0, i64 %331
  %333 = load i32, ptr %332, align 4, !tbaa !9
  store i32 %333, ptr %38, align 4, !tbaa !9
  %334 = load i32, ptr %35, align 4, !tbaa !9
  store i32 %334, ptr %37, align 4, !tbaa !9
  br label %335

335:                                              ; preds = %398, %326
  %336 = load i32, ptr %37, align 4, !tbaa !9
  %337 = load i32, ptr %35, align 4, !tbaa !9
  %338 = load i32, ptr %21, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 %339
  %341 = load i32, ptr %36, align 4, !tbaa !9
  %342 = zext i32 %341 to i64
  %343 = getelementptr inbounds [2 x i32], ptr %340, i64 0, i64 %342
  %344 = load i32, ptr %343, align 4, !tbaa !9
  %345 = add i32 %337, %344
  %346 = icmp ult i32 %336, %345
  br i1 %346, label %347, label %402

347:                                              ; preds = %335
  %348 = load ptr, ptr %7, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %348, i32 0, i32 6
  %350 = load i32, ptr %349, align 4, !tbaa !11
  %351 = icmp uge i32 %350, 2201
  br i1 %351, label %352, label %377

352:                                              ; preds = %347
  %353 = load ptr, ptr %7, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %353, i32 0, i32 6
  %355 = load i32, ptr %354, align 4, !tbaa !11
  %356 = icmp ule i32 %355, 2999
  br i1 %356, label %357, label %377

357:                                              ; preds = %352
  %358 = load ptr, ptr %7, align 8, !tbaa !5
  %359 = load ptr, ptr %8, align 8, !tbaa !5
  %360 = load ptr, ptr %9, align 8, !tbaa !5
  %361 = load ptr, ptr %10, align 8, !tbaa !5
  %362 = load ptr, ptr %11, align 8, !tbaa !5
  %363 = load i32, ptr %37, align 4, !tbaa !9
  %364 = load i32, ptr %37, align 4, !tbaa !9
  %365 = load i32, ptr %38, align 4, !tbaa !9
  %366 = add i32 %364, %365
  %367 = load i32, ptr %20, align 4, !tbaa !9
  %368 = load i32, ptr %20, align 4, !tbaa !9
  %369 = load i32, ptr %21, align 4, !tbaa !9
  %370 = zext i32 %369 to i64
  %371 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 %370
  %372 = load i32, ptr %371, align 4, !tbaa !9
  %373 = add i32 %368, %372
  %374 = load i32, ptr %33, align 4, !tbaa !9
  %375 = load i32, ptr %34, align 4, !tbaa !9
  %376 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_sve(ptr noundef %358, ptr noundef %27, ptr noundef %28, ptr noundef %26, ptr noundef %359, ptr noundef %360, ptr noundef %361, ptr noundef %362, i32 noundef %363, i32 noundef %366, i32 noundef %367, i32 noundef %373, i32 noundef %374, i32 noundef %375, i32 noundef %376)
  br label %397

377:                                              ; preds = %352, %347
  %378 = load ptr, ptr %7, align 8, !tbaa !5
  %379 = load ptr, ptr %8, align 8, !tbaa !5
  %380 = load ptr, ptr %9, align 8, !tbaa !5
  %381 = load ptr, ptr %10, align 8, !tbaa !5
  %382 = load ptr, ptr %11, align 8, !tbaa !5
  %383 = load i32, ptr %37, align 4, !tbaa !9
  %384 = load i32, ptr %37, align 4, !tbaa !9
  %385 = load i32, ptr %38, align 4, !tbaa !9
  %386 = add i32 %384, %385
  %387 = load i32, ptr %20, align 4, !tbaa !9
  %388 = load i32, ptr %20, align 4, !tbaa !9
  %389 = load i32, ptr %21, align 4, !tbaa !9
  %390 = zext i32 %389 to i64
  %391 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 %390
  %392 = load i32, ptr %391, align 4, !tbaa !9
  %393 = add i32 %388, %392
  %394 = load i32, ptr %33, align 4, !tbaa !9
  %395 = load i32, ptr %34, align 4, !tbaa !9
  %396 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_asimd(ptr noundef %378, ptr noundef %27, ptr noundef %28, ptr noundef %26, ptr noundef %379, ptr noundef %380, ptr noundef %381, ptr noundef %382, i32 noundef %383, i32 noundef %386, i32 noundef %387, i32 noundef %393, i32 noundef %394, i32 noundef %395, i32 noundef %396)
  br label %397

397:                                              ; preds = %377, %357
  br label %398

398:                                              ; preds = %397
  %399 = load i32, ptr %38, align 4, !tbaa !9
  %400 = load i32, ptr %37, align 4, !tbaa !9
  %401 = add i32 %400, %399
  store i32 %401, ptr %37, align 4, !tbaa !9
  br label %335, !llvm.loop !38

402:                                              ; preds = %335
  %403 = load i32, ptr %21, align 4, !tbaa !9
  %404 = zext i32 %403 to i64
  %405 = getelementptr inbounds [2 x [2 x i32]], ptr %25, i64 0, i64 %404
  %406 = load i32, ptr %36, align 4, !tbaa !9
  %407 = zext i32 %406 to i64
  %408 = getelementptr inbounds [2 x i32], ptr %405, i64 0, i64 %407
  %409 = load i32, ptr %408, align 4, !tbaa !9
  %410 = load i32, ptr %35, align 4, !tbaa !9
  %411 = add i32 %410, %409
  store i32 %411, ptr %35, align 4, !tbaa !9
  %412 = load i32, ptr %36, align 4, !tbaa !9
  %413 = add i32 %412, 1
  store i32 %413, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %322, !llvm.loop !39

414:                                              ; preds = %322
  %415 = load i32, ptr %21, align 4, !tbaa !9
  %416 = zext i32 %415 to i64
  %417 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 %416
  %418 = load i32, ptr %417, align 4, !tbaa !9
  %419 = load i32, ptr %20, align 4, !tbaa !9
  %420 = add i32 %419, %418
  store i32 %420, ptr %20, align 4, !tbaa !9
  %421 = load i32, ptr %21, align 4, !tbaa !9
  %422 = add i32 %421, 1
  store i32 %422, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %293, !llvm.loop !40

423:                                              ; preds = %293
  %424 = load ptr, ptr %7, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 5
  %426 = load i32, ptr %425, align 4, !tbaa !23
  %427 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 24
  %428 = load i32, ptr %427, align 4, !tbaa !31
  %429 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 5
  %430 = load i32, ptr %429, align 4, !tbaa !23
  %431 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 5
  %432 = load i32, ptr %431, align 4, !tbaa !41
  %433 = zext i32 %432 to i64
  %434 = load i32, ptr %12, align 4, !tbaa !9
  %435 = zext i32 %434 to i64
  %436 = mul nsw i64 %433, %435
  %437 = load ptr, ptr %8, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %437, i32 0, i32 5
  %439 = load i32, ptr %438, align 1, !tbaa !44
  %440 = zext i32 %439 to i64
  %441 = mul nsw i64 %436, %440
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %424, i32 noundef 4096, i32 noundef %426, i32 noundef %428, i32 noundef %430, i64 noundef %441)
  %442 = load ptr, ptr %7, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 1
  %444 = load i32, ptr %443, align 4, !tbaa !21
  %445 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 22
  %446 = load i32, ptr %445, align 4, !tbaa !29
  %447 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 1
  %448 = load i32, ptr %447, align 4, !tbaa !21
  %449 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %26, i32 0, i32 3
  %450 = load i32, ptr %449, align 4, !tbaa !45
  %451 = zext i32 %450 to i64
  %452 = load i32, ptr %12, align 4, !tbaa !9
  %453 = zext i32 %452 to i64
  %454 = mul nsw i64 %451, %453
  %455 = load ptr, ptr %8, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %455, i32 0, i32 3
  %457 = load i32, ptr %456, align 1, !tbaa !46
  %458 = zext i32 %457 to i64
  %459 = mul nsw i64 %454, %458
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %442, i32 noundef 4096, i32 noundef %444, i32 noundef %446, i32 noundef %448, i64 noundef %459)
  %460 = load ptr, ptr %7, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %28, i32 0, i32 10
  %462 = load i32, ptr %461, align 4, !tbaa !26
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %460, ptr noundef %27, i32 noundef %462, i32 noundef 1)
  %463 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_close_stream(ptr noundef %463, i16 noundef zeroext 15)
  store i32 0, ptr %29, align 4
  br label %464

464:                                              ; preds = %423, %115
  call void @llvm.lifetime.end.p0(i64 132, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 2052, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 688, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  %465 = load i32, ptr %29, align 4
  switch i32 %465, label %467 [
    i32 0, label %466
    i32 1, label %466
  ]

466:                                              ; preds = %464, %464
  ret void

467:                                              ; preds = %464
  unreachable
}

; 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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 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_aarch64_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_aarch64(ptr noundef, i32 noundef, ptr noundef) #3

declare void @libxsmm_aarch64_instruction_open_stream(ptr noundef, i16 noundef zeroext) #3

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

declare void @libxsmm_aarch64_instruction_alu_move(ptr 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_generator_set_p_register_aarch64_sve(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_sve(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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_asimd(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_aarch64_instruction_alu_compute_imm64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #3

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

declare void @libxsmm_aarch64_instruction_close_stream(ptr noundef, i16 noundef zeroext) #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 "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 #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, !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, !10, i64 24}
!36 = !{!14, !7, i64 28}
!37 = !{!14, !10, i64 0}
!38 = distinct !{!38, !18}
!39 = distinct !{!39, !18}
!40 = distinct !{!40, !18}
!41 = !{!42, !10, i64 20}
!42 = !{!"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, !43, 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}
!43 = !{!"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}
!44 = !{!14, !10, i64 20}
!45 = !{!42, !10, i64 12}
!46 = !{!14, !10, i64 12}


; 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 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_generator_packed_spgemm_csc_bsparse_aarch64 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64(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 = icmp ult i32 %18, 2301
  br i1 %16, label %20, label %23

20:                                               ; preds = %6
  br i1 %19, label %26, label %21

21:                                               ; preds = %20
  %22 = icmp ult i32 %18, 2401
  %. = select i1 %22, i32 4, i32 8
  br label %26

23:                                               ; preds = %6
  br i1 %19, label %26, label %24

24:                                               ; preds = %23
  %25 = icmp ult i32 %18, 2401
  %.139 = select i1 %25, i32 8, i32 16
  br label %26

26:                                               ; preds = %23, %24, %20, %21
  %.0125 = phi i32 [ %., %21 ], [ 2, %20 ], [ %.139, %24 ], [ 4, %23 ]
  %27 = add nsw i32 %.0125, -1
  %28 = and i32 %27, %5
  %29 = udiv i32 %5, %.0125
  %.not = icmp ne i32 %28, 0
  %30 = zext i1 %.not to i32
  %31 = add nuw i32 %29, %30
  %.not134 = icmp eq i32 %28, 0
  br i1 %.not134, label %39, label %32

32:                                               ; preds = %26
  %33 = load ptr, ptr @stderr, align 8, !tbaa !11
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str) #6
  %35 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %36 = icmp ugt i32 %35, 1
  %37 = load i32, ptr @libxsmm_verbosity, align 4
  %38 = select i1 %36, i32 %37, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_generator_packed_spgemm_csc_bsparse_aarch64, ptr noundef nonnull @.str.1, i32 noundef 78, i32 noundef %38) #5
  br label %178

39:                                               ; preds = %26
  %40 = getelementptr inbounds i8, ptr %1, i64 4
  %41 = load i32, ptr %40, align 1, !tbaa !13
  %.not162 = icmp eq i32 %41, 0
  br i1 %.not162, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %39
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds i32, ptr %3, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !12
  %xtraiter = and i64 %42, 3
  %45 = icmp ult i32 %41, 4
  br i1 %45, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

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

46:                                               ; preds = %46, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %46 ]
  %.0120144 = phi i32 [ %41, %.lr.ph.new ], [ %spec.select.3, %46 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %46 ]
  %47 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %48 = load i32, ptr %47, align 4, !tbaa !12
  %49 = icmp eq i32 %48, %44
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %50 = trunc nuw i64 %indvars.iv.next to i32
  %spec.select = select i1 %49, i32 %50, i32 %.0120144
  %51 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.next
  %52 = load i32, ptr %51, align 4, !tbaa !12
  %53 = icmp eq i32 %52, %44
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %54 = trunc nuw i64 %indvars.iv.next.1 to i32
  %spec.select.1 = select i1 %53, i32 %54, i32 %spec.select
  %55 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.next.1
  %56 = load i32, ptr %55, align 4, !tbaa !12
  %57 = icmp eq i32 %56, %44
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %58 = trunc nuw i64 %indvars.iv.next.2 to i32
  %spec.select.2 = select i1 %57, i32 %58, i32 %spec.select.1
  %59 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.next.2
  %60 = load i32, ptr %59, align 4, !tbaa !12
  %61 = icmp eq i32 %60, %44
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %62 = trunc nuw i64 %indvars.iv.next.3 to i32
  %spec.select.3 = select i1 %61, i32 %62, 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 %46, !llvm.loop !17

._crit_edge.loopexit.unr-lcssa:                   ; preds = %46, %.lr.ph
  %spec.select.lcssa.ph = phi i32 [ poison, %.lr.ph ], [ %spec.select.3, %46 ]
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %46 ]
  %.0120144.unr = phi i32 [ %41, %.lr.ph ], [ %spec.select.3, %46 ]
  %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 ]
  %.0120144.epil = phi i32 [ %spec.select.epil, %.epil.preheader ], [ %.0120144.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %63 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv.epil
  %64 = load i32, ptr %63, align 4, !tbaa !12
  %65 = icmp eq i32 %64, %44
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %66 = trunc nuw i64 %indvars.iv.next.epil to i32
  %spec.select.epil = select i1 %65, i32 %66, i32 %.0120144.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 !19

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %39
  %.0120.lcssa = phi i32 [ 0, %39 ], [ %spec.select.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %spec.select.epil, %.epil.preheader ]
  %67 = getelementptr inbounds i8, ptr %8, i64 4
  %68 = getelementptr inbounds i8, ptr %7, i64 4
  %69 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %31, i32 noundef 28, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %67, ptr noundef nonnull %68) #5
  %70 = load i32, ptr %7, align 8, !tbaa !12
  %71 = icmp eq i32 %70, 2
  %spec.select140 = select i1 %71, i32 20, i32 28
  %72 = icmp eq i32 %70, 4
  %.1122 = select i1 %72, i32 24, i32 %spec.select140
  %73 = udiv i32 %.1122, %70
  %74 = getelementptr inbounds i8, ptr %10, i64 4
  %75 = getelementptr inbounds i8, ptr %9, i64 4
  %76 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0120.lcssa, i32 noundef %73, ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef nonnull %74, ptr noundef nonnull %75) #5
  %77 = load i32, ptr %68, align 4, !tbaa !12
  %.not135 = icmp eq i32 %77, 0
  br i1 %.not135, label %85, label %78

78:                                               ; preds = %._crit_edge
  %79 = udiv i32 %.1122, %77
  %80 = getelementptr inbounds i8, ptr %10, i64 8
  %81 = getelementptr inbounds i8, ptr %9, i64 8
  %82 = getelementptr inbounds i8, ptr %10, i64 12
  %83 = getelementptr inbounds i8, ptr %9, i64 12
  %84 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0120.lcssa, i32 noundef %79, ptr noundef nonnull %80, ptr noundef nonnull %81, ptr noundef nonnull %82, ptr noundef nonnull %83) #5
  br label %85

85:                                               ; preds = %78, %._crit_edge
  call void @libxsmm_reset_aarch64_gp_reg_mapping(ptr noundef nonnull %13) #5
  store i32 32, ptr %13, align 4, !tbaa !21
  %86 = getelementptr inbounds i8, ptr %13, i64 4
  store i32 32, ptr %86, align 4, !tbaa !23
  %87 = getelementptr inbounds i8, ptr %13, i64 12
  store i32 33, ptr %87, align 4, !tbaa !24
  %88 = getelementptr inbounds i8, ptr %13, i64 20
  store i32 34, ptr %88, align 4, !tbaa !25
  %89 = getelementptr inbounds i8, ptr %13, i64 24
  store i32 35, ptr %89, align 4, !tbaa !26
  %90 = getelementptr inbounds i8, ptr %13, i64 32
  store i32 36, ptr %90, align 4, !tbaa !27
  %91 = getelementptr inbounds i8, ptr %13, i64 40
  store i32 38, ptr %91, align 4, !tbaa !28
  %92 = getelementptr inbounds i8, ptr %13, i64 44
  store i32 39, ptr %92, align 4, !tbaa !29
  %93 = getelementptr inbounds i8, ptr %13, i64 48
  store i32 40, ptr %93, align 4, !tbaa !30
  %94 = getelementptr inbounds i8, ptr %13, i64 88
  %95 = getelementptr inbounds i8, ptr %13, i64 92
  %96 = getelementptr inbounds i8, ptr %13, i64 96
  store <4 x i32> <i32 41, i32 42, i32 43, i32 44>, ptr %94, align 4, !tbaa !12
  %97 = getelementptr inbounds i8, ptr %13, i64 104
  store i32 127, ptr %97, align 4, !tbaa !31
  %98 = getelementptr inbounds i8, ptr %13, i64 108
  store i32 127, ptr %98, align 4, !tbaa !32
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %12) #5
  %99 = getelementptr inbounds i8, ptr %0, i64 28
  %100 = load i32, ptr %99, align 4, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config_aarch64(ptr noundef nonnull %11, i32 noundef %100, ptr noundef %1) #5
  call void @libxsmm_aarch64_instruction_open_stream(ptr noundef %0, i16 noundef zeroext 15) #5
  %101 = getelementptr inbounds i8, ptr %1, i64 24
  %102 = load i32, ptr %101, align 1, !tbaa !33
  %103 = and i32 %102, 16384
  %.not136 = icmp eq i32 %103, 0
  br i1 %.not136, label %120, label %104

104:                                              ; preds = %85
  %105 = load i32, ptr %13, align 4, !tbaa !21
  %106 = load i32, ptr %95, align 4, !tbaa !34
  call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef nonnull %0, i32 noundef 167772167, i32 noundef %105, i32 noundef %105, i32 noundef %106, i32 noundef 0, i32 noundef 0) #5
  %107 = load i32, ptr %95, align 4, !tbaa !34
  %108 = load i32, ptr %86, align 4, !tbaa !23
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %107, i32 noundef 127, i32 noundef 32, i32 noundef %108) #5
  %109 = load i32, ptr %95, align 4, !tbaa !34
  %110 = load i32, ptr %87, align 4, !tbaa !24
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %109, i32 noundef 127, i32 noundef 80, i32 noundef %110) #5
  %111 = load i32, ptr %95, align 4, !tbaa !34
  %112 = load i32, ptr %88, align 4, !tbaa !25
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %111, i32 noundef 127, i32 noundef 128, i32 noundef %112) #5
  %113 = getelementptr inbounds i8, ptr %1, i64 28
  %114 = load i8, ptr %113, align 1, !tbaa !35
  %.not137 = icmp eq i8 %114, 0
  br i1 %.not137, label %120, label %115

115:                                              ; preds = %104
  %116 = load i32, ptr %95, align 4, !tbaa !34
  %117 = load i32, ptr %89, align 4, !tbaa !26
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %116, i32 noundef 127, i32 noundef 72, i32 noundef %117) #5
  %118 = load i32, ptr %95, align 4, !tbaa !34
  %119 = load i32, ptr %90, align 4, !tbaa !27
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %118, i32 noundef 127, i32 noundef 120, i32 noundef %119) #5
  br label %120

120:                                              ; preds = %104, %115, %85
  %121 = load i32, ptr %99, align 4, !tbaa !5
  %122 = add i32 %121, -2201
  %or.cond = icmp ult i32 %122, 799
  br i1 %or.cond, label %123, label %125

123:                                              ; preds = %120
  %124 = load i32, ptr %94, align 4, !tbaa !36
  call void @libxsmm_generator_set_p_register_aarch64_sve(ptr noundef nonnull %0, i32 noundef 0, i32 noundef -1, i32 noundef %124) #5
  br label %125

125:                                              ; preds = %123, %120
  %126 = load i32, ptr %91, align 4, !tbaa !28
  %127 = load i32, ptr %1, align 1, !tbaa !37
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %126, i32 noundef %127) #5
  %.not138156 = icmp eq i32 %31, 0
  %.not163 = icmp eq i32 %.0120.lcssa, 0
  %or.cond166 = select i1 %.not138156, i1 true, i1 %.not163
  br i1 %or.cond166, label %._crit_edge161, label %.lr.ph154.us

.lr.ph154.us:                                     ; preds = %125, %._crit_edge155.us
  %.0123158.us = phi i32 [ %155, %._crit_edge155.us ], [ 0, %125 ]
  %.0124157.us = phi i32 [ %154, %._crit_edge155.us ], [ 0, %125 ]
  %128 = zext i32 %.0123158.us to i64
  %129 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !12
  %131 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 %128
  br label %132

132:                                              ; preds = %.lr.ph154.us, %._crit_edge149.us
  %.0117152.us = phi i32 [ 0, %.lr.ph154.us ], [ %140, %._crit_edge149.us ]
  %.0118151.us = phi i32 [ 0, %.lr.ph154.us ], [ %.lcssa.us, %._crit_edge149.us ]
  %133 = zext i32 %.0117152.us to i64
  %134 = getelementptr inbounds [2 x [2 x i32]], ptr %9, i64 0, i64 %128, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !12
  %136 = getelementptr inbounds [2 x [2 x i32]], ptr %10, i64 0, i64 %128, i64 %133
  %137 = load i32, ptr %136, align 4, !tbaa !12
  %138 = add i32 %137, %.0118151.us
  %139 = icmp ult i32 %.0118151.us, %138
  br i1 %139, label %.lr.ph148.us, label %._crit_edge149.us

._crit_edge149.us:                                ; preds = %149, %132
  %.lcssa.us = phi i32 [ %138, %132 ], [ %151, %149 ]
  %140 = add i32 %.0117152.us, 1
  %141 = icmp ult i32 %.lcssa.us, %.0120.lcssa
  br i1 %141, label %132, label %._crit_edge155.us, !llvm.loop !38

.lr.ph148.us:                                     ; preds = %132, %149
  %.0116146.us = phi i32 [ %144, %149 ], [ %.0118151.us, %132 ]
  %142 = load i32, ptr %99, align 4, !tbaa !5
  %143 = add i32 %142, -2201
  %or.cond141.us = icmp ult i32 %143, 799
  %144 = add i32 %.0116146.us, %135
  %145 = load i32, ptr %131, align 4, !tbaa !12
  %146 = add i32 %145, %.0124157.us
  br i1 %or.cond141.us, label %148, label %147

147:                                              ; preds = %.lr.ph148.us
  call void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_asimd(ptr noundef nonnull %0, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %11, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %.0116146.us, i32 noundef %144, i32 noundef %.0124157.us, i32 noundef %146, i32 noundef %130, i32 noundef 0, i32 noundef %5)
  br label %149

148:                                              ; preds = %.lr.ph148.us
  call void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_sve(ptr noundef nonnull %0, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %11, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %.0116146.us, i32 noundef %144, i32 noundef %.0124157.us, i32 noundef %146, i32 noundef %130, i32 noundef 0, i32 noundef %5)
  br label %149

149:                                              ; preds = %148, %147
  %150 = load i32, ptr %136, align 4, !tbaa !12
  %151 = add i32 %150, %.0118151.us
  %152 = icmp ult i32 %144, %151
  br i1 %152, label %.lr.ph148.us, label %._crit_edge149.us, !llvm.loop !39

._crit_edge155.us:                                ; preds = %._crit_edge149.us
  %153 = load i32, ptr %131, align 4, !tbaa !12
  %154 = add i32 %153, %.0124157.us
  %155 = add i32 %.0123158.us, 1
  %.not138.us = icmp eq i32 %154, %31
  br i1 %.not138.us, label %._crit_edge161, label %.lr.ph154.us, !llvm.loop !40

._crit_edge161:                                   ; preds = %._crit_edge155.us, %125
  %156 = load i32, ptr %88, align 4, !tbaa !25
  %157 = load i32, ptr %96, align 4, !tbaa !41
  %158 = getelementptr inbounds i8, ptr %11, i64 20
  %159 = load i32, ptr %158, align 4, !tbaa !42
  %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 !45
  %165 = zext i32 %164 to i64
  %166 = mul nuw nsw i64 %162, %165
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %156, i32 noundef %157, i32 noundef %156, i64 noundef %166) #5
  %167 = load i32, ptr %86, align 4, !tbaa !23
  %168 = load i32, ptr %94, align 4, !tbaa !36
  %169 = getelementptr inbounds i8, ptr %11, i64 12
  %170 = load i32, ptr %169, align 4, !tbaa !46
  %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 !47
  %175 = zext i32 %174 to i64
  %176 = mul nuw nsw i64 %172, %175
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %167, i32 noundef %168, i32 noundef %167, i64 noundef %176) #5
  %177 = load i32, ptr %91, align 4, !tbaa !28
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef nonnull %12, i32 noundef %177, i32 noundef 1) #5
  call void @libxsmm_aarch64_instruction_close_stream(ptr noundef %0, i16 noundef zeroext 15) #5
  br label %178

178:                                              ; preds = %._crit_edge161, %32
  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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 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_aarch64_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_aarch64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @libxsmm_aarch64_instruction_open_stream(ptr noundef, i16 noundef zeroext) local_unnamed_addr #3

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

declare void @libxsmm_aarch64_instruction_alu_move(ptr 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_generator_set_p_register_aarch64_sve(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_sve(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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_spgemm_csc_bsparse_aarch64_kloop_asimd(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_aarch64_instruction_alu_compute_imm64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3

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

declare void @libxsmm_aarch64_instruction_close_stream(ptr noundef, i16 noundef zeroext) 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 = { nofree nounwind "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 #5 = { nounwind }
attributes #6 = { cold 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 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!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, !8, i64 28, !8, i64 29, !8, i64 32, !15, i64 33, !15, i64 41, !8, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !16, i64 62, !16, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, 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, !8, i64 94}
!15 = !{!"long long", !8, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.unroll.disable"}
!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 = !{!14, !10, i64 24}
!34 = !{!22, !10, i64 92}
!35 = !{!14, !8, i64 28}
!36 = !{!22, !10, i64 88}
!37 = !{!14, !10, i64 0}
!38 = distinct !{!38, !18}
!39 = distinct !{!39, !18}
!40 = distinct !{!40, !18}
!41 = !{!22, !10, i64 96}
!42 = !{!43, !10, i64 20}
!43 = !{!"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, !44, 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}
!44 = !{!"libxsmm_tile_config", !8, i64 0, !16, i64 2, !8, i64 4, !16, i64 6, !8, i64 8, !16, i64 10, !8, i64 12, !16, i64 14, !8, i64 16, !16, i64 18, !8, i64 20, !16, i64 22, !8, i64 24, !16, i64 26, !8, i64 28, !16, i64 30, !8, i64 32}
!45 = !{!14, !10, i64 20}
!46 = !{!43, !10, i64 12}
!47 = !{!14, !10, i64 12}


; 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