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

@__func__.libxsmm_generator_packed_gemm_aarch64_mloop = external hidden unnamed_addr constant [44 x i8], align 1
@.str = external hidden unnamed_addr constant [85 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4

; 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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_aarch64_mloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 0, ptr %20, align 4, !tbaa !9
  %22 = load ptr, ptr %13, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %22, i32 0, i32 1
  %24 = load i32, ptr %23, align 1, !tbaa !11
  %25 = load i32, ptr %15, align 4, !tbaa !9
  %26 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %24, i32 noundef %25, ptr noundef %17, ptr noundef %19, ptr noundef %18, ptr noundef %20)
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %28, label %37

28:                                               ; preds = %8
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %31 = icmp ult i32 1, %30
  br i1 %31, label %32, label %34

32:                                               ; preds = %28
  %33 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %35

34:                                               ; preds = %28
  br label %35

35:                                               ; preds = %34, %32
  %36 = phi i32 [ %33, %32 ], [ 1, %34 ]
  call void @libxsmm_handle_error(ptr noundef %29, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_packed_gemm_aarch64_mloop, ptr noundef @.str, i32 noundef 174, i32 noundef %36)
  store i32 1, ptr %21, align 4
  br label %294

37:                                               ; preds = %8
  %38 = load i32, ptr %19, align 4, !tbaa !9
  %39 = load ptr, ptr %13, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %39, i32 0, i32 1
  %41 = load i32, ptr %40, align 1, !tbaa !11
  %42 = icmp eq i32 %38, %41
  br i1 %42, label %43, label %54

43:                                               ; preds = %37
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = load i32, ptr %14, align 4, !tbaa !9
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 1, !tbaa !11
  %53 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %52, i32 noundef %53)
  br label %253

54:                                               ; preds = %37
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = icmp ugt i32 %55, 0
  br i1 %56, label %57, label %159

57:                                               ; preds = %54
  %58 = load i32, ptr %18, align 4, !tbaa !9
  %59 = icmp ugt i32 %58, 0
  br i1 %59, label %60, label %159

60:                                               ; preds = %57
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %63, i32 0, i32 11
  %65 = load i32, ptr %64, align 4, !tbaa !15
  %66 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %61, ptr noundef %62, i32 noundef %65, i32 noundef %66)
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = load i32, ptr %14, align 4, !tbaa !9
  %73 = load i32, ptr %19, align 4, !tbaa !9
  %74 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %77, i32 0, i32 11
  %79 = load i32, ptr %78, align 4, !tbaa !15
  %80 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %75, ptr noundef %76, i32 noundef %79, i32 noundef %80)
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %83, i32 0, i32 11
  %85 = load i32, ptr %84, align 4, !tbaa !15
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 1, !tbaa !11
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = sub i32 %88, %89
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %81, ptr noundef %82, i32 noundef %85, i32 noundef %90)
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = load i32, ptr %20, align 4, !tbaa !9
  %98 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %91, ptr noundef %92, ptr noundef %93, ptr noundef %94, ptr noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef %98)
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %101, i32 0, i32 11
  %103 = load i32, ptr %102, align 4, !tbaa !15
  %104 = load i32, ptr %20, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %99, ptr noundef %100, i32 noundef %103, i32 noundef %104)
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %106, i32 0, i32 3
  %108 = load i32, ptr %107, align 4, !tbaa !17
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %109, i32 0, i32 23
  %111 = load i32, ptr %110, align 4, !tbaa !18
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %112, i32 0, i32 3
  %114 = load i32, ptr %113, align 4, !tbaa !17
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %115, i32 0, i32 1
  %117 = load i32, ptr %116, align 1, !tbaa !11
  %118 = zext i32 %117 to i64
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = mul nsw i64 %118, %120
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %122, i32 0, i32 4
  %124 = load i32, ptr %123, align 1, !tbaa !19
  %125 = zext i32 %124 to i64
  %126 = mul nsw i64 %121, %125
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %127, i32 0, i32 3
  %129 = load i32, ptr %128, align 4, !tbaa !20
  %130 = zext i32 %129 to i64
  %131 = mul nsw i64 %126, %130
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %105, i32 noundef 4097, i32 noundef %108, i32 noundef %111, i32 noundef %114, i64 noundef %131)
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %133, i32 0, i32 5
  %135 = load i32, ptr %134, align 4, !tbaa !23
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %136, i32 0, i32 24
  %138 = load i32, ptr %137, align 4, !tbaa !24
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %139, i32 0, i32 5
  %141 = load i32, ptr %140, align 4, !tbaa !23
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %142, i32 0, i32 1
  %144 = load i32, ptr %143, align 1, !tbaa !11
  %145 = zext i32 %144 to i64
  %146 = load i32, ptr %14, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = mul nsw i64 %145, %147
  %149 = load ptr, ptr %13, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %149, i32 0, i32 5
  %151 = load i32, ptr %150, align 1, !tbaa !25
  %152 = zext i32 %151 to i64
  %153 = mul nsw i64 %148, %152
  %154 = load ptr, ptr %12, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %154, i32 0, i32 5
  %156 = load i32, ptr %155, align 4, !tbaa !26
  %157 = zext i32 %156 to i64
  %158 = mul nsw i64 %153, %157
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %132, i32 noundef 4097, i32 noundef %135, i32 noundef %138, i32 noundef %141, i64 noundef %158)
  br label %252

