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

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

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

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

declare void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext) #1

declare void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csr_asparse_aarch64_m_loop_sve(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 {
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store ptr %3, ptr %17, align 8, !tbaa !5
  store ptr %4, ptr %18, align 8, !tbaa !5
  store ptr %5, ptr %19, align 8, !tbaa !5
  store ptr %6, ptr %20, align 8, !tbaa !5
  store ptr %7, ptr %21, align 8, !tbaa !5
  store i32 %8, ptr %22, align 4, !tbaa !9
  store i32 %9, ptr %23, align 4, !tbaa !9
  store i32 %10, ptr %24, align 4, !tbaa !9
  store i32 %11, ptr %25, align 4, !tbaa !9
  store i32 %12, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #3
  %32 = load ptr, ptr %21, align 8, !tbaa !5
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %315, %13
  %34 = load i32, ptr %27, align 4, !tbaa !9
  %35 = load i32, ptr %22, align 4, !tbaa !9
  %36 = icmp ult i32 %34, %35
  br i1 %36, label %37, label %318

37:                                               ; preds = %33
  store i32 0, ptr %31, align 4, !tbaa !9
  %38 = load i32, ptr %23, align 4, !tbaa !9
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %49

40:                                               ; preds = %37
  %41 = load ptr, ptr %14, align 8, !tbaa !5
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = load ptr, ptr %18, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %43, i32 0, i32 10
  %45 = load i32, ptr %44, align 4, !tbaa !11
  %46 = load ptr, ptr %15, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %46, i32 0, i32 0
  %48 = load i32, ptr %47, align 1, !tbaa !13
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %41, ptr noundef %42, i32 noundef %45, i32 noundef %48)
  br label %49

49:                                               ; preds = %40, %37
  %50 = load ptr, ptr %19, align 8, !tbaa !5
  %51 = load i32, ptr %27, align 4, !tbaa !9
  %52 = add i32 %51, 1
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds i32, ptr %50, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = load ptr, ptr %19, align 8, !tbaa !5
  %57 = load i32, ptr %27, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %56, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = sub i32 %55, %60
  store i32 %61, ptr %30, align 4, !tbaa !9
  %62 = load i32, ptr %30, align 4, !tbaa !9
  %63 = icmp ugt i32 %62, 0
  br i1 %63, label %64, label %283

64:                                               ; preds = %49
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %104, %64
  %66 = load i32, ptr %28, align 4, !tbaa !9
  %67 = load i32, ptr %24, align 4, !tbaa !9
  %68 = icmp ult i32 %66, %67
  br i1 %68, label %69, label %107

69:                                               ; preds = %65
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %71, align 1, !tbaa !17
  %73 = and i32 4, %72
  %74 = icmp ne i32 0, %73
  br i1 %74, label %75, label %80

75:                                               ; preds = %69
  %76 = load ptr, ptr %14, align 8, !tbaa !5
  %77 = load i32, ptr %28, align 4, !tbaa !9
  %78 = load i32, ptr %28, align 4, !tbaa !9
  %79 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %76, i32 noundef 77606915, i32 noundef %77, i32 noundef %78, i8 noundef zeroext -1, i32 noundef %79, i32 noundef 127, i32 noundef 3)
  br label %103

80:                                               ; preds = %69
  %81 = load i32, ptr %26, align 4, !tbaa !9
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %83, label %101

83:                                               ; preds = %80
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  %85 = load ptr, ptr %18, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %85, i32 0, i32 5
  %87 = load i32, ptr %86, align 4, !tbaa !18
  %88 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %84, i32 noundef -2055192570, i32 noundef %87, i32 noundef 127, i32 noundef 0, i32 noundef %88, i32 noundef 127)
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = load ptr, ptr %18, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %90, i32 0, i32 5
  %92 = load i32, ptr %91, align 4, !tbaa !18
  %93 = load ptr, ptr %18, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %93, i32 0, i32 5
  %95 = load i32, ptr %94, align 4, !tbaa !18
  %96 = load i32, ptr %25, align 4, !tbaa !9
  %97 = load ptr, ptr %17, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %97, i32 0, i32 5
  %99 = load i32, ptr %98, align 4, !tbaa !19
  %100 = mul i32 %96, %99
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %89, i32 noundef 285212678, i32 noundef %92, i32 noundef %95, i32 noundef %100, i8 noundef zeroext 0)
  br label %102

101:                                              ; preds = %80
  br label %102

102:                                              ; preds = %101, %83
  br label %103

