; LLVM IR from libxsmm/libxsmm :: src (generator_matequation_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_matequation_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.libxsmm_mateltwise_gp_reg_mapping_struct, %struct.libxsmm_gp_reg_mapping_struct }
%struct.libxsmm_mateltwise_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, i32, i32, i32, i32 }
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_matequation_kernel_config_struct = type { 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, [32 x i32], i32, i32, i32, i32, ptr, ptr, i32, i32, i32, [64 x i32], [64 x i32], %struct.libxsmm_mateltwise_kernel_config_struct, %struct.libxsmm_micro_kernel_config }
%struct.libxsmm_mateltwise_kernel_config_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, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, 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 }
%struct.libxsmm_loop_label_tracker_struct = type { [512 x i32], i32 }
%struct.libxsmm_meqn_fusion_knobs = type { i32 }
%struct.libxsmm_meqn_descriptor = type <{ i32, i32, i32, i8, i32 }>
%struct.libxsmm_matrix_eqn = type { ptr, ptr, i32, i32, i32, i32 }
%struct.libxsmm_meqn_elem = type { ptr, ptr, ptr, ptr, i32, %union.libxsmm_meqn_info, i32, i32, %struct.libxsmm_meqn_tmp_info, i32, i32, i32, %union.libxsmm_meqn_fusion_info }
%union.libxsmm_meqn_info = type { %struct.libxsmm_meqn_arg }
%struct.libxsmm_meqn_arg = type { i32, i32, i32, i32, i32, i32, i32, %struct.libxsmm_matrix_arg_attributes }
%struct.libxsmm_matrix_arg_attributes = type { i32, i32, i32, i32 }
%struct.libxsmm_meqn_tmp_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%union.libxsmm_meqn_fusion_info = type { %struct.libxsmm_meqn_xgemm_fusion_info }
%struct.libxsmm_meqn_xgemm_fusion_info = type { i32, i32, i32, i32, i32 }
%struct.libxsmm_meqn_unary_op = type { i32, i32, i32, i32 }
%struct.libxsmm_meqn_ternary_op = type { i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_meqn_binary_op = type { i32, i32, i32, i32, i32, i32 }

@.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
@stderr = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [60 x i8], align 1
@__func__.libxsmm_generator_matequation_aarch64_kernel = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [371 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_generator_matequation_aarch64_kernel = external hidden unnamed_addr constant [109 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_matequation_aarch64_init_micro_kernel_config(ptr noundef, ptr noundef) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_decompose_equation_tree_aarch64(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @libxsmm_generator_matequation_aarch64_valid_arch_precision(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_matequation_aarch64_kernel(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.libxsmm_matequation_gp_reg_mapping_struct, align 4
  %6 = alloca %struct.libxsmm_matequation_kernel_config_struct, align 8
  %7 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %struct.libxsmm_meqn_fusion_knobs, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %struct.libxsmm_meqn_descriptor, align 1
  %20 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 352, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 2080, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 2052, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %21, i32 0, i32 4
  %23 = load i32, ptr %22, align 1, !tbaa !9
  store i32 %23, ptr %8, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %24 = load i32, ptr %8, align 4, !tbaa !12
  %25 = call ptr @libxsmm_meqn_get_equation(i32 noundef %24)
  store ptr %25, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 256, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 2, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 38, ptr %15, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.memset.p0.i64(ptr align 4 %16, i8 0, i64 4, i1 false)
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %31

28:                                               ; preds = %2
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.6) #8
  store i32 1, ptr %17, align 4
  br label %443

31:                                               ; preds = %2
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call i32 @libxsmm_generator_matequation_aarch64_valid_arch_precision(ptr noundef %32, ptr noundef %33, ptr noundef %34)
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %46

37:                                               ; preds = %31
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %40 = icmp ult i32 1, %39
  br i1 %40, label %41, label %43

41:                                               ; preds = %37
  %42 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !12
  br label %44

43:                                               ; preds = %37
  br label %44

44:                                               ; preds = %43, %41
  %45 = phi i32 [ %42, %41 ], [ 1, %43 ]
  call void @libxsmm_handle_error(ptr noundef %38, i32 noundef 90006, ptr noundef @__func__.libxsmm_generator_matequation_aarch64_kernel, ptr noundef @.str, i32 noundef 487, i32 noundef %45)
  store i32 1, ptr %17, align 4
  br label %443

46:                                               ; preds = %31
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  call void @libxsmm_generator_matequation_aarch64_init_micro_kernel_config(ptr noundef %47, ptr noundef %6)
  call void @libxsmm_reset_loop_label_tracker(ptr noundef %7)
  call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 352, i1 false)
  %48 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 0
  store i32 32, ptr %48, align 4, !tbaa !13
  %49 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 12
  store i32 38, ptr %49, align 4, !tbaa !17
  %50 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 15
  store i32 38, ptr %50, align 4, !tbaa !18
  %51 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 5
  store i32 33, ptr %51, align 4, !tbaa !19
  %52 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 13
  store i32 34, ptr %52, align 4, !tbaa !20
  %53 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 16
  store i32 34, ptr %53, align 4, !tbaa !21
  %54 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 14
  store i32 35, ptr %54, align 4, !tbaa !22
  %55 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 17
  store i32 35, ptr %55, align 4, !tbaa !23
  %56 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 8
  store i32 36, ptr %56, align 4, !tbaa !24
  %57 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 9
  store i32 37, ptr %57, align 4, !tbaa !25
  %58 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 46
  store i32 19, ptr %58, align 8, !tbaa !26
  %59 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %60 = getelementptr inbounds [32 x i32], ptr %59, i64 0, i64 0
  store i32 39, ptr %60, align 4, !tbaa !12
  %61 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %62 = getelementptr inbounds [32 x i32], ptr %61, i64 0, i64 1
  store i32 40, ptr %62, align 4, !tbaa !12
  %63 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %64 = getelementptr inbounds [32 x i32], ptr %63, i64 0, i64 2
  store i32 41, ptr %64, align 4, !tbaa !12
  %65 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %66 = getelementptr inbounds [32 x i32], ptr %65, i64 0, i64 3
  store i32 42, ptr %66, align 4, !tbaa !12
  %67 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %68 = getelementptr inbounds [32 x i32], ptr %67, i64 0, i64 4
  store i32 43, ptr %68, align 4, !tbaa !12
  %69 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %70 = getelementptr inbounds [32 x i32], ptr %69, i64 0, i64 5
  store i32 44, ptr %70, align 4, !tbaa !12
  %71 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %72 = getelementptr inbounds [32 x i32], ptr %71, i64 0, i64 6
  store i32 45, ptr %72, align 4, !tbaa !12
  %73 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %74 = getelementptr inbounds [32 x i32], ptr %73, i64 0, i64 7
  store i32 46, ptr %74, align 4, !tbaa !12
  %75 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %76 = getelementptr inbounds [32 x i32], ptr %75, i64 0, i64 8
  store i32 47, ptr %76, align 4, !tbaa !12
  %77 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %78 = getelementptr inbounds [32 x i32], ptr %77, i64 0, i64 9
  store i32 51, ptr %78, align 4, !tbaa !12
  %79 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %80 = getelementptr inbounds [32 x i32], ptr %79, i64 0, i64 10
  store i32 52, ptr %80, align 4, !tbaa !12
  %81 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %82 = getelementptr inbounds [32 x i32], ptr %81, i64 0, i64 11
  store i32 53, ptr %82, align 4, !tbaa !12
  %83 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %84 = getelementptr inbounds [32 x i32], ptr %83, i64 0, i64 12
  store i32 54, ptr %84, align 4, !tbaa !12
  %85 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %86 = getelementptr inbounds [32 x i32], ptr %85, i64 0, i64 13
  store i32 55, ptr %86, align 4, !tbaa !12
  %87 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %88 = getelementptr inbounds [32 x i32], ptr %87, i64 0, i64 14
  store i32 56, ptr %88, align 4, !tbaa !12
  %89 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %90 = getelementptr inbounds [32 x i32], ptr %89, i64 0, i64 15
  store i32 57, ptr %90, align 4, !tbaa !12
  %91 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %92 = getelementptr inbounds [32 x i32], ptr %91, i64 0, i64 16
  store i32 58, ptr %92, align 4, !tbaa !12
  %93 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %94 = getelementptr inbounds [32 x i32], ptr %93, i64 0, i64 17
  store i32 59, ptr %94, align 4, !tbaa !12
  %95 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 47
  %96 = getelementptr inbounds [32 x i32], ptr %95, i64 0, i64 18
  store i32 60, ptr %96, align 4, !tbaa !12
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %97, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !32
  %100 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %99, i32 0, i32 4
  %101 = load i32, ptr %100, align 8, !tbaa !32
  %102 = icmp eq i32 %101, 1
  br i1 %102, label %103, label %117

103:                                              ; preds = %46
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !32
  %107 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %106, i32 0, i32 5
  %108 = getelementptr inbounds %struct.libxsmm_meqn_unary_op, ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 4, !tbaa !32
  %110 = icmp eq i32 %109, 33
  br i1 %110, label %111, label %117

111:                                              ; preds = %103
  %112 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 46
  %113 = load i32, ptr %112, align 8, !tbaa !26
  %114 = sub i32 %113, 1
  %115 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 46
  store i32 %114, ptr %115, align 8, !tbaa !26
  %116 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 11
  store i32 60, ptr %116, align 4, !tbaa !33
  br label %117

117:                                              ; preds = %111, %103, %46
  %118 = load i32, ptr %12, align 4, !tbaa !12
  %119 = zext i32 %118 to i64
  %120 = mul i64 %119, 8
  %121 = call noalias ptr @malloc(i64 noundef %120) #9
  store ptr %121, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_meqn_fusion_knobs, ptr %16, i32 0, i32 0
  store i32 1, ptr %122, align 4, !tbaa !34
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_generator_decompose_equation_tree_aarch64(ptr noundef %123, ptr noundef %124, ptr noundef %11, ptr noundef %16)
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_open_stream(ptr noundef %125, i16 noundef zeroext 3599)
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = load i32, ptr %13, align 4, !tbaa !12
  call void @libxsmm_generator_matequation_setup_stack_frame_aarch64(ptr noundef %126, ptr noundef %127, ptr noundef %5, ptr noundef %6, ptr noundef %128, i32 noundef %129)
  store i32 0, ptr %14, align 4, !tbaa !12
  br label %130

130:                                              ; preds = %435, %117
  %131 = load i32, ptr %14, align 4, !tbaa !12
  %132 = load i32, ptr %11, align 4, !tbaa !12
  %133 = icmp ult i32 %131, %132
  br i1 %133, label %134, label %438

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = load i32, ptr %14, align 4, !tbaa !12
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds ptr, ptr %135, i64 %137
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  store ptr %139, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 17, ptr %19) #8
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 %140, i64 17, i1 false), !tbaa.struct !36
  %141 = load i32, ptr %14, align 4, !tbaa !12
  %142 = load i32, ptr %11, align 4, !tbaa !12
  %143 = sub i32 %142, 1
  %144 = icmp eq i32 %141, %143
  br i1 %144, label %145, label %149

145:                                              ; preds = %134
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 12
  %148 = load i32, ptr %147, align 4, !tbaa !17
  call void @libxsmm_generator_meqn_getval_stack_var_aarch64(ptr noundef %146, i32 noundef 3, i32 noundef %148)
  br label %258

149:                                              ; preds = %134
  %150 = load ptr, ptr %18, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %150, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8, !tbaa !32
  %153 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %152, i32 0, i32 8
  %154 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %153, i32 0, i32 0
  %155 = load i32, ptr %154, align 8, !tbaa !32
  %156 = icmp sge i32 %155, 0
  br i1 %156, label %157, label %172

157:                                              ; preds = %149
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = load ptr, ptr %18, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %159, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8, !tbaa !32
  %162 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %161, i32 0, i32 8
  %163 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %162, i32 0, i32 0
  %164 = load i32, ptr %163, align 8, !tbaa !32
  %165 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 51
  %166 = load i32, ptr %165, align 8, !tbaa !37
  %167 = mul i32 %164, %166
  %168 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 15
  %169 = load i32, ptr %168, align 4, !tbaa !18
  %170 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 12
  %171 = load i32, ptr %170, align 4, !tbaa !17
  call void @libxsmm_generator_meqn_getaddr_stack_tmp_i_aarch64(ptr noundef %158, i32 noundef %167, i32 noundef %169, i32 noundef %171)
  br label %195

172:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %173 = load ptr, ptr %18, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %173, i32 0, i32 0
  %175 = load ptr, ptr %174, align 8, !tbaa !32
  %176 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %175, i32 0, i32 8
  %177 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %176, i32 0, i32 0
  %178 = load i32, ptr %177, align 8, !tbaa !32
  %179 = sub nsw i32 -1, %178
  store i32 %179, ptr %20, align 4, !tbaa !12
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 0
  %182 = load i32, ptr %181, align 4, !tbaa !13
  %183 = load i32, ptr %15, align 4, !tbaa !12
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %180, i32 noundef -1186988026, i32 noundef %182, i32 noundef 127, i32 noundef 8, i32 noundef %183)
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = load i32, ptr %15, align 4, !tbaa !12
  %186 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 13
  %187 = load i32, ptr %186, align 4, !tbaa !20
  %188 = load i32, ptr %15, align 4, !tbaa !12
  %189 = load i32, ptr %20, align 4, !tbaa !12
  %190 = sext i32 %189 to i64
  %191 = mul nsw i64 %190, 48
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %184, i32 noundef 4096, i32 noundef %185, i32 noundef %187, i32 noundef %188, i64 noundef %191)
  %192 = load ptr, ptr %3, align 8, !tbaa !5
  %193 = load i32, ptr %15, align 4, !tbaa !12
  %194 = load i32, ptr %15, align 4, !tbaa !12
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %192, i32 noundef -1186988026, i32 noundef %193, i32 noundef 127, i32 noundef 0, i32 noundef %194)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %195