159:                                              ; preds = %57, %54
  %160 = load i32, ptr %17, align 4, !tbaa !9
  %161 = icmp ugt i32 %160, 0
  br i1 %161, label %162, label %242

162:                                              ; preds = %159
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = icmp eq i32 %163, 0
  br i1 %164, label %165, label %242

165:                                              ; preds = %162
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %168, i32 0, i32 11
  %170 = load i32, ptr %169, align 4, !tbaa !15
  %171 = load ptr, ptr %13, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %171, i32 0, i32 1
  %173 = load i32, ptr %172, align 1, !tbaa !11
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %166, ptr noundef %167, i32 noundef %170, i32 noundef %173)
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = load ptr, ptr %12, align 8, !tbaa !5
  %178 = load ptr, ptr %13, align 8, !tbaa !5
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = load i32, ptr %19, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %174, ptr noundef %175, ptr noundef %176, ptr noundef %177, ptr noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181)
  %182 = load ptr, ptr %9, align 8, !tbaa !5
  %183 = load ptr, ptr %10, align 8, !tbaa !5
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %184, i32 0, i32 11
  %186 = load i32, ptr %185, align 4, !tbaa !15
  %187 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %182, ptr noundef %183, i32 noundef %186, i32 noundef %187)
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %189, i32 0, i32 3
  %191 = load i32, ptr %190, align 4, !tbaa !17
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %192, i32 0, i32 23
  %194 = load i32, ptr %193, align 4, !tbaa !18
  %195 = load ptr, ptr %11, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %195, i32 0, i32 3
  %197 = load i32, ptr %196, align 4, !tbaa !17
  %198 = load ptr, ptr %13, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %198, i32 0, i32 1
  %200 = load i32, ptr %199, align 1, !tbaa !11
  %201 = zext i32 %200 to i64
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = mul nsw i64 %201, %203
  %205 = load ptr, ptr %13, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %205, i32 0, i32 4
  %207 = load i32, ptr %206, align 1, !tbaa !19
  %208 = zext i32 %207 to i64
  %209 = mul nsw i64 %204, %208
  %210 = load ptr, ptr %12, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %210, i32 0, i32 3
  %212 = load i32, ptr %211, align 4, !tbaa !20
  %213 = zext i32 %212 to i64
  %214 = mul nsw i64 %209, %213
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %188, i32 noundef 4097, i32 noundef %191, i32 noundef %194, i32 noundef %197, i64 noundef %214)
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = load ptr, ptr %11, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %216, i32 0, i32 5
  %218 = load i32, ptr %217, align 4, !tbaa !23
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %219, i32 0, i32 24
  %221 = load i32, ptr %220, align 4, !tbaa !24
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %222, i32 0, i32 5
  %224 = load i32, ptr %223, align 4, !tbaa !23
  %225 = load ptr, ptr %13, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %225, i32 0, i32 1
  %227 = load i32, ptr %226, align 1, !tbaa !11
  %228 = zext i32 %227 to i64
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = mul nsw i64 %228, %230
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %232, i32 0, i32 5
  %234 = load i32, ptr %233, align 1, !tbaa !25
  %235 = zext i32 %234 to i64
  %236 = mul nsw i64 %231, %235
  %237 = load ptr, ptr %12, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %237, i32 0, i32 5
  %239 = load i32, ptr %238, align 4, !tbaa !26
  %240 = zext i32 %239 to i64
  %241 = mul nsw i64 %236, %240
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %215, i32 noundef 4097, i32 noundef %218, i32 noundef %221, i32 noundef %224, i64 noundef %241)
  br label %251

242:                                              ; preds = %162, %159
  %243 = load ptr, ptr %9, align 8, !tbaa !5
  %244 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %245 = icmp ult i32 1, %244
  br i1 %245, label %246, label %248