103:                                              ; preds = %102, %75
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %28, align 4, !tbaa !9
  %106 = add i32 %105, 1
  store i32 %106, ptr %28, align 4, !tbaa !9
  br label %65, !llvm.loop !22

107:                                              ; preds = %65
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %109, align 1, !tbaa !17
  %111 = and i32 4, %110
  %112 = icmp eq i32 0, %111
  br i1 %112, label %113, label %134

113:                                              ; preds = %107
  %114 = load ptr, ptr %14, align 8, !tbaa !5
  %115 = load ptr, ptr %18, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %115, i32 0, i32 5
  %117 = load i32, ptr %116, align 4, !tbaa !18
  %118 = load ptr, ptr %18, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %118, i32 0, i32 24
  %120 = load i32, ptr %119, align 4, !tbaa !24
  %121 = load ptr, ptr %18, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %121, i32 0, i32 5
  %123 = load i32, ptr %122, align 4, !tbaa !18
  %124 = load i32, ptr %24, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = load i32, ptr %25, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = mul nsw i64 %125, %127
  %129 = load ptr, ptr %17, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %129, i32 0, i32 5
  %131 = load i32, ptr %130, align 4, !tbaa !19
  %132 = zext i32 %131 to i64
  %133 = mul nsw i64 %128, %132
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %114, i32 noundef 4097, i32 noundef %117, i32 noundef %120, i32 noundef %123, i64 noundef %133)
  br label %134

134:                                              ; preds = %113, %107
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %228, %134
  %136 = load i32, ptr %29, align 4, !tbaa !9
  %137 = load i32, ptr %30, align 4, !tbaa !9
  %138 = icmp ult i32 %136, %137
  br i1 %138, label %139, label %231

139:                                              ; preds = %135
  %140 = load ptr, ptr %14, align 8, !tbaa !5
  %141 = load ptr, ptr %17, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %141, i32 0, i32 3
  %143 = load i32, ptr %142, align 4, !tbaa !25
  %144 = icmp eq i32 %143, 4
  %145 = zext i1 %144 to i64
  %146 = select i1 %144, i32 -2059353978, i32 -2050957178
  %147 = load ptr, ptr %18, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %147, i32 0, i32 1
  %149 = load i32, ptr %148, align 4, !tbaa !26
  %150 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %140, i32 noundef %146, i32 noundef %149, i32 noundef 127, i32 noundef 0, i32 noundef %150, i32 noundef 0)
  %151 = load ptr, ptr %14, align 8, !tbaa !5
  %152 = load ptr, ptr %18, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %152, i32 0, i32 1
  %154 = load i32, ptr %153, align 4, !tbaa !26
  %155 = load ptr, ptr %18, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %155, i32 0, i32 1
  %157 = load i32, ptr %156, align 4, !tbaa !26
  %158 = load ptr, ptr %17, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %158, i32 0, i32 3
  %160 = load i32, ptr %159, align 4, !tbaa !25
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %151, i32 noundef 285212678, i32 noundef %154, i32 noundef %157, i32 noundef %160, i8 noundef zeroext 0)
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %224, %139
  %162 = load i32, ptr %28, align 4, !tbaa !9
  %163 = load i32, ptr %24, align 4, !tbaa !9
  %164 = icmp ult i32 %162, %163
  br i1 %164, label %165, label %227

165:                                              ; preds = %161
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = load i32, ptr %27, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = getelementptr inbounds i32, ptr %167, i64 %169
  %171 = load i32, ptr %170, align 4, !tbaa !9
  %172 = load i32, ptr %29, align 4, !tbaa !9
  %173 = add i32 %171, %172
  %174 = zext i32 %173 to i64
  %175 = getelementptr inbounds i32, ptr %166, i64 %174
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = load i32, ptr %25, align 4, !tbaa !9
  %178 = mul i32 %176, %177
  %179 = load ptr, ptr %15, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %179, i32 0, i32 4
  %181 = load i32, ptr %180, align 1, !tbaa !27
  %182 = mul i32 %178, %181
  %183 = load i32, ptr %28, align 4, !tbaa !9
  %184 = load i32, ptr %25, align 4, !tbaa !9
  %185 = mul i32 %183, %184
  %186 = add i32 %182, %185
  store i32 %186, ptr %31, align 4, !tbaa !9
  %187 = load ptr, ptr %14, align 8, !tbaa !5
  %188 = load ptr, ptr %18, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %188, i32 0, i32 23
  %190 = load i32, ptr %189, align 4, !tbaa !28
  %191 = load i32, ptr %31, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %187, i32 noundef %190, i64 noundef %192)
  %193 = load i32, ptr %26, align 4, !tbaa !9
  %194 = icmp eq i32 %193, 0
  br i1 %194, label %195, label %222

195:                                              ; preds = %165
  %196 = load ptr, ptr %14, align 8, !tbaa !5
  %197 = load ptr, ptr %17, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %197, i32 0, i32 3
  %199 = load i32, ptr %198, align 4, !tbaa !25
  %200 = icmp eq i32 %199, 4
  %201 = zext i1 %200 to i64
  %202 = select i1 %200, i32 -1522515837, i32 -1512030077
  %203 = load ptr, ptr %18, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %203, i32 0, i32 3
  %205 = load i32, ptr %204, align 4, !tbaa !29
  %206 = load ptr, ptr %18, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %206, i32 0, i32 23
  %208 = load i32, ptr %207, align 4, !tbaa !28
  %209 = load i32, ptr %24, align 4, !tbaa !9
  %210 = add i32 %209, 1
  call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %196, i32 noundef %202, i32 noundef %205, i32 noundef %208, i32 noundef 0, i32 noundef %210, i32 noundef 0)
  %211 = load ptr, ptr %14, align 8, !tbaa !5
  %212 = load i32, ptr %24, align 4, !tbaa !9
  %213 = load i32, ptr %24, align 4, !tbaa !9
  %214 = add i32 %213, 1
  %215 = load i32, ptr %28, align 4, !tbaa !9
  %216 = load ptr, ptr %17, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %216, i32 0, i32 3
  %218 = load i32, ptr %217, align 4, !tbaa !25
  %219 = icmp eq i32 %218, 4
  %220 = zext i1 %219 to i64
  %221 = select i1 %219, i32 2, i32 3
  call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %211, i32 noundef 1696596099, i32 noundef %212, i32 noundef %214, i8 noundef zeroext -1, i32 noundef %215, i32 noundef 0, i32 noundef %221)
  br label %223

222:                                              ; preds = %165
  br label %223

223:                                              ; preds = %222, %195
  br label %224

224:                                              ; preds = %223
  %225 = load i32, ptr %28, align 4, !tbaa !9
  %226 = add i32 %225, 1
  store i32 %226, ptr %28, align 4, !tbaa !9
  br label %161, !llvm.loop !30

227:                                              ; preds = %161
  br label %228

228:                                              ; preds = %227
  %229 = load i32, ptr %29, align 4, !tbaa !9
  %230 = add i32 %229, 1
  store i32 %230, ptr %29, align 4, !tbaa !9
  br label %135, !llvm.loop !31

231:                                              ; preds = %135
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %232

232:                                              ; preds = %259, %231
  %233 = load i32, ptr %28, align 4, !tbaa !9
  %234 = load i32, ptr %24, align 4, !tbaa !9
  %235 = icmp ult i32 %233, %234
  br i1 %235, label %236, label %262

236:                                              ; preds = %232
  %237 = load i32, ptr %26, align 4, !tbaa !9
  %238 = icmp eq i32 %237, 0
  br i1 %238, label %239, label %257

239:                                              ; preds = %236
  %240 = load ptr, ptr %14, align 8, !tbaa !5
  %241 = load ptr, ptr %18, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %241, i32 0, i32 5
  %243 = load i32, ptr %242, align 4, !tbaa !18
  %244 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %240, i32 noundef -444579834, i32 noundef %243, i32 noundef 127, i32 noundef 0, i32 noundef %244, i32 noundef 127)
  %245 = load ptr, ptr %14, align 8, !tbaa !5
  %246 = load ptr, ptr %18, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %246, i32 0, i32 5
  %248 = load i32, ptr %247, align 4, !tbaa !18
  %249 = load ptr, ptr %18, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %249, i32 0, i32 5
  %251 = load i32, ptr %250, align 4, !tbaa !18
  %252 = load i32, ptr %25, align 4, !tbaa !9
  %253 = load ptr, ptr %17, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %253, i32 0, i32 5
  %255 = load i32, ptr %254, align 4, !tbaa !19
  %256 = mul i32 %252, %255
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %245, i32 noundef 285212678, i32 noundef %248, i32 noundef %251, i32 noundef %256, i8 noundef zeroext 0)
  br label %258

257:                                              ; preds = %236
  br label %258

258:                                              ; preds = %257, %239
  br label %259

259:                                              ; preds = %258
  %260 = load i32, ptr %28, align 4, !tbaa !9
  %261 = add i32 %260, 1
  store i32 %261, ptr %28, align 4, !tbaa !9
  br label %232, !llvm.loop !32

262:                                              ; preds = %232
  %263 = load ptr, ptr %14, align 8, !tbaa !5
  %264 = load ptr, ptr %18, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %264, i32 0, i32 5
  %266 = load i32, ptr %265, align 4, !tbaa !18
  %267 = load ptr, ptr %18, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %267, i32 0, i32 24
  %269 = load i32, ptr %268, align 4, !tbaa !24
  %270 = load ptr, ptr %18, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %270, i32 0, i32 5
  %272 = load i32, ptr %271, align 4, !tbaa !18
  %273 = load i32, ptr %24, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = load i32, ptr %25, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = mul nsw i64 %274, %276
  %278 = load ptr, ptr %17, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %278, i32 0, i32 5
  %280 = load i32, ptr %279, align 4, !tbaa !19
  %281 = zext i32 %280 to i64
  %282 = mul nsw i64 %277, %281
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %263, i32 noundef 4097, i32 noundef %266, i32 noundef %269, i32 noundef %272, i64 noundef %282)
  br label %283

283:                                              ; preds = %262, %49
  %284 = load ptr, ptr %14, align 8, !tbaa !5
  %285 = load ptr, ptr %18, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %285, i32 0, i32 5
  %287 = load i32, ptr %286, align 4, !tbaa !18
  %288 = load ptr, ptr %18, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %288, i32 0, i32 24
  %290 = load i32, ptr %289, align 4, !tbaa !24
  %291 = load ptr, ptr %18, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %291, i32 0, i32 5
  %293 = load i32, ptr %292, align 4, !tbaa !18
  %294 = load ptr, ptr %17, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %294, i32 0, i32 5
  %296 = load i32, ptr %295, align 4, !tbaa !19
  %297 = zext i32 %296 to i64
  %298 = load i32, ptr %25, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = mul nsw i64 %297, %299
  %301 = load ptr, ptr %15, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %301, i32 0, i32 5
  %303 = load i32, ptr %302, align 1, !tbaa !33
  %304 = zext i32 %303 to i64
  %305 = mul nsw i64 %300, %304
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %284, i32 noundef 4096, i32 noundef %287, i32 noundef %290, i32 noundef %293, i64 noundef %305)
  %306 = load i32, ptr %23, align 4, !tbaa !9
  %307 = icmp ne i32 %306, 0
  br i1 %307, label %308, label %314

308:                                              ; preds = %283
  %309 = load ptr, ptr %14, align 8, !tbaa !5
  %310 = load ptr, ptr %16, align 8, !tbaa !5
  %311 = load ptr, ptr %18, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %311, i32 0, i32 10
  %313 = load i32, ptr %312, align 4, !tbaa !11
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %309, ptr noundef %310, i32 noundef %313, i32 noundef 1)
  br label %314

314:                                              ; preds = %308, %283
  br label %315

315:                                              ; preds = %314
  %316 = load i32, ptr %27, align 4, !tbaa !9
  %317 = add i32 %316, 1
  store i32 %317, ptr %27, align 4, !tbaa !9
  br label %33, !llvm.loop !34

318:                                              ; preds = %33
  %319 = load i32, ptr %23, align 4, !tbaa !9
  %320 = icmp ne i32 %319, 0
  br i1 %320, label %321, label %346

321:                                              ; preds = %318
  %322 = load ptr, ptr %14, align 8, !tbaa !5
  %323 = load ptr, ptr %18, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %323, i32 0, i32 1
  %325 = load i32, ptr %324, align 4, !tbaa !26
  %326 = load ptr, ptr %18, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %326, i32 0, i32 22
  %328 = load i32, ptr %327, align 4, !tbaa !35
  %329 = load ptr, ptr %18, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %329, i32 0, i32 1
  %331 = load i32, ptr %330, align 4, !tbaa !26
  %332 = load ptr, ptr %17, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %332, i32 0, i32 3
  %334 = load i32, ptr %333, align 4, !tbaa !25
  %335 = zext i32 %334 to i64
  %336 = load ptr, ptr %15, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %336, i32 0, i32 2
  %338 = load i32, ptr %337, align 1, !tbaa !36
  %339 = zext i32 %338 to i64
  %340 = mul nsw i64 %335, %339
  %341 = load ptr, ptr %15, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %341, i32 0, i32 0
  %343 = load i32, ptr %342, align 1, !tbaa !13
  %344 = zext i32 %343 to i64
  %345 = mul nsw i64 %340, %344
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %322, i32 noundef 4097, i32 noundef %325, i32 noundef %328, i32 noundef %331, i64 noundef %345)
  br label %368