195:                                              ; preds = %172, %157
  %196 = load ptr, ptr %18, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %196, i32 0, i32 0
  %198 = load ptr, ptr %197, align 8, !tbaa !32
  %199 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %198, i32 0, i32 8
  %200 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %199, i32 0, i32 4
  %201 = load i32, ptr %200, align 8, !tbaa !32
  %202 = trunc i32 %201 to i8
  %203 = zext i8 %202 to i32
  %204 = icmp eq i32 0, %203
  br i1 %204, label %215, label %205

205:                                              ; preds = %195
  %206 = load ptr, ptr %18, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %206, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8, !tbaa !32
  %209 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %208, i32 0, i32 8
  %210 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %209, i32 0, i32 4
  %211 = load i32, ptr %210, align 8, !tbaa !32
  %212 = trunc i32 %211 to i8
  %213 = zext i8 %212 to i32
  %214 = icmp slt i32 0, %213
  br i1 %214, label %215, label %248

215:                                              ; preds = %205, %195
  %216 = load ptr, ptr %18, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %216, i32 0, i32 0
  %218 = load ptr, ptr %217, align 8, !tbaa !32
  %219 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %218, i32 0, i32 8
  %220 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %219, i32 0, i32 4
  %221 = load i32, ptr %220, align 8, !tbaa !32
  %222 = zext i32 %221 to i64
  %223 = mul i64 1, %222
  %224 = icmp ult i64 %223, 255
  br i1 %224, label %225, label %234