246:                                              ; preds = %242
  %247 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %249

248:                                              ; preds = %242
  br label %249

249:                                              ; preds = %248, %246
  %250 = phi i32 [ %247, %246 ], [ 1, %248 ]
  call void @libxsmm_handle_error(ptr noundef %243, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_packed_gemm_aarch64_mloop, ptr noundef @.str, i32 noundef 231, i32 noundef %250)
  store i32 1, ptr %21, align 4
  br label %294

251:                                              ; preds = %165
  br label %252

252:                                              ; preds = %251, %60
  br label %253

253:                                              ; preds = %252, %43
  %254 = load ptr, ptr %9, align 8, !tbaa !5
  %255 = load ptr, ptr %11, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %255, i32 0, i32 1
  %257 = load i32, ptr %256, align 4, !tbaa !27
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %258, i32 0, i32 22
  %260 = load i32, ptr %259, align 4, !tbaa !28
  %261 = load ptr, ptr %11, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %261, i32 0, i32 1
  %263 = load i32, ptr %262, align 4, !tbaa !27
  %264 = load ptr, ptr %12, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %264, i32 0, i32 3
  %266 = load i32, ptr %265, align 4, !tbaa !20
  %267 = zext i32 %266 to i64
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = mul nsw i64 %267, %269
  %271 = load i32, ptr %16, align 4, !tbaa !9
  %272 = zext i32 %271 to i64
  %273 = mul nsw i64 %270, %272
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %254, i32 noundef 4096, i32 noundef %257, i32 noundef %260, i32 noundef %263, i64 noundef %273)
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  %275 = load ptr, ptr %11, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %275, i32 0, i32 5
  %277 = load i32, ptr %276, align 4, !tbaa !23
  %278 = load ptr, ptr %11, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %278, i32 0, i32 24
  %280 = load i32, ptr %279, align 4, !tbaa !24
  %281 = load ptr, ptr %11, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %281, i32 0, i32 5
  %283 = load i32, ptr %282, align 4, !tbaa !23
  %284 = load ptr, ptr %12, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %284, i32 0, i32 5
  %286 = load i32, ptr %285, align 4, !tbaa !26
  %287 = zext i32 %286 to i64
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = mul nsw i64 %287, %289
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = zext i32 %291 to i64
  %293 = mul nsw i64 %290, %292
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %274, i32 noundef 4096, i32 noundef %277, i32 noundef %280, i32 noundef %283, i64 noundef %293)
  store i32 0, ptr %21, align 4
  br label %294

294:                                              ; preds = %253, %249, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  %295 = load i32, ptr %21, align 4
  switch i32 %295, label %297 [
    i32 0, label %296
    i32 1, label %296
  ]

296:                                              ; preds = %294, %294
  ret void

297:                                              ; preds = %294
  unreachable
}

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

declare i32 @libxsmm_compute_equalized_blocking(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef, i32 noundef, i32 noundef, i32 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 4}
!12 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 32, !13, i64 33, !13, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !14, i64 62, !14, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !14, i64 70, !14, i64 72, !14, i64 74, !14, i64 76, !14, i64 78, !14, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!16, !10, i64 44}
!16 = !{!"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}
!17 = !{!16, !10, i64 12}
!18 = !{!16, !10, i64 92}
!19 = !{!12, !10, i64 16}
!20 = !{!21, !10, i64 12}
!21 = !{!"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, !22, 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}
!22 = !{!"libxsmm_tile_config", !7, i64 0, !14, i64 2, !7, i64 4, !14, i64 6, !7, i64 8, !14, i64 10, !7, i64 12, !14, i64 14, !7, i64 16, !14, i64 18, !7, i64 20, !14, i64 22, !7, i64 24, !14, i64 26, !7, i64 28, !14, i64 30, !7, i64 32}
!23 = !{!16, !10, i64 20}
!24 = !{!16, !10, i64 96}
!25 = !{!12, !10, i64 20}
!26 = !{!21, !10, i64 20}
!27 = !{!16, !10, i64 4}
!28 = !{!16, !10, i64 88}


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

@__func__.libxsmm_generator_packed_gemm_aarch64_mloop = external hidden unnamed_addr constant [44 x i8], align 1
@.str = external hidden unnamed_addr constant [85 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4

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

; Function Attrs: mustprogress 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) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_aarch64_mloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #2 {
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
  store i32 0, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %4, i64 4
  %14 = load i32, ptr %13, align 1, !tbaa !9
  %15 = call i32 @libxsmm_compute_equalized_blocking(i32 noundef %14, i32 noundef %6, ptr noundef nonnull %9, ptr noundef nonnull %11, ptr noundef nonnull %10, ptr noundef nonnull %12) #3
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %21, label %16

16:                                               ; preds = %8
  %17 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %18 = icmp ugt i32 %17, 1
  %19 = load i32, ptr @libxsmm_verbosity, align 4
  %20 = select i1 %18, i32 %19, i32 1
  call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_packed_gemm_aarch64_mloop, ptr noundef nonnull @.str, i32 noundef 174, i32 noundef %20) #3
  br label %138

21:                                               ; preds = %8
  %22 = load i32, ptr %11, align 4, !tbaa !5
  %23 = load i32, ptr %13, align 1, !tbaa !9
  %24 = icmp eq i32 %22, %23
  br i1 %24, label %25, label %26

25:                                               ; preds = %21
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %4, i32 noundef %5, i32 noundef %22, i32 noundef %7)
  %.pre = zext i32 %5 to i64
  br label %119