346:                                              ; preds = %318
  %347 = load ptr, ptr %14, align 8, !tbaa !5
  %348 = load ptr, ptr %18, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %348, i32 0, i32 1
  %350 = load i32, ptr %349, align 4, !tbaa !26
  %351 = load ptr, ptr %18, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %351, i32 0, i32 22
  %353 = load i32, ptr %352, align 4, !tbaa !35
  %354 = load ptr, ptr %18, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %354, i32 0, i32 1
  %356 = load i32, ptr %355, align 4, !tbaa !26
  %357 = load ptr, ptr %17, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %357, i32 0, i32 3
  %359 = load i32, ptr %358, align 4, !tbaa !25
  %360 = zext i32 %359 to i64
  %361 = load ptr, ptr %19, align 8, !tbaa !5
  %362 = load i32, ptr %22, align 4, !tbaa !9
  %363 = zext i32 %362 to i64
  %364 = getelementptr inbounds i32, ptr %361, i64 %363
  %365 = load i32, ptr %364, align 4, !tbaa !9
  %366 = zext i32 %365 to i64
  %367 = mul nsw i64 %360, %366
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %347, i32 noundef 4097, i32 noundef %350, i32 noundef %353, i32 noundef %356, i64 noundef %367)
  br label %368

368:                                              ; preds = %346, %321
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  ret void
}

declare void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 noundef) #1

declare void @libxsmm_aarch64_instruction_sve_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_aarch64_instruction_sve_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 #2 = { 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 #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 40}
!12 = !{!"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}
!13 = !{!14, !10, i64 0}
!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 = !{!14, !10, i64 24}
!18 = !{!12, !10, i64 20}
!19 = !{!20, !10, i64 20}
!20 = !{!"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, !21, 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}
!21 = !{!"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}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!12, !10, i64 96}
!25 = !{!20, !10, i64 12}
!26 = !{!12, !10, i64 4}
!27 = !{!14, !10, i64 16}
!28 = !{!12, !10, i64 92}
!29 = !{!12, !10, i64 12}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}
!32 = distinct !{!32, !23}
!33 = !{!14, !10, i64 20}
!34 = distinct !{!34, !23}
!35 = !{!12, !10, i64 88}
!36 = !{!14, !10, i64 8}


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

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

declare void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext) 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 #0

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csr_asparse_aarch64_m_loop_sve(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, ptr nocapture noundef readnone %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) local_unnamed_addr #1 {
  %.not144 = icmp eq i32 %8, 0
  br i1 %.not144, label %._crit_edge143, label %.lr.ph142

.lr.ph142:                                        ; preds = %13
  %.not124 = icmp eq i32 %9, 0
  %14 = getelementptr inbounds i8, ptr %4, i64 40
  %.not145 = icmp eq i32 %10, 0
  %15 = getelementptr inbounds i8, ptr %1, i64 24
  %16 = icmp ne i32 %12, 0
  %17 = getelementptr inbounds i8, ptr %4, i64 20
  %18 = getelementptr inbounds i8, ptr %3, i64 20
  %19 = getelementptr inbounds i8, ptr %4, i64 96
  %20 = zext i32 %10 to i64
  %21 = zext i32 %11 to i64
  %22 = mul nuw nsw i64 %21, %20
  %23 = getelementptr inbounds i8, ptr %3, i64 12
  %24 = getelementptr inbounds i8, ptr %4, i64 4
  %25 = getelementptr inbounds i8, ptr %1, i64 16
  %26 = getelementptr inbounds i8, ptr %4, i64 92
  %27 = getelementptr inbounds i8, ptr %4, i64 12
  %28 = add i32 %10, 1
  %29 = getelementptr inbounds i8, ptr %1, i64 20
  %wide.trip.count = zext i32 %8 to i64
  %brmerge = or i1 %.not145, %16
  br label %30

30:                                               ; preds = %.lr.ph142, %117
  %indvars.iv = phi i64 [ 0, %.lr.ph142 ], [ %indvars.iv.next, %117 ]
  br i1 %.not124, label %34, label %31

31:                                               ; preds = %30
  %32 = load i32, ptr %14, align 4, !tbaa !5
  %33 = load i32, ptr %1, align 1, !tbaa !10
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %2, i32 noundef %32, i32 noundef %33) #2
  br label %34

34:                                               ; preds = %31, %30
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %35 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv.next
  %36 = load i32, ptr %35, align 4, !tbaa !14
  %37 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv
  %38 = load i32, ptr %37, align 4, !tbaa !14
  %39 = sub i32 %36, %38
  %.not125 = icmp eq i32 %36, %38
  br i1 %.not125, label %106, label %.preheader127

.preheader127:                                    ; preds = %34
  br i1 %.not145, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader127, %49
  %.0120128 = phi i32 [ %50, %49 ], [ 0, %.preheader127 ]
  %40 = load i32, ptr %15, align 1, !tbaa !15
  %41 = and i32 %40, 4
  %.not126 = icmp eq i32 %41, 0
  br i1 %.not126, label %43, label %42

42:                                               ; preds = %.lr.ph
  tail call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %0, i32 noundef 77606915, i32 noundef %.0120128, i32 noundef %.0120128, i8 noundef zeroext -1, i32 noundef %.0120128, i32 noundef 127, i32 noundef 3) #2
  br label %49

43:                                               ; preds = %.lr.ph
  br i1 %16, label %49, label %44

44:                                               ; preds = %43
  %45 = load i32, ptr %17, align 4, !tbaa !16
  tail call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %0, i32 noundef -2055192570, i32 noundef %45, i32 noundef 127, i32 noundef 0, i32 noundef %.0120128, i32 noundef 127) #2
  %46 = load i32, ptr %17, align 4, !tbaa !16
  %47 = load i32, ptr %18, align 4, !tbaa !17
  %48 = mul i32 %47, %11
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 285212678, i32 noundef %46, i32 noundef %46, i32 noundef %48, i8 noundef zeroext 0) #2
  br label %49

49:                                               ; preds = %42, %43, %44
  %50 = add nuw i32 %.0120128, 1
  %exitcond.not = icmp eq i32 %50, %10
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !21

._crit_edge:                                      ; preds = %49, %.preheader127
  %51 = load i32, ptr %15, align 1, !tbaa !15
  %52 = and i32 %51, 4
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %.lr.ph136.preheader

54:                                               ; preds = %._crit_edge
  %55 = load i32, ptr %17, align 4, !tbaa !16
  %56 = load i32, ptr %19, align 4, !tbaa !23
  %57 = load i32, ptr %18, align 4, !tbaa !17
  %58 = zext i32 %57 to i64
  %59 = mul nuw nsw i64 %22, %58
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %55, i32 noundef %56, i32 noundef %55, i64 noundef %59) #2
  br label %.lr.ph136.preheader

.lr.ph136.preheader:                              ; preds = %._crit_edge, %54
  br label %.lr.ph136

.preheader:                                       ; preds = %._crit_edge132
  br i1 %brmerge, label %._crit_edge139, label %.lr.ph138.split.us

.lr.ph138.split.us:                               ; preds = %.preheader, %.lr.ph138.split.us
  %.2137.us = phi i32 [ %64, %.lr.ph138.split.us ], [ 0, %.preheader ]
  %60 = load i32, ptr %17, align 4, !tbaa !16
  tail call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %0, i32 noundef -444579834, i32 noundef %60, i32 noundef 127, i32 noundef 0, i32 noundef %.2137.us, i32 noundef 127) #2
  %61 = load i32, ptr %17, align 4, !tbaa !16
  %62 = load i32, ptr %18, align 4, !tbaa !17
  %63 = mul i32 %62, %11
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 285212678, i32 noundef %61, i32 noundef %61, i32 noundef %63, i8 noundef zeroext 0) #2
  %64 = add nuw i32 %.2137.us, 1
  %exitcond154.not = icmp eq i32 %64, %10
  br i1 %exitcond154.not, label %._crit_edge139, label %.lr.ph138.split.us, !llvm.loop !24

.lr.ph136:                                        ; preds = %.lr.ph136.backedge, %.lr.ph136.preheader
  %.0119133 = phi i32 [ 0, %.lr.ph136.preheader ], [ %.0119133.be, %.lr.ph136.backedge ]
  %65 = load i32, ptr %23, align 4, !tbaa !25
  %66 = icmp eq i32 %65, 4
  %67 = select i1 %66, i32 -2059353978, i32 -2050957178
  %68 = load i32, ptr %24, align 4, !tbaa !26
  tail call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %0, i32 noundef %67, i32 noundef %68, i32 noundef 127, i32 noundef 0, i32 noundef %10, i32 noundef 0) #2
  %69 = load i32, ptr %24, align 4, !tbaa !26
  %70 = load i32, ptr %23, align 4, !tbaa !25
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 285212678, i32 noundef %69, i32 noundef %69, i32 noundef %70, i8 noundef zeroext 0) #2
  br i1 %.not145, label %._crit_edge132.thread, label %.lr.ph131

.lr.ph131:                                        ; preds = %.lr.ph136
  br i1 %16, label %.lr.ph131.split, label %.lr.ph131.split.us

.lr.ph131.split.us:                               ; preds = %.lr.ph131, %.lr.ph131.split.us
  %.1129.us = phi i32 [ %88, %.lr.ph131.split.us ], [ 0, %.lr.ph131 ]
  %71 = load i32, ptr %37, align 4, !tbaa !14
  %72 = add i32 %71, %.0119133
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds i32, ptr %6, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !14
  %76 = load i32, ptr %25, align 1, !tbaa !27
  %77 = mul i32 %76, %75
  %reass.add.us = add i32 %77, %.1129.us
  %reass.mul.us = mul i32 %reass.add.us, %11
  %78 = load i32, ptr %26, align 4, !tbaa !28
  %79 = zext i32 %reass.mul.us to i64
  tail call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef %78, i64 noundef %79) #2
  %80 = load i32, ptr %23, align 4, !tbaa !25
  %81 = icmp eq i32 %80, 4
  %82 = select i1 %81, i32 -1522515837, i32 -1512030077
  %83 = load i32, ptr %27, align 4, !tbaa !29
  %84 = load i32, ptr %26, align 4, !tbaa !28
  tail call void @libxsmm_aarch64_instruction_sve_move(ptr noundef %0, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef 0, i32 noundef %28, i32 noundef 0) #2
  %85 = load i32, ptr %23, align 4, !tbaa !25
  %86 = icmp eq i32 %85, 4
  %87 = select i1 %86, i32 2, i32 3
  tail call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %0, i32 noundef 1696596099, i32 noundef %10, i32 noundef %28, i8 noundef zeroext -1, i32 noundef %.1129.us, i32 noundef 0, i32 noundef %87) #2
  %88 = add nuw i32 %.1129.us, 1
  %exitcond152.not = icmp eq i32 %88, %10
  br i1 %exitcond152.not, label %._crit_edge132, label %.lr.ph131.split.us, !llvm.loop !30

.lr.ph131.split:                                  ; preds = %.lr.ph131, %.lr.ph131.split
  %.1129 = phi i32 [ %98, %.lr.ph131.split ], [ 0, %.lr.ph131 ]
  %89 = load i32, ptr %37, align 4, !tbaa !14
  %90 = add i32 %89, %.0119133
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds i32, ptr %6, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !14
  %94 = load i32, ptr %25, align 1, !tbaa !27
  %95 = mul i32 %94, %93
  %reass.add = add i32 %95, %.1129
  %reass.mul = mul i32 %reass.add, %11
  %96 = load i32, ptr %26, align 4, !tbaa !28
  %97 = zext i32 %reass.mul to i64
  tail call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef %96, i64 noundef %97) #2
  %98 = add nuw i32 %.1129, 1
  %exitcond151.not = icmp eq i32 %98, %10
  br i1 %exitcond151.not, label %._crit_edge132, label %.lr.ph131.split, !llvm.loop !30

._crit_edge132:                                   ; preds = %.lr.ph131.split.us, %.lr.ph131.split
  %99 = add nuw i32 %.0119133, 1
  %exitcond153.not = icmp eq i32 %99, %39
  br i1 %exitcond153.not, label %.preheader, label %.lr.ph136.backedge

.lr.ph136.backedge:                               ; preds = %._crit_edge132, %._crit_edge132.thread
  %.0119133.be = phi i32 [ %99, %._crit_edge132 ], [ %100, %._crit_edge132.thread ]
  br label %.lr.ph136, !llvm.loop !31

._crit_edge132.thread:                            ; preds = %.lr.ph136
  %100 = add nuw i32 %.0119133, 1
  %exitcond153.not157 = icmp eq i32 %100, %39
  br i1 %exitcond153.not157, label %._crit_edge139, label %.lr.ph136.backedge

._crit_edge139:                                   ; preds = %._crit_edge132.thread, %.lr.ph138.split.us, %.preheader
  %101 = load i32, ptr %17, align 4, !tbaa !16
  %102 = load i32, ptr %19, align 4, !tbaa !23
  %103 = load i32, ptr %18, align 4, !tbaa !17
  %104 = zext i32 %103 to i64
  %105 = mul nuw nsw i64 %22, %104
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %101, i32 noundef %102, i32 noundef %101, i64 noundef %105) #2
  br label %106

106:                                              ; preds = %._crit_edge139, %34
  %107 = load i32, ptr %17, align 4, !tbaa !16
  %108 = load i32, ptr %19, align 4, !tbaa !23
  %109 = load i32, ptr %18, align 4, !tbaa !17
  %110 = zext i32 %109 to i64
  %111 = mul nuw nsw i64 %110, %21
  %112 = load i32, ptr %29, align 1, !tbaa !32
  %113 = zext i32 %112 to i64
  %114 = mul nuw nsw i64 %111, %113
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %107, i32 noundef %108, i32 noundef %107, i64 noundef %114) #2
  br i1 %.not124, label %117, label %115

115:                                              ; preds = %106
  %116 = load i32, ptr %14, align 4, !tbaa !5
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %2, i32 noundef %116, i32 noundef 1) #2
  br label %117

117:                                              ; preds = %106, %115
  %exitcond156.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond156.not, label %._crit_edge143, label %30, !llvm.loop !33

._crit_edge143:                                   ; preds = %117, %13
  %.not = icmp eq i32 %9, 0
  %118 = getelementptr inbounds i8, ptr %4, i64 4
  %119 = load i32, ptr %118, align 4, !tbaa !26
  %120 = getelementptr inbounds i8, ptr %4, i64 88
  %121 = load i32, ptr %120, align 4, !tbaa !34
  %122 = getelementptr inbounds i8, ptr %3, i64 12
  %123 = load i32, ptr %122, align 4, !tbaa !25
  %124 = zext i32 %123 to i64
  br i1 %.not, label %133, label %125

125:                                              ; preds = %._crit_edge143
  %126 = getelementptr inbounds i8, ptr %1, i64 8
  %127 = load i32, ptr %126, align 1, !tbaa !35
  %128 = zext i32 %127 to i64
  %129 = mul nuw nsw i64 %128, %124
  %130 = load i32, ptr %1, align 1, !tbaa !10
  %131 = zext i32 %130 to i64
  %132 = mul nuw nsw i64 %129, %131
  br label %139

133:                                              ; preds = %._crit_edge143
  %134 = zext i32 %8 to i64
  %135 = getelementptr inbounds i32, ptr %5, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !14
  %137 = zext i32 %136 to i64
  %138 = mul nuw nsw i64 %137, %124
  br label %139

139:                                              ; preds = %133, %125
  %.sink = phi i64 [ %138, %133 ], [ %132, %125 ]
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %119, i32 noundef %121, i32 noundef %119, i64 noundef %.sink) #2
  ret void
}

declare void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #0

declare void @libxsmm_aarch64_instruction_sve_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_aarch64_instruction_sve_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

attributes #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 = { 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 #2 = { 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, !7, i64 40}
!6 = !{!"libxsmm_gp_reg_mapping_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"libxsmm_gemm_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !12, i64 33, !12, i64 41, !8, i64 49, !7, i64 50, !7, i64 54, !7, i64 58, !13, i64 62, !13, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !13, i64 70, !13, i64 72, !13, i64 74, !13, i64 76, !13, i64 78, !13, i64 80, !7, i64 82, !7, i64 86, !7, i64 90, !8, i64 94}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"short", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!11, !7, i64 24}
!16 = !{!6, !7, i64 20}
!17 = !{!18, !7, i64 20}
!18 = !{!"libxsmm_micro_kernel_config", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !8, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !8, i64 364, !8, i64 380, !8, i64 396, !8, i64 412, !8, i64 428, !8, i64 444, !7, i64 460, !8, i64 464, !19, i64 520, !7, i64 556, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !20, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !20, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !7, i64 644, !7, i64 648, !7, i64 652, !7, i64 656, !7, i64 660, !7, i64 664, !7, i64 668, !7, i64 672, !7, i64 676, !7, i64 680}
!19 = !{!"libxsmm_tile_config", !8, i64 0, !13, i64 2, !8, i64 4, !13, i64 6, !8, i64 8, !13, i64 10, !8, i64 12, !13, i64 14, !8, i64 16, !13, i64 18, !8, i64 20, !13, i64 22, !8, i64 24, !13, i64 26, !8, i64 28, !13, i64 30, !8, i64 32}
!20 = !{!"any pointer", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !7, i64 96}
!24 = distinct !{!24, !22}
!25 = !{!18, !7, i64 12}
!26 = !{!6, !7, i64 4}
!27 = !{!11, !7, i64 16}
!28 = !{!6, !7, i64 92}
!29 = !{!6, !7, i64 12}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}
!32 = !{!11, !7, i64 20}
!33 = distinct !{!33, !22}
!34 = !{!6, !7, i64 88}
!35 = !{!11, !7, i64 8}


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