; 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_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_asimd(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 = %296, %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 %299

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 %264

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

65:                                               ; preds = %97, %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 %100

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_asimd_compute(ptr noundef %76, i32 noundef 773856275, i32 noundef %77, i32 noundef %78, i8 noundef zeroext 0, i32 noundef %79, i32 noundef 1)
  br label %96

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

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 %25, align 4, !tbaa !9
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %89, i32 0, i32 5
  %91 = load i32, ptr %90, align 4, !tbaa !19
  %92 = mul i32 %88, %91
  %93 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %84, i32 noundef 1010828294, i32 noundef %87, i32 noundef 127, i32 noundef %92, i32 noundef %93, i32 noundef 1)
  br label %95

94:                                               ; preds = %80
  br label %95

95:                                               ; preds = %94, %83
  br label %96

96:                                               ; preds = %95, %75
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %28, align 4, !tbaa !9
  %99 = add i32 %98, 1
  store i32 %99, ptr %28, align 4, !tbaa !9
  br label %65, !llvm.loop !22

100:                                              ; preds = %65
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %102, align 1, !tbaa !17
  %104 = and i32 4, %103
  %105 = icmp eq i32 0, %104
  br i1 %105, label %106, label %127

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

127:                                              ; preds = %106, %100
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %216, %127
  %129 = load i32, ptr %29, align 4, !tbaa !9
  %130 = load i32, ptr %30, align 4, !tbaa !9
  %131 = icmp ult i32 %129, %130
  br i1 %131, label %132, label %219

132:                                              ; preds = %128
  %133 = load ptr, ptr %14, align 8, !tbaa !5
  %134 = load ptr, ptr %18, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !25
  %137 = load ptr, ptr %17, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %137, i32 0, i32 3
  %139 = load i32, ptr %138, align 4, !tbaa !26
  %140 = load i32, ptr %24, align 4, !tbaa !9
  %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 !26
  %144 = icmp eq i32 %143, 4
  %145 = zext i1 %144 to i64
  %146 = select i1 %144, i32 4, i32 6
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %133, i32 noundef 1010828294, i32 noundef %136, i32 noundef 127, i32 noundef %139, i32 noundef %140, i32 noundef %146)
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %147

147:                                              ; preds = %212, %132
  %148 = load i32, ptr %28, align 4, !tbaa !9
  %149 = load i32, ptr %24, align 4, !tbaa !9
  %150 = icmp ult i32 %148, %149
  br i1 %150, label %151, label %215

151:                                              ; preds = %147
  %152 = load ptr, ptr %20, align 8, !tbaa !5
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = load i32, ptr %27, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = getelementptr inbounds i32, ptr %153, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = load i32, ptr %29, align 4, !tbaa !9
  %159 = add i32 %157, %158
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds i32, ptr %152, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !9
  %163 = load ptr, ptr %17, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %163, i32 0, i32 3
  %165 = load i32, ptr %164, align 4, !tbaa !26
  %166 = mul i32 %162, %165
  %167 = load i32, ptr %25, align 4, !tbaa !9
  %168 = mul i32 %166, %167
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %169, i32 0, i32 4
  %171 = load i32, ptr %170, align 1, !tbaa !27
  %172 = mul i32 %168, %171
  %173 = load i32, ptr %28, align 4, !tbaa !9
  %174 = load i32, ptr %25, align 4, !tbaa !9
  %175 = mul i32 %173, %174
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %176, i32 0, i32 3
  %178 = load i32, ptr %177, align 4, !tbaa !26
  %179 = mul i32 %175, %178
  %180 = add i32 %172, %179
  store i32 %180, ptr %31, align 4, !tbaa !9
  %181 = load ptr, ptr %14, align 8, !tbaa !5
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %182, i32 0, i32 23
  %184 = load i32, ptr %183, align 4, !tbaa !28
  %185 = load i32, ptr %31, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %181, i32 noundef %184, i64 noundef %186)
  %187 = load i32, ptr %26, align 4, !tbaa !9
  %188 = icmp eq i32 %187, 0
  br i1 %188, label %189, label %210

189:                                              ; preds = %151
  %190 = load ptr, ptr %14, align 8, !tbaa !5
  %191 = load ptr, ptr %18, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %191, i32 0, i32 3
  %193 = load i32, ptr %192, align 4, !tbaa !29
  %194 = load ptr, ptr %18, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %194, i32 0, i32 23
  %196 = load i32, ptr %195, align 4, !tbaa !28
  %197 = load i32, ptr %24, align 4, !tbaa !9
  %198 = add i32 %197, 1
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %190, i32 noundef 1012942851, i32 noundef %193, i32 noundef %196, i32 noundef 0, i32 noundef %198, i32 noundef 1)
  %199 = load ptr, ptr %14, align 8, !tbaa !5
  %200 = load i32, ptr %24, align 4, !tbaa !9
  %201 = add i32 %200, 1
  %202 = load i32, ptr %24, align 4, !tbaa !9
  %203 = load i32, ptr %28, align 4, !tbaa !9
  %204 = load ptr, ptr %17, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %204, i32 0, i32 3
  %206 = load i32, ptr %205, align 4, !tbaa !26
  %207 = icmp eq i32 %206, 4
  %208 = zext i1 %207 to i64
  %209 = select i1 %207, i32 5, i32 7
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %199, i32 noundef 260050959, i32 noundef %201, i32 noundef %202, i8 noundef zeroext 0, i32 noundef %203, i32 noundef %209)
  br label %211

210:                                              ; preds = %151
  br label %211

211:                                              ; preds = %210, %189
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %28, align 4, !tbaa !9
  %214 = add i32 %213, 1
  store i32 %214, ptr %28, align 4, !tbaa !9
  br label %147, !llvm.loop !30

215:                                              ; preds = %147
  br label %216

216:                                              ; preds = %215
  %217 = load i32, ptr %29, align 4, !tbaa !9
  %218 = add i32 %217, 1
  store i32 %218, ptr %29, align 4, !tbaa !9
  br label %128, !llvm.loop !31

219:                                              ; preds = %128
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %220

220:                                              ; preds = %240, %219
  %221 = load i32, ptr %28, align 4, !tbaa !9
  %222 = load i32, ptr %24, align 4, !tbaa !9
  %223 = icmp ult i32 %221, %222
  br i1 %223, label %224, label %243

224:                                              ; preds = %220
  %225 = load i32, ptr %26, align 4, !tbaa !9
  %226 = icmp eq i32 %225, 0
  br i1 %226, label %227, label %238

227:                                              ; preds = %224
  %228 = load ptr, ptr %14, align 8, !tbaa !5
  %229 = load ptr, ptr %18, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %229, i32 0, i32 5
  %231 = load i32, ptr %230, align 4, !tbaa !18
  %232 = load i32, ptr %25, align 4, !tbaa !9
  %233 = load ptr, ptr %17, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %233, i32 0, i32 5
  %235 = load i32, ptr %234, align 4, !tbaa !19
  %236 = mul i32 %232, %235
  %237 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %228, i32 noundef 1006633990, i32 noundef %231, i32 noundef 127, i32 noundef %236, i32 noundef %237, i32 noundef 1)
  br label %239

238:                                              ; preds = %224
  br label %239

239:                                              ; preds = %238, %227
  br label %240

240:                                              ; preds = %239
  %241 = load i32, ptr %28, align 4, !tbaa !9
  %242 = add i32 %241, 1
  store i32 %242, ptr %28, align 4, !tbaa !9
  br label %220, !llvm.loop !32

243:                                              ; preds = %220
  %244 = load ptr, ptr %14, align 8, !tbaa !5
  %245 = load ptr, ptr %18, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %245, i32 0, i32 5
  %247 = load i32, ptr %246, align 4, !tbaa !18
  %248 = load ptr, ptr %18, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %248, i32 0, i32 24
  %250 = load i32, ptr %249, align 4, !tbaa !24
  %251 = load ptr, ptr %18, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %251, i32 0, i32 5
  %253 = load i32, ptr %252, align 4, !tbaa !18
  %254 = load i32, ptr %24, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = load i32, ptr %25, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = mul nsw i64 %255, %257
  %259 = load ptr, ptr %17, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %259, i32 0, i32 5
  %261 = load i32, ptr %260, align 4, !tbaa !19
  %262 = zext i32 %261 to i64
  %263 = mul nsw i64 %258, %262
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %244, i32 noundef 4097, i32 noundef %247, i32 noundef %250, i32 noundef %253, i64 noundef %263)
  br label %264

264:                                              ; preds = %243, %49
  %265 = load ptr, ptr %14, align 8, !tbaa !5
  %266 = load ptr, ptr %18, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %266, i32 0, i32 5
  %268 = load i32, ptr %267, align 4, !tbaa !18
  %269 = load ptr, ptr %18, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %269, i32 0, i32 24
  %271 = load i32, ptr %270, align 4, !tbaa !24
  %272 = load ptr, ptr %18, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %272, i32 0, i32 5
  %274 = load i32, ptr %273, align 4, !tbaa !18
  %275 = load ptr, ptr %17, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %275, i32 0, i32 5
  %277 = load i32, ptr %276, align 4, !tbaa !19
  %278 = zext i32 %277 to i64
  %279 = load i32, ptr %25, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = mul nsw i64 %278, %280
  %282 = load ptr, ptr %15, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %282, i32 0, i32 5
  %284 = load i32, ptr %283, align 1, !tbaa !33
  %285 = zext i32 %284 to i64
  %286 = mul nsw i64 %281, %285
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %265, i32 noundef 4096, i32 noundef %268, i32 noundef %271, i32 noundef %274, i64 noundef %286)
  %287 = load i32, ptr %23, align 4, !tbaa !9
  %288 = icmp ne i32 %287, 0
  br i1 %288, label %289, label %295

289:                                              ; preds = %264
  %290 = load ptr, ptr %14, align 8, !tbaa !5
  %291 = load ptr, ptr %16, align 8, !tbaa !5
  %292 = load ptr, ptr %18, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %292, i32 0, i32 10
  %294 = load i32, ptr %293, align 4, !tbaa !11
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %290, ptr noundef %291, i32 noundef %294, i32 noundef 1)
  br label %295

295:                                              ; preds = %289, %264
  br label %296

296:                                              ; preds = %295
  %297 = load i32, ptr %27, align 4, !tbaa !9
  %298 = add i32 %297, 1
  store i32 %298, ptr %27, align 4, !tbaa !9
  br label %33, !llvm.loop !34

299:                                              ; preds = %33
  %300 = load i32, ptr %23, align 4, !tbaa !9
  %301 = icmp ne i32 %300, 0
  br i1 %301, label %302, label %327

302:                                              ; preds = %299
  %303 = load ptr, ptr %14, align 8, !tbaa !5
  %304 = load ptr, ptr %18, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %304, i32 0, i32 1
  %306 = load i32, ptr %305, align 4, !tbaa !25
  %307 = load ptr, ptr %18, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %307, i32 0, i32 22
  %309 = load i32, ptr %308, align 4, !tbaa !35
  %310 = load ptr, ptr %18, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %310, i32 0, i32 1
  %312 = load i32, ptr %311, align 4, !tbaa !25
  %313 = load ptr, ptr %17, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %313, i32 0, i32 3
  %315 = load i32, ptr %314, align 4, !tbaa !26
  %316 = zext i32 %315 to i64
  %317 = load ptr, ptr %15, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %317, i32 0, i32 2
  %319 = load i32, ptr %318, align 1, !tbaa !36
  %320 = zext i32 %319 to i64
  %321 = mul nsw i64 %316, %320
  %322 = load ptr, ptr %15, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %322, i32 0, i32 0
  %324 = load i32, ptr %323, align 1, !tbaa !13
  %325 = zext i32 %324 to i64
  %326 = mul nsw i64 %321, %325
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %303, i32 noundef 4097, i32 noundef %306, i32 noundef %309, i32 noundef %312, i64 noundef %326)
  br label %349

327:                                              ; preds = %299
  %328 = load ptr, ptr %14, align 8, !tbaa !5
  %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 !25
  %332 = load ptr, ptr %18, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %332, i32 0, i32 22
  %334 = load i32, ptr %333, align 4, !tbaa !35
  %335 = load ptr, ptr %18, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %335, i32 0, i32 1
  %337 = load i32, ptr %336, align 4, !tbaa !25
  %338 = load ptr, ptr %17, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %338, i32 0, i32 3
  %340 = load i32, ptr %339, align 4, !tbaa !26
  %341 = zext i32 %340 to i64
  %342 = load ptr, ptr %19, align 8, !tbaa !5
  %343 = load i32, ptr %22, align 4, !tbaa !9
  %344 = zext i32 %343 to i64
  %345 = getelementptr inbounds i32, ptr %342, i64 %344
  %346 = load i32, ptr %345, align 4, !tbaa !9
  %347 = zext i32 %346 to i64
  %348 = mul nsw i64 %341, %347
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %328, i32 noundef 4097, i32 noundef %331, i32 noundef %334, i32 noundef %337, i64 noundef %348)
  br label %349

349:                                              ; preds = %327, %302
  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_asimd_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef, i32 noundef) #1

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

declare void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 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 = !{!12, !10, i64 4}
!26 = !{!20, !10, i64 12}
!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_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_asimd(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
  %.not116 = 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 %4, i64 4
  %24 = getelementptr inbounds i8, ptr %3, i64 12
  %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, %116
  %indvars.iv = phi i64 [ 0, %.lr.ph142 ], [ %indvars.iv.next, %116 ]
  br i1 %.not116, 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
  %.not117 = icmp eq i32 %36, %38
  br i1 %.not117, label %105, label %.preheader121

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

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

42:                                               ; preds = %.lr.ph
  tail call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 773856275, i32 noundef %.0112122, i32 noundef %.0112122, i8 noundef zeroext 0, i32 noundef %.0112122, i32 noundef 1) #2
  br label %48

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

44:                                               ; preds = %43
  %45 = load i32, ptr %17, align 4, !tbaa !16
  %46 = load i32, ptr %18, align 4, !tbaa !17
  %47 = mul i32 %46, %11
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1010828294, i32 noundef %45, i32 noundef 127, i32 noundef %47, i32 noundef %.0112122, i32 noundef 1) #2
  br label %48

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

._crit_edge:                                      ; preds = %48, %.preheader121
  %50 = load i32, ptr %15, align 1, !tbaa !15
  %51 = and i32 %50, 4
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %.lr.ph130

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

.lr.ph130:                                        ; preds = %._crit_edge, %53
  br i1 %.not145, label %.lr.ph130.split, label %.lr.ph125.us

.lr.ph125.us:                                     ; preds = %.lr.ph130, %._crit_edge126.us
  %.0111127.us = phi i32 [ %74, %._crit_edge126.us ], [ 0, %.lr.ph130 ]
  %59 = load i32, ptr %23, align 4, !tbaa !24
  %60 = load i32, ptr %24, align 4, !tbaa !25
  %61 = icmp eq i32 %60, 4
  %62 = select i1 %61, i32 4, i32 6
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1010828294, i32 noundef %59, i32 noundef 127, i32 noundef %60, i32 noundef %10, i32 noundef %62) #2
  br i1 %16, label %.lr.ph125.split.us136, label %.lr.ph125.split.us.us

.lr.ph125.split.us136:                            ; preds = %.lr.ph125.us, %.lr.ph125.split.us136
  %.1123.us131 = phi i32 [ %73, %.lr.ph125.split.us136 ], [ 0, %.lr.ph125.us ]
  %63 = load i32, ptr %37, align 4, !tbaa !14
  %64 = add i32 %63, %.0111127.us
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i32, ptr %6, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !14
  %68 = load i32, ptr %24, align 4, !tbaa !25
  %69 = load i32, ptr %25, align 1, !tbaa !26
  %70 = mul i32 %69, %67
  %reass.add119.us132 = add i32 %70, %.1123.us131
  %reass.mul120.us133 = mul i32 %68, %11
  %reass.mul.us134 = mul i32 %reass.mul120.us133, %reass.add119.us132
  %71 = load i32, ptr %26, align 4, !tbaa !27
  %72 = zext i32 %reass.mul.us134 to i64
  tail call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef %71, i64 noundef %72) #2
  %73 = add nuw i32 %.1123.us131, 1
  %exitcond152.not = icmp eq i32 %73, %10
  br i1 %exitcond152.not, label %._crit_edge126.us, label %.lr.ph125.split.us136, !llvm.loop !28

._crit_edge126.us:                                ; preds = %.lr.ph125.split.us.us, %.lr.ph125.split.us136
  %74 = add nuw i32 %.0111127.us, 1
  %exitcond154.not = icmp eq i32 %74, %39
  br i1 %exitcond154.not, label %.lr.ph138, label %.lr.ph125.us, !llvm.loop !29

.lr.ph125.split.us.us:                            ; preds = %.lr.ph125.us, %.lr.ph125.split.us.us
  %.1123.us.us = phi i32 [ %90, %.lr.ph125.split.us.us ], [ 0, %.lr.ph125.us ]
  %75 = load i32, ptr %37, align 4, !tbaa !14
  %76 = add i32 %75, %.0111127.us
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds i32, ptr %6, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !14
  %80 = load i32, ptr %24, align 4, !tbaa !25
  %81 = load i32, ptr %25, align 1, !tbaa !26
  %82 = mul i32 %81, %79
  %reass.add119.us.us = add i32 %82, %.1123.us.us
  %reass.mul120.us.us = mul i32 %80, %11
  %reass.mul.us.us = mul i32 %reass.mul120.us.us, %reass.add119.us.us
  %83 = load i32, ptr %26, align 4, !tbaa !27
  %84 = zext i32 %reass.mul.us.us to i64
  tail call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef %83, i64 noundef %84) #2
  %85 = load i32, ptr %27, align 4, !tbaa !30
  %86 = load i32, ptr %26, align 4, !tbaa !27
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1012942851, i32 noundef %85, i32 noundef %86, i32 noundef 0, i32 noundef %28, i32 noundef 1) #2
  %87 = load i32, ptr %24, align 4, !tbaa !25
  %88 = icmp eq i32 %87, 4
  %89 = select i1 %88, i32 5, i32 7
  tail call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 260050959, i32 noundef %28, i32 noundef %10, i8 noundef zeroext 0, i32 noundef %.1123.us.us, i32 noundef %89) #2
  %90 = add nuw i32 %.1123.us.us, 1
  %exitcond153.not = icmp eq i32 %90, %10
  br i1 %exitcond153.not, label %._crit_edge126.us, label %.lr.ph125.split.us.us, !llvm.loop !28

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

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

.lr.ph138.split.us.preheader:                     ; preds = %.preheader, %.lr.ph138
  br label %.lr.ph138.split.us

.lr.ph138.split.us:                               ; preds = %.lr.ph138.split.us.preheader, %.lr.ph138.split.us
  %.2137.us = phi i32 [ %94, %.lr.ph138.split.us ], [ 0, %.lr.ph138.split.us.preheader ]
  %91 = load i32, ptr %17, align 4, !tbaa !16
  %92 = load i32, ptr %18, align 4, !tbaa !17
  %93 = mul i32 %92, %11
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1006633990, i32 noundef %91, i32 noundef 127, i32 noundef %93, i32 noundef %.2137.us, i32 noundef 1) #2
  %94 = add nuw i32 %.2137.us, 1
  %exitcond156.not = icmp eq i32 %94, %10
  br i1 %exitcond156.not, label %._crit_edge139, label %.lr.ph138.split.us, !llvm.loop !31

.lr.ph130.split:                                  ; preds = %.lr.ph130, %.lr.ph130.split
  %.0111127 = phi i32 [ %99, %.lr.ph130.split ], [ 0, %.lr.ph130 ]
  %95 = load i32, ptr %23, align 4, !tbaa !24
  %96 = load i32, ptr %24, align 4, !tbaa !25
  %97 = icmp eq i32 %96, 4
  %98 = select i1 %97, i32 4, i32 6
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1010828294, i32 noundef %95, i32 noundef 127, i32 noundef %96, i32 noundef 0, i32 noundef %98) #2
  %99 = add nuw i32 %.0111127, 1
  %exitcond155.not = icmp eq i32 %99, %39
  br i1 %exitcond155.not, label %.preheader, label %.lr.ph130.split, !llvm.loop !29

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

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

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

116:                                              ; preds = %105, %114
  %exitcond158.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond158.not, label %._crit_edge143, label %30, !llvm.loop !33

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

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

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

138:                                              ; preds = %132, %124
  %.sink = phi i64 [ %137, %132 ], [ %131, %124 ]
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %118, i32 noundef %120, i32 noundef %118, i64 noundef %.sink) #2
  ret void
}

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

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

declare void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 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 = !{!6, !7, i64 4}
!25 = !{!18, !7, i64 12}
!26 = !{!11, !7, i64 16}
!27 = !{!6, !7, i64 92}
!28 = distinct !{!28, !22}
!29 = distinct !{!29, !22}
!30 = !{!6, !7, i64 12}
!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