225:                                              ; preds = %215
  %226 = load ptr, ptr %18, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %226, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8, !tbaa !32
  %229 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %228, i32 0, i32 8
  %230 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %229, i32 0, i32 4
  %231 = load i32, ptr %230, align 8, !tbaa !32
  %232 = zext i32 %231 to i64
  %233 = mul i64 1, %232
  br label %235

234:                                              ; preds = %215
  br label %235

235:                                              ; preds = %234, %225
  %236 = phi i64 [ %233, %225 ], [ 255, %234 ]
  %237 = icmp ule i64 %236, 255
  br i1 %237, label %238, label %248

238:                                              ; preds = %235
  %239 = load ptr, ptr %18, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %239, i32 0, i32 0
  %241 = load ptr, ptr %240, align 8, !tbaa !32
  %242 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %241, i32 0, i32 8
  %243 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %242, i32 0, i32 4
  %244 = load i32, ptr %243, align 8, !tbaa !32
  %245 = uitofp i32 %244 to double
  %246 = fcmp ole double 0.000000e+00, %245
  br i1 %246, label %247, label %248

247:                                              ; preds = %238
  br label %249

248:                                              ; preds = %238, %235, %205
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str, i32 noundef 552, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_matequation_aarch64_kernel) #10
  unreachable

249:                                              ; preds = %247
  %250 = load ptr, ptr %18, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %250, i32 0, i32 0
  %252 = load ptr, ptr %251, align 8, !tbaa !32
  %253 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %252, i32 0, i32 8
  %254 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %253, i32 0, i32 4
  %255 = load i32, ptr %254, align 8, !tbaa !32
  %256 = trunc i32 %255 to i8
  %257 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 3
  store i8 %256, ptr %257, align 1, !tbaa !38
  br label %258

258:                                              ; preds = %249, %145
  %259 = load ptr, ptr %3, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 0
  %261 = load i32, ptr %260, align 4, !tbaa !13
  %262 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 12
  %263 = load i32, ptr %262, align 4, !tbaa !17
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %259, i32 noundef -1191182330, i32 noundef %261, i32 noundef 127, i32 noundef 16, i32 noundef %263)
  %264 = load ptr, ptr %18, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %264, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !32
  %267 = call i32 @libxsmm_generator_matequation_is_eqn_node_breaking_point(ptr noundef %266, ptr noundef %16)
  %268 = icmp sgt i32 %267, 0
  br i1 %268, label %269, label %322

269:                                              ; preds = %258
  %270 = load ptr, ptr %18, align 8, !tbaa !5
  call void @libxsmm_meqn_assign_timestamps(ptr noundef %270)
  %271 = load i32, ptr %14, align 4, !tbaa !12
  %272 = load i32, ptr %11, align 4, !tbaa !12
  %273 = sub i32 %272, 1
  %274 = icmp ult i32 %271, %273
  br i1 %274, label %275, label %315

275:                                              ; preds = %269
  %276 = load ptr, ptr %18, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %276, i32 0, i32 0
  %278 = load ptr, ptr %277, align 8, !tbaa !32
  %279 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %278, i32 0, i32 4
  %280 = load i32, ptr %279, align 8, !tbaa !32
  %281 = icmp eq i32 %280, 4
  br i1 %281, label %282, label %306

282:                                              ; preds = %275
  %283 = load ptr, ptr %18, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %283, i32 0, i32 0
  %285 = load ptr, ptr %284, align 8, !tbaa !32
  %286 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %285, i32 0, i32 5
  %287 = getelementptr inbounds %struct.libxsmm_meqn_ternary_op, ptr %286, i32 0, i32 4
  %288 = load i32, ptr %287, align 4, !tbaa !32
  %289 = icmp eq i32 %288, 1
  br i1 %289, label %298, label %290

290:                                              ; preds = %282
  %291 = load ptr, ptr %18, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %291, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !32
  %294 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %293, i32 0, i32 5
  %295 = getelementptr inbounds %struct.libxsmm_meqn_ternary_op, ptr %294, i32 0, i32 5
  %296 = load i32, ptr %295, align 4, !tbaa !32
  %297 = icmp eq i32 %296, 1
  br i1 %297, label %298, label %306

298:                                              ; preds = %290, %282
  %299 = load ptr, ptr %18, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %299, i32 0, i32 0
  %301 = load ptr, ptr %300, align 8, !tbaa !32
  %302 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %301, i32 0, i32 8
  %303 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %302, i32 0, i32 3
  %304 = load i32, ptr %303, align 4, !tbaa !32
  %305 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 2
  store i32 %304, ptr %305, align 1, !tbaa !39
  br label %314

306:                                              ; preds = %290, %275
  %307 = load ptr, ptr %18, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %307, i32 0, i32 0
  %309 = load ptr, ptr %308, align 8, !tbaa !32
  %310 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %309, i32 0, i32 8
  %311 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %310, i32 0, i32 1
  %312 = load i32, ptr %311, align 4, !tbaa !32
  %313 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 2
  store i32 %312, ptr %313, align 1, !tbaa !39
  br label %314

314:                                              ; preds = %306, %298
  br label %315

315:                                              ; preds = %314, %269
  %316 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 18
  %317 = load i8, ptr %316, align 8, !tbaa !40
  %318 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 59
  %319 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %318, i32 0, i32 128
  store i8 %317, ptr %319, align 4, !tbaa !41
  %320 = load ptr, ptr %3, align 8, !tbaa !5
  %321 = load ptr, ptr %18, align 8, !tbaa !5
  call void @libxsmm_generator_matequation_tmp_stack_scratch_aarch64_kernel(ptr noundef %320, ptr noundef %19, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %321)
  br label %434

322:                                              ; preds = %258
  %323 = load ptr, ptr %18, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %323, i32 0, i32 0
  %325 = load ptr, ptr %324, align 8, !tbaa !32
  %326 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %325, i32 0, i32 4
  %327 = load i32, ptr %326, align 8, !tbaa !32
  %328 = icmp eq i32 %327, 1
  br i1 %328, label %329, label %338

329:                                              ; preds = %322
  %330 = load ptr, ptr %18, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %330, i32 0, i32 0
  %332 = load ptr, ptr %331, align 8, !tbaa !32
  %333 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %332, i32 0, i32 5
  %334 = getelementptr inbounds %struct.libxsmm_meqn_unary_op, ptr %333, i32 0, i32 0
  %335 = load i32, ptr %334, align 4, !tbaa !32
  %336 = call i32 @libxsmm_meqn_is_unary_opcode_reduce_to_scalar(i32 noundef %335)
  %337 = icmp sgt i32 %336, 0
  br i1 %337, label %354, label %338

338:                                              ; preds = %329, %322
  %339 = load ptr, ptr %18, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %339, i32 0, i32 0
  %341 = load ptr, ptr %340, align 8, !tbaa !32
  %342 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %341, i32 0, i32 4
  %343 = load i32, ptr %342, align 8, !tbaa !32
  %344 = icmp eq i32 %343, 2
  br i1 %344, label %345, label %373

345:                                              ; preds = %338
  %346 = load ptr, ptr %18, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %346, i32 0, i32 0
  %348 = load ptr, ptr %347, align 8, !tbaa !32
  %349 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %348, i32 0, i32 5
  %350 = getelementptr inbounds %struct.libxsmm_meqn_binary_op, ptr %349, i32 0, i32 0
  %351 = load i32, ptr %350, align 4, !tbaa !32
  %352 = call i32 @libxsmm_meqn_is_binary_opcode_reduce_to_scalar(i32 noundef %351)
  %353 = icmp sgt i32 %352, 0
  br i1 %353, label %354, label %373

354:                                              ; preds = %345, %329
  %355 = load ptr, ptr %18, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %355, i32 0, i32 0
  %357 = load ptr, ptr %356, align 8, !tbaa !32
  %358 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %357, i32 0, i32 0
  %359 = load ptr, ptr %358, align 8, !tbaa !32
  %360 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %359, i32 0, i32 8
  %361 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %360, i32 0, i32 1
  %362 = load i32, ptr %361, align 4, !tbaa !32
  %363 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 0
  store i32 %362, ptr %363, align 1, !tbaa !42
  %364 = load ptr, ptr %18, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %364, i32 0, i32 0
  %366 = load ptr, ptr %365, align 8, !tbaa !32
  %367 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %366, i32 0, i32 0
  %368 = load ptr, ptr %367, align 8, !tbaa !32
  %369 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %368, i32 0, i32 8
  %370 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %369, i32 0, i32 2
  %371 = load i32, ptr %370, align 8, !tbaa !32
  %372 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 1
  store i32 %371, ptr %372, align 1, !tbaa !43
  br label %388

373:                                              ; preds = %345, %338
  %374 = load ptr, ptr %18, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %374, i32 0, i32 0
  %376 = load ptr, ptr %375, align 8, !tbaa !32
  %377 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %376, i32 0, i32 8
  %378 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %377, i32 0, i32 1
  %379 = load i32, ptr %378, align 4, !tbaa !32
  %380 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 0
  store i32 %379, ptr %380, align 1, !tbaa !42
  %381 = load ptr, ptr %18, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %381, i32 0, i32 0
  %383 = load ptr, ptr %382, align 8, !tbaa !32
  %384 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %383, i32 0, i32 8
  %385 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %384, i32 0, i32 2
  %386 = load i32, ptr %385, align 8, !tbaa !32
  %387 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 1
  store i32 %386, ptr %387, align 1, !tbaa !43
  br label %388

388:                                              ; preds = %373, %354
  %389 = load i32, ptr %14, align 4, !tbaa !12
  %390 = load i32, ptr %11, align 4, !tbaa !12
  %391 = sub i32 %390, 1
  %392 = icmp ult i32 %389, %391
  br i1 %392, label %393, label %401

393:                                              ; preds = %388
  %394 = load ptr, ptr %18, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %394, i32 0, i32 0
  %396 = load ptr, ptr %395, align 8, !tbaa !32
  %397 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %396, i32 0, i32 8
  %398 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %397, i32 0, i32 1
  %399 = load i32, ptr %398, align 4, !tbaa !32
  %400 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %19, i32 0, i32 2
  store i32 %399, ptr %400, align 1, !tbaa !39
  br label %401

401:                                              ; preds = %393, %388
  %402 = load ptr, ptr %18, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %402, i32 0, i32 0
  %404 = load ptr, ptr %403, align 8, !tbaa !32
  %405 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %404, i32 0, i32 4
  %406 = load i32, ptr %405, align 8, !tbaa !32
  %407 = icmp eq i32 %406, 1
  br i1 %407, label %408, label %425

408:                                              ; preds = %401
  %409 = load ptr, ptr %18, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %409, i32 0, i32 0
  %411 = load ptr, ptr %410, align 8, !tbaa !32
  %412 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %411, i32 0, i32 5
  %413 = getelementptr inbounds %struct.libxsmm_meqn_unary_op, ptr %412, i32 0, i32 0
  %414 = load i32, ptr %413, align 4, !tbaa !32
  %415 = icmp eq i32 %414, 33
  br i1 %415, label %416, label %425

416:                                              ; preds = %408
  %417 = load ptr, ptr %3, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 11
  %419 = load i32, ptr %418, align 4, !tbaa !33
  call void @libxsmm_generator_meqn_getval_stack_var_aarch64(ptr noundef %417, i32 noundef 29, i32 noundef %419)
  %420 = load ptr, ptr %3, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 11
  %422 = load i32, ptr %421, align 4, !tbaa !33
  %423 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %5, i32 0, i32 11
  %424 = load i32, ptr %423, align 4, !tbaa !33
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %420, i32 noundef -1186988026, i32 noundef %422, i32 noundef 127, i32 noundef 0, i32 noundef %424)
  br label %425

425:                                              ; preds = %416, %408, %401
  %426 = load ptr, ptr %18, align 8, !tbaa !5
  call void @libxsmm_meqn_reoptimize(ptr noundef %426)
  %427 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 59
  call void @llvm.memset.p0.i64(ptr align 4 %427, i8 0, i64 516, i1 false)
  %428 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 18
  %429 = load i8, ptr %428, align 8, !tbaa !40
  %430 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %6, i32 0, i32 59
  %431 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %430, i32 0, i32 128
  store i8 %429, ptr %431, align 4, !tbaa !41
  %432 = load ptr, ptr %3, align 8, !tbaa !5
  %433 = load ptr, ptr %18, align 8, !tbaa !5
  call void @libxsmm_generator_matequation_tmp_register_block_aarch64_kernel(ptr noundef %432, ptr noundef %19, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %433)
  br label %434

434:                                              ; preds = %425, %315
  call void @llvm.lifetime.end.p0(i64 17, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %435

435:                                              ; preds = %434
  %436 = load i32, ptr %14, align 4, !tbaa !12
  %437 = add i32 %436, 1
  store i32 %437, ptr %14, align 4, !tbaa !12
  br label %130, !llvm.loop !44

438:                                              ; preds = %130
  %439 = load ptr, ptr %3, align 8, !tbaa !5
  %440 = load i32, ptr %13, align 4, !tbaa !12
  call void @libxsmm_generator_matequation_destroy_stack_frame_aarch64(ptr noundef %439, ptr noundef %6, ptr noundef %5, i32 noundef %440)
  %441 = load ptr, ptr %3, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_close_stream(ptr noundef %441, i16 noundef zeroext 3599)
  %442 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %442) #8
  store i32 0, ptr %17, align 4
  br label %443

443:                                              ; preds = %438, %44, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 2052, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 2080, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 352, ptr %5) #8
  %444 = load i32, ptr %17, align 4
  switch i32 %444, label %446 [
    i32 0, label %445
    i32 1, label %445
  ]

445:                                              ; preds = %443, %443
  ret void

446:                                              ; preds = %443
  unreachable
}

declare ptr @libxsmm_meqn_get_equation(i32 noundef) #3

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #7

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

declare i32 @libxsmm_generator_matequation_is_eqn_node_breaking_point(ptr noundef, ptr noundef) #3

declare void @libxsmm_meqn_assign_timestamps(ptr noundef) #3

declare void @libxsmm_generator_matequation_tmp_stack_scratch_aarch64_kernel(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @libxsmm_meqn_is_unary_opcode_reduce_to_scalar(i32 noundef) #3

declare i32 @libxsmm_meqn_is_binary_opcode_reduce_to_scalar(i32 noundef) #3

declare void @libxsmm_meqn_reoptimize(ptr noundef) #3

declare void @libxsmm_generator_matequation_tmp_register_block_aarch64_kernel(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind allocsize(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 #8 = { nounwind }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { noreturn 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, !11, i64 13}
!10 = !{!"libxsmm_meqn_descriptor", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !11, i64 13}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"libxsmm_matequation_gp_reg_mapping_struct", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !15, i64 72, !16, i64 220}
!15 = !{!"libxsmm_mateltwise_gp_reg_mapping_struct", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144}
!16 = !{!"libxsmm_gp_reg_mapping_struct", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128}
!17 = !{!14, !11, i64 48}
!18 = !{!14, !11, i64 60}
!19 = !{!14, !11, i64 20}
!20 = !{!14, !11, i64 52}
!21 = !{!14, !11, i64 64}
!22 = !{!14, !11, i64 56}
!23 = !{!14, !11, i64 68}
!24 = !{!14, !11, i64 32}
!25 = !{!14, !11, i64 36}
!26 = !{!27, !11, i64 184}
!27 = !{!"libxsmm_matequation_kernel_config_struct", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !7, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !7, i64 188, !11, i64 316, !11, i64 320, !11, i64 324, !11, i64 328, !6, i64 336, !6, i64 344, !11, i64 352, !11, i64 356, !11, i64 360, !7, i64 364, !7, i64 620, !28, i64 876, !29, i64 1392}
!28 = !{!"libxsmm_mateltwise_kernel_config_struct", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !11, i64 296, !11, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !11, i64 316, !11, i64 320, !11, i64 324, !11, i64 328, !11, i64 332, !11, i64 336, !11, i64 340, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !11, i64 364, !11, i64 368, !11, i64 372, !11, i64 376, !11, i64 380, !11, i64 384, !11, i64 388, !11, i64 392, !11, i64 396, !11, i64 400, !11, i64 404, !11, i64 408, !11, i64 412, !11, i64 416, !11, i64 420, !11, i64 424, !11, i64 428, !11, i64 432, !11, i64 436, !11, i64 440, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !11, i64 488, !11, i64 492, !11, i64 496, !11, i64 500, !11, i64 504, !11, i64 508, !7, i64 512}
!29 = !{!"libxsmm_micro_kernel_config", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !7, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !11, i64 296, !11, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !11, i64 316, !11, i64 320, !11, i64 324, !11, i64 328, !11, i64 332, !11, i64 336, !11, i64 340, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !7, i64 364, !7, i64 380, !7, i64 396, !7, i64 412, !7, i64 428, !7, i64 444, !11, i64 460, !7, i64 464, !30, i64 520, !11, i64 556, !11, i64 560, !11, i64 564, !11, i64 568, !11, i64 572, !11, i64 576, !11, i64 580, !11, i64 584, !6, i64 592, !11, i64 600, !11, i64 604, !11, i64 608, !11, i64 612, !6, i64 616, !11, i64 624, !11, i64 628, !11, i64 632, !11, i64 636, !11, i64 640, !11, i64 644, !11, i64 648, !11, i64 652, !11, i64 656, !11, i64 660, !11, i64 664, !11, i64 668, !11, i64 672, !11, i64 676, !11, i64 680}
!30 = !{!"libxsmm_tile_config", !7, i64 0, !31, i64 2, !7, i64 4, !31, i64 6, !7, i64 8, !31, i64 10, !7, i64 12, !31, i64 14, !7, i64 16, !31, i64 18, !7, i64 20, !31, i64 22, !7, i64 24, !31, i64 26, !7, i64 28, !31, i64 30, !7, i64 32}
!31 = !{!"short", !7, i64 0}
!32 = !{!7, !7, i64 0}
!33 = !{!14, !11, i64 44}
!34 = !{!35, !11, i64 0}
!35 = !{!"libxsmm_meqn_fusion_knobs", !11, i64 0}
!36 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 4, !12, i64 12, i64 1, !32, i64 13, i64 4, !12}
!37 = !{!27, !11, i64 328}
!38 = !{!10, !7, i64 12}
!39 = !{!10, !11, i64 8}
!40 = !{!27, !7, i64 72}
!41 = !{!27, !7, i64 1388}
!42 = !{!10, !11, i64 0}
!43 = !{!10, !11, i64 4}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.libxsmm_matequation_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.libxsmm_mateltwise_gp_reg_mapping_struct, %struct.libxsmm_gp_reg_mapping_struct }
%struct.libxsmm_mateltwise_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, i32, i32, i32, i32 }
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_matequation_kernel_config_struct = type { 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, [32 x i32], i32, i32, i32, i32, ptr, ptr, i32, i32, i32, [64 x i32], [64 x i32], %struct.libxsmm_mateltwise_kernel_config_struct, %struct.libxsmm_micro_kernel_config }
%struct.libxsmm_mateltwise_kernel_config_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, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, 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 }
%struct.libxsmm_loop_label_tracker_struct = type { [512 x i32], i32 }
%struct.libxsmm_meqn_fusion_knobs = type { i32 }
%struct.libxsmm_meqn_descriptor = type <{ i32, i32, i32, i8, i32 }>