26:                                               ; preds = %21
  %27 = load i32, ptr %9, align 4, !tbaa !5
  %28 = icmp ne i32 %27, 0
  %29 = load i32, ptr %10, align 4
  %30 = icmp ne i32 %29, 0
  %or.cond = select i1 %28, i1 %30, i1 false
  br i1 %or.cond, label %31, label %75

31:                                               ; preds = %26
  %32 = getelementptr inbounds i8, ptr %2, i64 44
  %33 = load i32, ptr %32, align 4, !tbaa !13
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %33, i32 noundef %27) #3
  %34 = load i32, ptr %11, align 4, !tbaa !5
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %4, i32 noundef %5, i32 noundef %34, i32 noundef %7)
  %35 = load i32, ptr %32, align 4, !tbaa !13
  %36 = load i32, ptr %11, align 4, !tbaa !5
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %35, i32 noundef %36) #3
  %37 = load i32, ptr %32, align 4, !tbaa !13
  %38 = load i32, ptr %13, align 1, !tbaa !9
  %39 = load i32, ptr %9, align 4, !tbaa !5
  %40 = sub i32 %38, %39
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %37, i32 noundef %40) #3
  %41 = load i32, ptr %12, align 4, !tbaa !5
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %4, i32 noundef %5, i32 noundef %41, i32 noundef %7)
  %42 = load i32, ptr %32, align 4, !tbaa !13
  %43 = load i32, ptr %12, align 4, !tbaa !5
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %42, i32 noundef %43) #3
  %44 = getelementptr inbounds i8, ptr %2, i64 12
  %45 = load i32, ptr %44, align 4, !tbaa !15
  %46 = getelementptr inbounds i8, ptr %2, i64 92
  %47 = load i32, ptr %46, align 4, !tbaa !16
  %48 = load i32, ptr %13, align 1, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = zext i32 %5 to i64
  %51 = mul nuw nsw i64 %49, %50
  %52 = getelementptr inbounds i8, ptr %4, i64 16
  %53 = load i32, ptr %52, align 1, !tbaa !17
  %54 = zext i32 %53 to i64
  %55 = mul nuw nsw i64 %51, %54
  %56 = getelementptr inbounds i8, ptr %3, i64 12
  %57 = load i32, ptr %56, align 4, !tbaa !18
  %58 = zext i32 %57 to i64
  %59 = mul nuw nsw i64 %55, %58
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %45, i32 noundef %47, i32 noundef %45, i64 noundef %59) #3
  %60 = getelementptr inbounds i8, ptr %2, i64 20
  %61 = load i32, ptr %60, align 4, !tbaa !22
  %62 = getelementptr inbounds i8, ptr %2, i64 96
  %63 = load i32, ptr %62, align 4, !tbaa !23
  %64 = load i32, ptr %13, align 1, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = mul nuw nsw i64 %65, %50
  %67 = getelementptr inbounds i8, ptr %4, i64 20
  %68 = load i32, ptr %67, align 1, !tbaa !24
  %69 = zext i32 %68 to i64
  %70 = mul nuw nsw i64 %66, %69
  %71 = getelementptr inbounds i8, ptr %3, i64 20
  %72 = load i32, ptr %71, align 4, !tbaa !25
  %73 = zext i32 %72 to i64
  %74 = mul nuw nsw i64 %70, %73
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %61, i32 noundef %63, i32 noundef %61, i64 noundef %74) #3
  br label %119

75:                                               ; preds = %26
  %76 = icmp eq i32 %29, 0
  %or.cond3 = select i1 %28, i1 %76, i1 false
  br i1 %or.cond3, label %77, label %114

77:                                               ; preds = %75
  %78 = getelementptr inbounds i8, ptr %2, i64 44
  %79 = load i32, ptr %78, align 4, !tbaa !13
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %79, i32 noundef %23) #3
  %80 = load i32, ptr %11, align 4, !tbaa !5
  call void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %4, i32 noundef %5, i32 noundef %80, i32 noundef %7)
  %81 = load i32, ptr %78, align 4, !tbaa !13
  %82 = load i32, ptr %11, align 4, !tbaa !5
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %81, i32 noundef %82) #3
  %83 = getelementptr inbounds i8, ptr %2, i64 12
  %84 = load i32, ptr %83, align 4, !tbaa !15
  %85 = getelementptr inbounds i8, ptr %2, i64 92
  %86 = load i32, ptr %85, align 4, !tbaa !16
  %87 = load i32, ptr %13, align 1, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = zext i32 %5 to i64
  %90 = mul nuw nsw i64 %88, %89
  %91 = getelementptr inbounds i8, ptr %4, i64 16
  %92 = load i32, ptr %91, align 1, !tbaa !17
  %93 = zext i32 %92 to i64
  %94 = mul nuw nsw i64 %90, %93
  %95 = getelementptr inbounds i8, ptr %3, i64 12
  %96 = load i32, ptr %95, align 4, !tbaa !18
  %97 = zext i32 %96 to i64
  %98 = mul nuw nsw i64 %94, %97
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %84, i32 noundef %86, i32 noundef %84, i64 noundef %98) #3
  %99 = getelementptr inbounds i8, ptr %2, i64 20
  %100 = load i32, ptr %99, align 4, !tbaa !22
  %101 = getelementptr inbounds i8, ptr %2, i64 96
  %102 = load i32, ptr %101, align 4, !tbaa !23
  %103 = load i32, ptr %13, align 1, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = mul nuw nsw i64 %104, %89
  %106 = getelementptr inbounds i8, ptr %4, i64 20
  %107 = load i32, ptr %106, align 1, !tbaa !24
  %108 = zext i32 %107 to i64
  %109 = mul nuw nsw i64 %105, %108
  %110 = getelementptr inbounds i8, ptr %3, i64 20
  %111 = load i32, ptr %110, align 4, !tbaa !25
  %112 = zext i32 %111 to i64
  %113 = mul nuw nsw i64 %109, %112
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %100, i32 noundef %102, i32 noundef %100, i64 noundef %113) #3
  br label %119

114:                                              ; preds = %75
  %115 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %116 = icmp ugt i32 %115, 1
  %117 = load i32, ptr @libxsmm_verbosity, align 4
  %118 = select i1 %116, i32 %117, i32 1
  call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_packed_gemm_aarch64_mloop, ptr noundef nonnull @.str, i32 noundef 231, i32 noundef %118) #3
  br label %138

119:                                              ; preds = %31, %77, %25
  %.pre-phi = phi i64 [ %50, %31 ], [ %89, %77 ], [ %.pre, %25 ]
  %120 = getelementptr inbounds i8, ptr %2, i64 4
  %121 = load i32, ptr %120, align 4, !tbaa !26
  %122 = getelementptr inbounds i8, ptr %2, i64 88
  %123 = load i32, ptr %122, align 4, !tbaa !27
  %124 = getelementptr inbounds i8, ptr %3, i64 12
  %125 = load i32, ptr %124, align 4, !tbaa !18
  %126 = zext i32 %125 to i64
  %127 = zext i32 %7 to i64
  %128 = mul nuw i64 %.pre-phi, %127
  %129 = mul i64 %128, %126
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %121, i32 noundef %123, i32 noundef %121, i64 noundef %129) #3
  %130 = getelementptr inbounds i8, ptr %2, i64 20
  %131 = load i32, ptr %130, align 4, !tbaa !22
  %132 = getelementptr inbounds i8, ptr %2, i64 96
  %133 = load i32, ptr %132, align 4, !tbaa !23
  %134 = getelementptr inbounds i8, ptr %3, i64 20
  %135 = load i32, ptr %134, align 4, !tbaa !25
  %136 = zext i32 %135 to i64
  %137 = mul i64 %128, %136
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %131, i32 noundef %133, i32 noundef %131, i64 noundef %137) #3
  br label %138

138:                                              ; preds = %119, %114, %16
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
  ret void
}

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

declare i32 @libxsmm_compute_equalized_blocking(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass