; LLVM IR from libxsmm/libxsmm :: src (generator_packed_spgemm_csr_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_csr_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_csr_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_csr_bsparse_aarch64, ptr noundef @.str.1, i32 noundef 77, i32 noundef %116)
  store i32 1, ptr %29, align 4
  br label %464

117:                                              ; preds = %102
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %143, %117
  %119 = load i32, ptr %13, align 4, !tbaa !9
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %121, i32 0, i32 2
  %123 = load i32, ptr %122, align 1, !tbaa !13
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds i32, ptr %120, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !9
  %127 = icmp ult i32 %119, %126
  br i1 %127, label %128, label %146

128:                                              ; preds = %118
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = load i32, ptr %13, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds i32, ptr %130, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = icmp ult i32 %129, %134
  br i1 %135, label %136, label %142

136:                                              ; preds = %128
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = load i32, ptr %13, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds i32, ptr %137, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !9
  store i32 %141, ptr %14, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %136, %128
  br label %143

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

146:                                              ; preds = %118
  %147 = load i32, ptr %14, align 4, !tbaa !9
  %148 = add i32 %147, 1
  store i32 %148, ptr %14, align 4, !tbaa !9
  %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 = %146
  store i32 20, ptr %15, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %159, %146
  %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_csr_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_csr_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_csr_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_csr_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 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, !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_csr_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_csr_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) #6
  store i64 0, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  store i64 0, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  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) #6
  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) #6
  call void @llvm.lifetime.start.p0(i64 2052, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 132, ptr nonnull %13) #6
  %14 = getelementptr inbounds i8, ptr %1, i64 29
  %15 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %14) #6
  %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
  %.140 = select i1 %25, i32 8, i32 16
  br label %26

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

.preheader:                                       ; preds = %26
  %32 = getelementptr inbounds i8, ptr %1, i64 8
  %33 = load i32, ptr %32, align 1, !tbaa !11
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds i32, ptr %2, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %.not163 = icmp eq i32 %36, 0
  br i1 %.not163, label %._crit_edge, label %.lr.ph.preheader

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

.lr.ph.preheader170:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %.0121145.ph = phi i32 [ 0, %.lr.ph.preheader ], [ %42, %middle.block ]
  br label %.lr.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 ], [ %39, %vector.body ]
  %vec.phi168 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %40, %vector.body ]
  %37 = getelementptr inbounds i32, ptr %3, i64 %index
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  %wide.load = load <4 x i32>, ptr %37, align 4, !tbaa !15
  %wide.load169 = load <4 x i32>, ptr %38, align 4, !tbaa !15
  %39 = tail call <4 x i32> @llvm.umax.v4i32(<4 x i32> %vec.phi, <4 x i32> %wide.load)
  %40 = tail call <4 x i32> @llvm.umax.v4i32(<4 x i32> %vec.phi168, <4 x i32> %wide.load169)
  %index.next = add nuw i64 %index, 8
  %41 = icmp eq i64 %index.next, %n.vec
  br i1 %41, 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> %39, <4 x i32> %40)
  %42 = 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.preheader170

43:                                               ; preds = %26
  %44 = load ptr, ptr @stderr, align 8, !tbaa !20
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str) #7
  %46 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !15
  %47 = icmp ugt i32 %46, 1
  %48 = load i32, ptr @libxsmm_verbosity, align 4
  %49 = select i1 %47, i32 %48, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_generator_packed_spgemm_csr_bsparse_aarch64, ptr noundef nonnull @.str.1, i32 noundef 77, i32 noundef %49) #6
  br label %164

.lr.ph:                                           ; preds = %.lr.ph.preheader170, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader170 ]
  %.0121145 = phi i32 [ %spec.select, %.lr.ph ], [ %.0121145.ph, %.lr.ph.preheader170 ]
  %50 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %51 = load i32, ptr %50, align 4, !tbaa !15
  %spec.select = tail call i32 @llvm.umax.i32(i32 %.0121145, i32 %51)
  %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 !21

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

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %.0121.lcssa = phi i32 [ 1, %.preheader ], [ %52, %._crit_edge.loopexit ]
  %53 = getelementptr inbounds i8, ptr %8, i64 4
  %54 = getelementptr inbounds i8, ptr %7, i64 4
  %55 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %31, i32 noundef 28, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %53, ptr noundef nonnull %54) #6
  %56 = load i32, ptr %7, align 8, !tbaa !15
  %57 = icmp eq i32 %56, 2
  %spec.select141 = select i1 %57, i32 20, i32 28
  %58 = icmp eq i32 %56, 4
  %.1123 = select i1 %58, i32 24, i32 %spec.select141
  %59 = udiv i32 %.1123, %56
  %60 = getelementptr inbounds i8, ptr %10, i64 4
  %61 = getelementptr inbounds i8, ptr %9, i64 4
  %62 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0121.lcssa, i32 noundef %59, ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef nonnull %60, ptr noundef nonnull %61) #6
  %63 = load i32, ptr %54, align 4, !tbaa !15
  %.not136 = icmp eq i32 %63, 0
  br i1 %.not136, label %71, label %64

64:                                               ; preds = %._crit_edge
  %65 = udiv i32 %.1123, %63
  %66 = getelementptr inbounds i8, ptr %10, i64 8
  %67 = getelementptr inbounds i8, ptr %9, i64 8
  %68 = getelementptr inbounds i8, ptr %10, i64 12
  %69 = getelementptr inbounds i8, ptr %9, i64 12
  %70 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %.0121.lcssa, i32 noundef %65, ptr noundef nonnull %66, ptr noundef nonnull %67, ptr noundef nonnull %68, ptr noundef nonnull %69) #6
  br label %71

71:                                               ; preds = %64, %._crit_edge
  call void @libxsmm_reset_aarch64_gp_reg_mapping(ptr noundef nonnull %13) #6
  store i32 32, ptr %13, align 4, !tbaa !22
  %72 = getelementptr inbounds i8, ptr %13, i64 4
  store i32 32, ptr %72, align 4, !tbaa !24
  %73 = getelementptr inbounds i8, ptr %13, i64 12
  store i32 33, ptr %73, align 4, !tbaa !25
  %74 = getelementptr inbounds i8, ptr %13, i64 20
  store i32 34, ptr %74, align 4, !tbaa !26
  %75 = getelementptr inbounds i8, ptr %13, i64 24
  store i32 35, ptr %75, align 4, !tbaa !27
  %76 = getelementptr inbounds i8, ptr %13, i64 32
  store i32 36, ptr %76, align 4, !tbaa !28
  %77 = getelementptr inbounds i8, ptr %13, i64 40
  store i32 38, ptr %77, align 4, !tbaa !29
  %78 = getelementptr inbounds i8, ptr %13, i64 44
  store i32 39, ptr %78, align 4, !tbaa !30
  %79 = getelementptr inbounds i8, ptr %13, i64 48
  store i32 40, ptr %79, align 4, !tbaa !31
  %80 = getelementptr inbounds i8, ptr %13, i64 88
  %81 = getelementptr inbounds i8, ptr %13, i64 92
  %82 = getelementptr inbounds i8, ptr %13, i64 96
  store <4 x i32> <i32 41, i32 42, i32 43, i32 44>, ptr %80, align 4, !tbaa !15
  %83 = getelementptr inbounds i8, ptr %13, i64 104
  store i32 127, ptr %83, align 4, !tbaa !32
  %84 = getelementptr inbounds i8, ptr %13, i64 108
  store i32 127, ptr %84, align 4, !tbaa !33
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %12) #6
  %85 = getelementptr inbounds i8, ptr %0, i64 28
  %86 = load i32, ptr %85, align 4, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config_aarch64(ptr noundef nonnull %11, i32 noundef %86, ptr noundef nonnull %1) #6
  call void @libxsmm_aarch64_instruction_open_stream(ptr noundef %0, i16 noundef zeroext 15) #6
  %87 = getelementptr inbounds i8, ptr %1, i64 24
  %88 = load i32, ptr %87, align 1, !tbaa !34
  %89 = and i32 %88, 16384
  %.not137 = icmp eq i32 %89, 0
  br i1 %.not137, label %106, label %90

90:                                               ; preds = %71
  %91 = load i32, ptr %13, align 4, !tbaa !22
  %92 = load i32, ptr %81, align 4, !tbaa !35
  call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef nonnull %0, i32 noundef 167772167, i32 noundef %91, i32 noundef %91, i32 noundef %92, i32 noundef 0, i32 noundef 0) #6
  %93 = load i32, ptr %81, align 4, !tbaa !35
  %94 = load i32, ptr %72, align 4, !tbaa !24
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %93, i32 noundef 127, i32 noundef 32, i32 noundef %94) #6
  %95 = load i32, ptr %81, align 4, !tbaa !35
  %96 = load i32, ptr %73, align 4, !tbaa !25
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %95, i32 noundef 127, i32 noundef 80, i32 noundef %96) #6
  %97 = load i32, ptr %81, align 4, !tbaa !35
  %98 = load i32, ptr %74, align 4, !tbaa !26
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %97, i32 noundef 127, i32 noundef 128, i32 noundef %98) #6
  %99 = getelementptr inbounds i8, ptr %1, i64 28
  %100 = load i8, ptr %99, align 1, !tbaa !36
  %.not138 = icmp eq i8 %100, 0
  br i1 %.not138, label %106, label %101

101:                                              ; preds = %90
  %102 = load i32, ptr %81, align 4, !tbaa !35
  %103 = load i32, ptr %75, align 4, !tbaa !27
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %102, i32 noundef 127, i32 noundef 72, i32 noundef %103) #6
  %104 = load i32, ptr %81, align 4, !tbaa !35
  %105 = load i32, ptr %76, align 4, !tbaa !28
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %104, i32 noundef 127, i32 noundef 120, i32 noundef %105) #6
  br label %106

106:                                              ; preds = %90, %101, %71
  %107 = load i32, ptr %85, align 4, !tbaa !5
  %108 = add i32 %107, -2201
  %or.cond = icmp ult i32 %108, 799
  br i1 %or.cond, label %109, label %111

109:                                              ; preds = %106
  %110 = load i32, ptr %80, align 4, !tbaa !37
  call void @libxsmm_generator_set_p_register_aarch64_sve(ptr noundef nonnull %0, i32 noundef 0, i32 noundef -1, i32 noundef %110) #6
  br label %111

111:                                              ; preds = %109, %106
  %112 = load i32, ptr %77, align 4, !tbaa !29
  %113 = load i32, ptr %1, align 1, !tbaa !38
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %112, i32 noundef %113) #6
  %.not139157 = icmp eq i32 %31, 0
  %.not164 = icmp eq i32 %.0121.lcssa, 0
  %or.cond167 = select i1 %.not139157, i1 true, i1 %.not164
  br i1 %or.cond167, label %._crit_edge162, label %.lr.ph155.us

.lr.ph155.us:                                     ; preds = %111, %._crit_edge156.us
  %.0124159.us = phi i32 [ %141, %._crit_edge156.us ], [ 0, %111 ]
  %.0125158.us = phi i32 [ %140, %._crit_edge156.us ], [ 0, %111 ]
  %114 = zext i32 %.0124159.us to i64
  %115 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !15
  %117 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 %114
  br label %118

118:                                              ; preds = %.lr.ph155.us, %._crit_edge150.us
  %.0118153.us = phi i32 [ 0, %.lr.ph155.us ], [ %126, %._crit_edge150.us ]
  %.0119152.us = phi i32 [ 0, %.lr.ph155.us ], [ %.lcssa.us, %._crit_edge150.us ]
  %119 = zext i32 %.0118153.us to i64
  %120 = getelementptr inbounds [2 x [2 x i32]], ptr %9, i64 0, i64 %114, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !15
  %122 = getelementptr inbounds [2 x [2 x i32]], ptr %10, i64 0, i64 %114, i64 %119
  %123 = load i32, ptr %122, align 4, !tbaa !15
  %124 = add i32 %123, %.0119152.us
  %125 = icmp ult i32 %.0119152.us, %124
  br i1 %125, label %.lr.ph149.us, label %._crit_edge150.us

._crit_edge150.us:                                ; preds = %135, %118
  %.lcssa.us = phi i32 [ %124, %118 ], [ %137, %135 ]
  %126 = add i32 %.0118153.us, 1
  %127 = icmp ult i32 %.lcssa.us, %.0121.lcssa
  br i1 %127, label %118, label %._crit_edge156.us, !llvm.loop !39

.lr.ph149.us:                                     ; preds = %118, %135
  %.0117147.us = phi i32 [ %130, %135 ], [ %.0119152.us, %118 ]
  %128 = load i32, ptr %85, align 4, !tbaa !5
  %129 = add i32 %128, -2201
  %or.cond142.us = icmp ult i32 %129, 799
  %130 = add i32 %.0117147.us, %121
  %131 = load i32, ptr %117, align 4, !tbaa !15
  %132 = add i32 %131, %.0125158.us
  br i1 %or.cond142.us, label %134, label %133

133:                                              ; preds = %.lr.ph149.us
  call void @libxsmm_generator_packed_spgemm_csr_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 %.0117147.us, i32 noundef %130, i32 noundef %.0125158.us, i32 noundef %132, i32 noundef %116, i32 noundef 0, i32 noundef %5)
  br label %135

134:                                              ; preds = %.lr.ph149.us
  call void @libxsmm_generator_packed_spgemm_csr_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 %.0117147.us, i32 noundef %130, i32 noundef %.0125158.us, i32 noundef %132, i32 noundef %116, i32 noundef 0, i32 noundef %5)
  br label %135

135:                                              ; preds = %134, %133
  %136 = load i32, ptr %122, align 4, !tbaa !15
  %137 = add i32 %136, %.0119152.us
  %138 = icmp ult i32 %130, %137
  br i1 %138, label %.lr.ph149.us, label %._crit_edge150.us, !llvm.loop !40

._crit_edge156.us:                                ; preds = %._crit_edge150.us
  %139 = load i32, ptr %117, align 4, !tbaa !15
  %140 = add i32 %139, %.0125158.us
  %141 = add i32 %.0124159.us, 1
  %.not139.us = icmp eq i32 %140, %31
  br i1 %.not139.us, label %._crit_edge162, label %.lr.ph155.us, !llvm.loop !41

._crit_edge162:                                   ; preds = %._crit_edge156.us, %111
  %142 = load i32, ptr %74, align 4, !tbaa !26
  %143 = load i32, ptr %82, align 4, !tbaa !42
  %144 = getelementptr inbounds i8, ptr %11, i64 20
  %145 = load i32, ptr %144, align 4, !tbaa !43
  %146 = zext i32 %145 to i64
  %147 = zext i32 %5 to i64
  %148 = mul nuw nsw i64 %146, %147
  %149 = getelementptr inbounds i8, ptr %1, i64 20
  %150 = load i32, ptr %149, align 1, !tbaa !46
  %151 = zext i32 %150 to i64
  %152 = mul nuw nsw i64 %148, %151
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %142, i32 noundef %143, i32 noundef %142, i64 noundef %152) #6
  %153 = load i32, ptr %72, align 4, !tbaa !24
  %154 = load i32, ptr %80, align 4, !tbaa !37
  %155 = getelementptr inbounds i8, ptr %11, i64 12
  %156 = load i32, ptr %155, align 4, !tbaa !47
  %157 = zext i32 %156 to i64
  %158 = mul nuw nsw i64 %157, %147
  %159 = getelementptr inbounds i8, ptr %1, i64 12
  %160 = load i32, ptr %159, align 1, !tbaa !48
  %161 = zext i32 %160 to i64
  %162 = mul nuw nsw i64 %158, %161
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %153, i32 noundef %154, i32 noundef %153, i64 noundef %162) #6
  %163 = load i32, ptr %77, align 4, !tbaa !29
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef nonnull %12, i32 noundef %163, i32 noundef 1) #6
  call void @libxsmm_aarch64_instruction_close_stream(ptr noundef %0, i16 noundef zeroext 15) #6
  br label %164

164:                                              ; preds = %._crit_edge162, %43
  call void @llvm.lifetime.end.p0(i64 132, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  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_csr_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_csr_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

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

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

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!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 = !{!7, !7, i64 0}
!21 = distinct !{!21, !17, !19, !18}
!22 = !{!23, !10, i64 0}
!23 = !{!"libxsmm_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128}
!24 = !{!23, !10, i64 4}
!25 = !{!23, !10, i64 12}
!26 = !{!23, !10, i64 20}
!27 = !{!23, !10, i64 24}
!28 = !{!23, !10, i64 32}
!29 = !{!23, !10, i64 40}
!30 = !{!23, !10, i64 44}
!31 = !{!23, !10, i64 48}
!32 = !{!23, !10, i64 104}
!33 = !{!23, !10, i64 108}
!34 = !{!12, !10, i64 24}
!35 = !{!23, !10, i64 92}
!36 = !{!12, !8, i64 28}
!37 = !{!23, !10, i64 88}
!38 = !{!12, !10, i64 0}
!39 = distinct !{!39, !17}
!40 = distinct !{!40, !17}
!41 = distinct !{!41, !17}
!42 = !{!23, !10, i64 96}
!43 = !{!44, !10, i64 20}
!44 = !{!"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, !45, 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}
!45 = !{!"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}
!46 = !{!12, !10, i64 20}
!47 = !{!44, !10, i64 12}
!48 = !{!12, !10, i64 12}


; 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