@.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
@stderr = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [60 x i8], align 1
@__func__.libxsmm_generator_matequation_aarch64_kernel = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_matequation_aarch64_init_micro_kernel_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_decompose_equation_tree_aarch64(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @libxsmm_generator_matequation_aarch64_valid_arch_precision(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_matequation_aarch64_kernel(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.libxsmm_matequation_gp_reg_mapping_struct, align 4
  %4 = alloca %struct.libxsmm_matequation_kernel_config_struct, align 8
  %5 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.libxsmm_meqn_fusion_knobs, align 4
  %8 = alloca %struct.libxsmm_meqn_descriptor, align 4
  call void @llvm.lifetime.start.p0(i64 352, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 2080, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 2052, ptr nonnull %5) #8
  %9 = getelementptr inbounds i8, ptr %1, i64 13
  %10 = load i32, ptr %9, align 1, !tbaa !5
  %11 = tail call ptr @libxsmm_meqn_get_equation(i32 noundef %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  store i32 0, ptr %6, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %16

13:                                               ; preds = %2
  %14 = load ptr, ptr @stderr, align 8, !tbaa !11
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str.6) #9
  br label %175

16:                                               ; preds = %2
  %17 = tail call i32 @libxsmm_generator_matequation_aarch64_valid_arch_precision(ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %1)
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %24

19:                                               ; preds = %16
  %20 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !10
  %21 = icmp ugt i32 %20, 1
  %22 = load i32, ptr @libxsmm_verbosity, align 4
  %23 = select i1 %21, i32 %22, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90006, ptr noundef nonnull @__func__.libxsmm_generator_matequation_aarch64_kernel, ptr noundef nonnull @.str, i32 noundef 487, i32 noundef %23) #8
  br label %175

24:                                               ; preds = %16
  call void @libxsmm_generator_matequation_aarch64_init_micro_kernel_config(ptr noundef %0, ptr noundef nonnull %4)
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %5) #8
  %25 = getelementptr inbounds i8, ptr %3, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(352) %25, i8 0, i64 348, i1 false)
  store i32 32, ptr %3, align 4, !tbaa !13
  %26 = getelementptr inbounds i8, ptr %3, i64 48
  %27 = getelementptr inbounds i8, ptr %3, i64 60
  %28 = getelementptr inbounds i8, ptr %3, i64 20
  store i32 33, ptr %28, align 4, !tbaa !17
  %29 = getelementptr inbounds i8, ptr %3, i64 52
  %30 = getelementptr inbounds i8, ptr %3, i64 64
  store i32 34, ptr %30, align 4, !tbaa !18
  store <4 x i32> <i32 38, i32 34, i32 35, i32 38>, ptr %26, align 4, !tbaa !10
  %31 = getelementptr inbounds i8, ptr %3, i64 68
  store i32 35, ptr %31, align 4, !tbaa !19
  %32 = getelementptr inbounds i8, ptr %3, i64 32
  store i32 36, ptr %32, align 4, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %3, i64 36
  store i32 37, ptr %33, align 4, !tbaa !21
  %34 = getelementptr inbounds i8, ptr %4, i64 184
  store <4 x i32> <i32 19, i32 39, i32 40, i32 41>, ptr %34, align 8, !tbaa !10
  %35 = getelementptr inbounds i8, ptr %4, i64 200
  store <4 x i32> <i32 42, i32 43, i32 44, i32 45>, ptr %35, align 8, !tbaa !10
  %36 = getelementptr inbounds i8, ptr %4, i64 216
  store <4 x i32> <i32 46, i32 47, i32 51, i32 52>, ptr %36, align 8, !tbaa !10
  %37 = getelementptr inbounds i8, ptr %4, i64 232
  store <4 x i32> <i32 53, i32 54, i32 55, i32 56>, ptr %37, align 8, !tbaa !10
  %38 = getelementptr inbounds i8, ptr %4, i64 248
  store <4 x i32> <i32 57, i32 58, i32 59, i32 60>, ptr %38, align 8, !tbaa !10
  %39 = load ptr, ptr %11, align 8, !tbaa !22
  %40 = getelementptr inbounds i8, ptr %39, i64 32
  %41 = load i32, ptr %40, align 8, !tbaa !22
  %42 = icmp eq i32 %41, 1
  br i1 %42, label %43, label %49

43:                                               ; preds = %24
  %44 = getelementptr inbounds i8, ptr %39, i64 36
  %45 = load i32, ptr %44, align 4, !tbaa !22
  %46 = icmp eq i32 %45, 33
  br i1 %46, label %47, label %49

47:                                               ; preds = %43
  store i32 18, ptr %34, align 8, !tbaa !23
  %48 = getelementptr inbounds i8, ptr %3, i64 44
  store i32 60, ptr %48, align 4, !tbaa !29
  br label %49

49:                                               ; preds = %47, %43, %24
  %50 = call noalias dereferenceable_or_null(2048) ptr @malloc(i64 noundef 2048) #10
  store i32 1, ptr %7, align 4, !tbaa !30
  call void @libxsmm_generator_decompose_equation_tree_aarch64(ptr noundef nonnull %11, ptr noundef %50, ptr noundef nonnull %6, ptr noundef nonnull %7)
  call void @libxsmm_aarch64_instruction_open_stream(ptr noundef %0, i16 noundef zeroext 3599) #8
  call void @libxsmm_generator_matequation_setup_stack_frame_aarch64(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %11, i32 noundef 2)
  %51 = load i32, ptr %6, align 4, !tbaa !10
  %.not = icmp eq i32 %51, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %49
  %52 = getelementptr inbounds i8, ptr %4, i64 328
  %53 = getelementptr inbounds i8, ptr %8, i64 12
  %54 = getelementptr inbounds i8, ptr %8, i64 4
  %55 = getelementptr inbounds i8, ptr %8, i64 8
  %56 = getelementptr inbounds i8, ptr %3, i64 44
  %57 = getelementptr inbounds i8, ptr %4, i64 876
  %58 = getelementptr inbounds i8, ptr %4, i64 72
  %59 = getelementptr inbounds i8, ptr %4, i64 1388
  br label %60

60:                                               ; preds = %.lr.ph, %171
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %171 ]
  %61 = phi i32 [ %51, %.lr.ph ], [ %172, %171 ]
  %62 = getelementptr inbounds ptr, ptr %50, i64 %indvars.iv
  %63 = load ptr, ptr %62, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 17, ptr nonnull %8) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(17) %8, ptr noundef nonnull align 1 dereferenceable(17) %1, i64 17, i1 false), !tbaa.struct !32
  %64 = add i32 %61, -1
  %65 = zext i32 %64 to i64
  %66 = icmp eq i64 %indvars.iv, %65
  br i1 %66, label %67, label %69

67:                                               ; preds = %60
  %68 = load i32, ptr %26, align 4, !tbaa !33
  call void @libxsmm_generator_meqn_getval_stack_var_aarch64(ptr noundef %0, i32 noundef 3, i32 noundef %68)
  br label %90

69:                                               ; preds = %60
  %70 = load ptr, ptr %63, align 8, !tbaa !22
  %71 = getelementptr inbounds i8, ptr %70, i64 88
  %72 = load i32, ptr %71, align 8, !tbaa !22
  %73 = icmp sgt i32 %72, -1
  br i1 %73, label %74, label %79

74:                                               ; preds = %69
  %75 = load i32, ptr %52, align 8, !tbaa !34
  %76 = mul i32 %75, %72
  %77 = load i32, ptr %27, align 4, !tbaa !35
  %78 = load i32, ptr %26, align 4, !tbaa !33
  call void @libxsmm_generator_meqn_getaddr_stack_tmp_i_aarch64(ptr noundef %0, i32 noundef %76, i32 noundef %77, i32 noundef %78)
  br label %85

79:                                               ; preds = %69
  %80 = xor i32 %72, -1
  %81 = load i32, ptr %3, align 4, !tbaa !13
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %0, i32 noundef -1186988026, i32 noundef %81, i32 noundef 127, i32 noundef 8, i32 noundef 38) #8
  %82 = load i32, ptr %29, align 4, !tbaa !36
  %83 = zext nneg i32 %80 to i64
  %84 = mul nuw nsw i64 %83, 48
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef 38, i32 noundef %82, i32 noundef 38, i64 noundef %84) #8
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %0, i32 noundef -1186988026, i32 noundef 38, i32 noundef 127, i32 noundef 0, i32 noundef 38) #8
  br label %85

85:                                               ; preds = %79, %74
  %86 = load ptr, ptr %63, align 8, !tbaa !22
  %87 = getelementptr inbounds i8, ptr %86, i64 104
  %88 = load i32, ptr %87, align 8, !tbaa !22
  %89 = trunc i32 %88 to i8
  store i8 %89, ptr %53, align 4, !tbaa !37
  br label %90

90:                                               ; preds = %85, %67
  %91 = load i32, ptr %3, align 4, !tbaa !13
  %92 = load i32, ptr %26, align 4, !tbaa !33
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %0, i32 noundef -1191182330, i32 noundef %91, i32 noundef 127, i32 noundef 16, i32 noundef %92) #8
  %93 = load ptr, ptr %63, align 8, !tbaa !22
  %94 = call i32 @libxsmm_generator_matequation_is_eqn_node_breaking_point(ptr noundef %93, ptr noundef nonnull %7) #8
  %95 = icmp sgt i32 %94, 0
  br i1 %95, label %96, label %119

96:                                               ; preds = %90
  call void @libxsmm_meqn_assign_timestamps(ptr noundef nonnull %63) #8
  %97 = load i32, ptr %6, align 4, !tbaa !10
  %98 = add i32 %97, -1
  %99 = zext i32 %98 to i64
  %100 = icmp ult i64 %indvars.iv, %99
  br i1 %100, label %101, label %117

101:                                              ; preds = %96
  %102 = load ptr, ptr %63, align 8, !tbaa !22
  %103 = getelementptr inbounds i8, ptr %102, i64 32
  %104 = load i32, ptr %103, align 8, !tbaa !22
  %105 = icmp eq i32 %104, 4
  br i1 %105, label %106, label %114

106:                                              ; preds = %101
  %107 = getelementptr inbounds i8, ptr %102, i64 52
  %108 = load i32, ptr %107, align 4, !tbaa !22
  %109 = icmp eq i32 %108, 1
  br i1 %109, label %.sink.split, label %110

110:                                              ; preds = %106
  %111 = getelementptr inbounds i8, ptr %102, i64 56
  %112 = load i32, ptr %111, align 4, !tbaa !22
  %113 = icmp eq i32 %112, 1
  br i1 %113, label %.sink.split, label %114

114:                                              ; preds = %110, %101
  br label %.sink.split

.sink.split:                                      ; preds = %106, %110, %114
  %.sink = phi i64 [ 92, %114 ], [ 100, %110 ], [ 100, %106 ]
  %115 = getelementptr inbounds i8, ptr %102, i64 %.sink
  %116 = load i32, ptr %115, align 4, !tbaa !22
  store i32 %116, ptr %55, align 4, !tbaa !38
  br label %117

117:                                              ; preds = %.sink.split, %96
  %118 = load i8, ptr %58, align 8, !tbaa !39
  store i8 %118, ptr %59, align 4, !tbaa !40
  call void @libxsmm_generator_matequation_tmp_stack_scratch_aarch64_kernel(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %63) #8
  br label %171

119:                                              ; preds = %90
  %120 = load ptr, ptr %63, align 8, !tbaa !22
  %121 = getelementptr inbounds i8, ptr %120, i64 32
  %122 = load i32, ptr %121, align 8, !tbaa !22
  %123 = icmp eq i32 %122, 1
  br i1 %123, label %124, label %129

124:                                              ; preds = %119
  %125 = getelementptr inbounds i8, ptr %120, i64 36
  %126 = load i32, ptr %125, align 4, !tbaa !22
  %127 = call i32 @libxsmm_meqn_is_unary_opcode_reduce_to_scalar(i32 noundef %126) #8
  %128 = icmp sgt i32 %127, 0
  br i1 %128, label %138, label %._crit_edge80

._crit_edge80:                                    ; preds = %124
  %.pre = load ptr, ptr %63, align 8, !tbaa !22
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 32
  %.pre81 = load i32, ptr %.phi.trans.insert, align 8, !tbaa !22
  br label %129

129:                                              ; preds = %._crit_edge80, %119
  %130 = phi i32 [ %.pre81, %._crit_edge80 ], [ %122, %119 ]
  %131 = phi ptr [ %.pre, %._crit_edge80 ], [ %120, %119 ]
  %132 = icmp eq i32 %130, 2
  br i1 %132, label %133, label %144

133:                                              ; preds = %129
  %134 = getelementptr inbounds i8, ptr %131, i64 36
  %135 = load i32, ptr %134, align 4, !tbaa !22
  %136 = call i32 @libxsmm_meqn_is_binary_opcode_reduce_to_scalar(i32 noundef %135) #8
  %137 = icmp sgt i32 %136, 0
  br i1 %137, label %138, label %._crit_edge82

._crit_edge82:                                    ; preds = %133
  %.pre83 = load ptr, ptr %63, align 8, !tbaa !22
  br label %144

138:                                              ; preds = %133, %124
  %139 = load ptr, ptr %63, align 8, !tbaa !22
  %140 = load ptr, ptr %139, align 8, !tbaa !22
  %141 = getelementptr inbounds i8, ptr %140, i64 92
  %142 = load i32, ptr %141, align 4, !tbaa !22
  store i32 %142, ptr %8, align 4, !tbaa !41
  %143 = load ptr, ptr %63, align 8, !tbaa !22
  br label %148

144:                                              ; preds = %._crit_edge82, %129
  %145 = phi ptr [ %.pre83, %._crit_edge82 ], [ %131, %129 ]
  %146 = getelementptr inbounds i8, ptr %145, i64 92
  %147 = load i32, ptr %146, align 4, !tbaa !22
  store i32 %147, ptr %8, align 4, !tbaa !41
  br label %148

148:                                              ; preds = %144, %138
  %.pn.in = phi ptr [ %63, %144 ], [ %143, %138 ]
  %.pn = load ptr, ptr %.pn.in, align 8, !tbaa !22
  %storemerge.in = getelementptr inbounds i8, ptr %.pn, i64 96
  %storemerge = load i32, ptr %storemerge.in, align 8, !tbaa !22
  store i32 %storemerge, ptr %54, align 4, !tbaa !42
  %149 = load i32, ptr %6, align 4, !tbaa !10
  %150 = add i32 %149, -1
  %151 = zext i32 %150 to i64
  %152 = icmp ult i64 %indvars.iv, %151
  br i1 %152, label %153, label %157

153:                                              ; preds = %148
  %154 = load ptr, ptr %63, align 8, !tbaa !22
  %155 = getelementptr inbounds i8, ptr %154, i64 92
  %156 = load i32, ptr %155, align 4, !tbaa !22
  store i32 %156, ptr %55, align 4, !tbaa !38
  br label %157

157:                                              ; preds = %153, %148
  %158 = load ptr, ptr %63, align 8, !tbaa !22
  %159 = getelementptr inbounds i8, ptr %158, i64 32
  %160 = load i32, ptr %159, align 8, !tbaa !22
  %161 = icmp eq i32 %160, 1
  br i1 %161, label %162, label %169

162:                                              ; preds = %157
  %163 = getelementptr inbounds i8, ptr %158, i64 36
  %164 = load i32, ptr %163, align 4, !tbaa !22
  %165 = icmp eq i32 %164, 33
  br i1 %165, label %166, label %169

166:                                              ; preds = %162
  %167 = load i32, ptr %56, align 4, !tbaa !29
  call void @libxsmm_generator_meqn_getval_stack_var_aarch64(ptr noundef %0, i32 noundef 29, i32 noundef %167)
  %168 = load i32, ptr %56, align 4, !tbaa !29
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %0, i32 noundef -1186988026, i32 noundef %168, i32 noundef 127, i32 noundef 0, i32 noundef %168) #8
  br label %169

169:                                              ; preds = %166, %162, %157
  call void @libxsmm_meqn_reoptimize(ptr noundef nonnull %63) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(516) %57, i8 0, i64 516, i1 false)
  %170 = load i8, ptr %58, align 8, !tbaa !39
  store i8 %170, ptr %59, align 4, !tbaa !40
  call void @libxsmm_generator_matequation_tmp_register_block_aarch64_kernel(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %63) #8
  br label %171

171:                                              ; preds = %169, %117
  call void @llvm.lifetime.end.p0(i64 17, ptr nonnull %8) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %172 = load i32, ptr %6, align 4, !tbaa !10
  %173 = zext i32 %172 to i64
  %174 = icmp ult i64 %indvars.iv.next, %173
  br i1 %174, label %60, label %._crit_edge, !llvm.loop !43

._crit_edge:                                      ; preds = %171, %49
  call void @libxsmm_generator_matequation_destroy_stack_frame_aarch64(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef 2)
  call void @libxsmm_aarch64_instruction_close_stream(ptr noundef %0, i16 noundef zeroext 3599) #8
  call void @free(ptr noundef %50) #8
  br label %175

175:                                              ; preds = %._crit_edge, %19, %13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 2080, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 352, ptr nonnull %3) #8
  ret void
}

declare ptr @libxsmm_meqn_get_equation(i32 noundef) local_unnamed_addr #3

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #6

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

declare i32 @libxsmm_generator_matequation_is_eqn_node_breaking_point(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @libxsmm_meqn_assign_timestamps(ptr noundef) local_unnamed_addr #3

declare void @libxsmm_generator_matequation_tmp_stack_scratch_aarch64_kernel(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @libxsmm_meqn_is_unary_opcode_reduce_to_scalar(i32 noundef) local_unnamed_addr #3

declare i32 @libxsmm_meqn_is_binary_opcode_reduce_to_scalar(i32 noundef) local_unnamed_addr #3

declare void @libxsmm_meqn_reoptimize(ptr noundef) local_unnamed_addr #3

declare void @libxsmm_generator_matequation_tmp_register_block_aarch64_kernel(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #7 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #8 = { nounwind }
attributes #9 = { cold nounwind }
attributes #10 = { nounwind allocsize(0) }

!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 13}
!6 = !{!"libxsmm_meqn_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !8, i64 12, !7, i64 13}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"libxsmm_matequation_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, !15, i64 72, !16, i64 220}
!15 = !{!"libxsmm_mateltwise_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, i64 132, !7, i64 136, !7, i64 140, !7, i64 144}
!16 = !{!"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}
!17 = !{!14, !7, i64 20}
!18 = !{!14, !7, i64 64}
!19 = !{!14, !7, i64 68}
!20 = !{!14, !7, i64 32}
!21 = !{!14, !7, i64 36}
!22 = !{!8, !8, i64 0}
!23 = !{!24, !7, i64 184}
!24 = !{!"libxsmm_matequation_kernel_config_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, !8, 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, 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, !8, i64 188, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !12, i64 336, !12, i64 344, !7, i64 352, !7, i64 356, !7, i64 360, !8, i64 364, !8, i64 620, !25, i64 876, !26, i64 1392}
!25 = !{!"libxsmm_mateltwise_kernel_config_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, 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, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !7, i64 448, !7, i64 452, !7, i64 456, !7, i64 460, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !8, i64 512}
!26 = !{!"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, !27, 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, !12, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !12, 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}
!27 = !{!"libxsmm_tile_config", !8, i64 0, !28, i64 2, !8, i64 4, !28, i64 6, !8, i64 8, !28, i64 10, !8, i64 12, !28, i64 14, !8, i64 16, !28, i64 18, !8, i64 20, !28, i64 22, !8, i64 24, !28, i64 26, !8, i64 28, !28, i64 30, !8, i64 32}
!28 = !{!"short", !8, i64 0}
!29 = !{!14, !7, i64 44}
!30 = !{!31, !7, i64 0}
!31 = !{!"libxsmm_meqn_fusion_knobs", !7, i64 0}
!32 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10, i64 12, i64 1, !22, i64 13, i64 4, !10}
!33 = !{!14, !7, i64 48}
!34 = !{!24, !7, i64 328}
!35 = !{!14, !7, i64 60}
!36 = !{!14, !7, i64 52}
!37 = !{!6, !8, i64 12}
!38 = !{!6, !7, i64 8}
!39 = !{!24, !8, i64 72}
!40 = !{!24, !8, i64 1388}
!41 = !{!6, !7, i64 0}
!42 = !{!6, !7, i64 4}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass