; LLVM IR from libxsmm/libxsmm :: src (generator_mateltwise_transform_aarch64_asimd)

; 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_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i8 }>
%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 }

@.str = external hidden unnamed_addr constant [100 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_aarch64_asimd_microkernel = external hidden unnamed_addr constant [80 x i8], align 1

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

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

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

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

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

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

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

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

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

34:                                               ; preds = %10
  store i32 6, ptr %21, align 4, !tbaa !9
  store i32 6, ptr %22, align 4, !tbaa !9
  br label %57

35:                                               ; preds = %10
  %36 = load ptr, ptr %18, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %36, i32 0, i32 2
  %38 = load i32, ptr %37, align 4, !tbaa !14
  %39 = icmp eq i32 %38, 4
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  store i32 4, ptr %21, align 4, !tbaa !9
  store i32 4, ptr %22, align 4, !tbaa !9
  br label %56

41:                                               ; preds = %35
  %42 = load ptr, ptr %18, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %42, i32 0, i32 2
  %44 = load i32, ptr %43, align 4, !tbaa !14
  %45 = icmp eq i32 %44, 2
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  store i32 2, ptr %21, align 4, !tbaa !9
  store i32 2, ptr %22, align 4, !tbaa !9
  br label %55

47:                                               ; preds = %41
  %48 = load ptr, ptr %18, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %48, i32 0, i32 2
  %50 = load i32, ptr %49, align 4, !tbaa !14
  %51 = icmp eq i32 %50, 1
  br i1 %51, label %52, label %53

52:                                               ; preds = %47
  store i32 0, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %54

53:                                               ; preds = %47
  store i32 0, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %53, %52
  br label %55

55:                                               ; preds = %54, %46
  br label %56

56:                                               ; preds = %55, %40
  br label %57

57:                                               ; preds = %56, %34
  %58 = load i32, ptr %20, align 4, !tbaa !9
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %75

60:                                               ; preds = %57
  %61 = load ptr, ptr %19, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 1, !tbaa !11
  %64 = urem i32 %63, 4
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %75

66:                                               ; preds = %60
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %69 = icmp ult i32 1, %68
  br i1 %69, label %70, label %72

70:                                               ; preds = %66
  %71 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %73

72:                                               ; preds = %66
  br label %73

73:                                               ; preds = %72, %70
  %74 = phi i32 [ %71, %70 ], [ 1, %72 ]
  call void @libxsmm_handle_error(ptr noundef %67, i32 noundef 90000, ptr noundef @__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_aarch64_asimd_microkernel, ptr noundef @.str, i32 noundef 336, i32 noundef %74)
  store i32 1, ptr %25, align 4
  br label %325

75:                                               ; preds = %60, %57
  %76 = load ptr, ptr %19, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %76, i32 0, i32 1
  %78 = load i32, ptr %77, align 1, !tbaa !11
  %79 = icmp uge i32 %78, 4
  br i1 %79, label %80, label %240

80:                                               ; preds = %75
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = load ptr, ptr %19, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %84, i32 0, i32 1
  %86 = load i32, ptr %85, align 1, !tbaa !11
  %87 = udiv i32 %86, 4
  %88 = mul i32 %87, 4
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %81, ptr noundef %82, i32 noundef %83, i32 noundef %88)
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = load ptr, ptr %19, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 1, !tbaa !16
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %89, ptr noundef %90, i32 noundef %91, i32 noundef %94)
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %95, i32 noundef 1027604486, i32 noundef %96, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %97)
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = load ptr, ptr %18, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %100, i32 0, i32 5
  %102 = load i32, ptr %101, align 4, !tbaa !17
  %103 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %98, i32 noundef 1006633990, i32 noundef %99, i32 noundef 127, i32 noundef %102, i32 noundef 0, i32 noundef %103)
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %13, align 4, !tbaa !9
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %108, i32 0, i32 2
  %110 = load i32, ptr %109, align 4, !tbaa !14
  %111 = zext i32 %110 to i64
  %112 = load ptr, ptr %19, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %112, i32 0, i32 2
  %114 = load i32, ptr %113, align 1, !tbaa !18
  %115 = zext i32 %114 to i64
  %116 = mul nsw i64 %111, %115
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %104, i32 noundef 4096, i32 noundef %105, i32 noundef %106, i32 noundef %107, i64 noundef %116)
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %117, i32 noundef 1027604486, i32 noundef %118, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %119)
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = load ptr, ptr %18, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %122, i32 0, i32 5
  %124 = load i32, ptr %123, align 4, !tbaa !17
  %125 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %120, i32 noundef 1006633990, i32 noundef %121, i32 noundef 127, i32 noundef %124, i32 noundef 0, i32 noundef %125)
  %126 = load ptr, ptr %11, align 8, !tbaa !5
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = load i32, ptr %17, align 4, !tbaa !9
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = load ptr, ptr %18, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %130, i32 0, i32 2
  %132 = load i32, ptr %131, align 4, !tbaa !14
  %133 = zext i32 %132 to i64
  %134 = load ptr, ptr %19, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %134, i32 0, i32 2
  %136 = load i32, ptr %135, align 1, !tbaa !18
  %137 = zext i32 %136 to i64
  %138 = mul nsw i64 %133, %137
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %126, i32 noundef 4096, i32 noundef %127, i32 noundef %128, i32 noundef %129, i64 noundef %138)
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %139, i32 noundef 1027604486, i32 noundef %140, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %141)
  %142 = load ptr, ptr %11, align 8, !tbaa !5
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = load ptr, ptr %18, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %144, i32 0, i32 5
  %146 = load i32, ptr %145, align 4, !tbaa !17
  %147 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %142, i32 noundef 1006633990, i32 noundef %143, i32 noundef 127, i32 noundef %146, i32 noundef 0, i32 noundef %147)
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = load i32, ptr %13, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = load ptr, ptr %18, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %152, i32 0, i32 2
  %154 = load i32, ptr %153, align 4, !tbaa !14
  %155 = zext i32 %154 to i64
  %156 = load ptr, ptr %19, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %156, i32 0, i32 2
  %158 = load i32, ptr %157, align 1, !tbaa !18
  %159 = zext i32 %158 to i64
  %160 = mul nsw i64 %155, %159
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %148, i32 noundef 4096, i32 noundef %149, i32 noundef %150, i32 noundef %151, i64 noundef %160)
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = load i32, ptr %13, align 4, !tbaa !9
  %163 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %161, i32 noundef 1027604486, i32 noundef %162, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %163)
  %164 = load ptr, ptr %11, align 8, !tbaa !5
  %165 = load i32, ptr %14, align 4, !tbaa !9
  %166 = load ptr, ptr %18, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %166, i32 0, i32 5
  %168 = load i32, ptr %167, align 4, !tbaa !17
  %169 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %164, i32 noundef 1006633990, i32 noundef %165, i32 noundef 127, i32 noundef %168, i32 noundef 0, i32 noundef %169)
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %13, align 4, !tbaa !9
  %174 = load ptr, ptr %19, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %174, i32 0, i32 2
  %176 = load i32, ptr %175, align 1, !tbaa !18
  %177 = zext i32 %176 to i64
  %178 = mul nsw i64 3, %177
  %179 = sub nsw i64 %178, 1
  %180 = load ptr, ptr %18, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %180, i32 0, i32 2
  %182 = load i32, ptr %181, align 4, !tbaa !14
  %183 = zext i32 %182 to i64
  %184 = mul nsw i64 %179, %183
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %170, i32 noundef 4097, i32 noundef %171, i32 noundef %172, i32 noundef %173, i64 noundef %184)
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %185, ptr noundef %186, i32 noundef %187, i32 noundef 1)
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = load i32, ptr %13, align 4, !tbaa !9
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = load i32, ptr %13, align 4, !tbaa !9
  %192 = load ptr, ptr %19, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %192, i32 0, i32 2
  %194 = load i32, ptr %193, align 1, !tbaa !18
  %195 = zext i32 %194 to i64
  %196 = mul nsw i64 4, %195
  %197 = load ptr, ptr %18, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %197, i32 0, i32 2
  %199 = load i32, ptr %198, align 4, !tbaa !14
  %200 = zext i32 %199 to i64
  %201 = mul nsw i64 %196, %200
  %202 = load ptr, ptr %18, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %202, i32 0, i32 2
  %204 = load i32, ptr %203, align 4, !tbaa !14
  %205 = zext i32 %204 to i64
  %206 = load ptr, ptr %19, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %206, i32 0, i32 0
  %208 = load i32, ptr %207, align 1, !tbaa !16
  %209 = zext i32 %208 to i64
  %210 = mul nsw i64 %205, %209
  %211 = sub nsw i64 %201, %210
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %188, i32 noundef 4096, i32 noundef %189, i32 noundef %190, i32 noundef %191, i64 noundef %211)
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = load i32, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %14, align 4, !tbaa !9
  %216 = load ptr, ptr %19, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %216, i32 0, i32 3
  %218 = load i32, ptr %217, align 1, !tbaa !19
  %219 = zext i32 %218 to i64
  %220 = mul nsw i64 4, %219
  %221 = load ptr, ptr %18, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %221, i32 0, i32 5
  %223 = load i32, ptr %222, align 4, !tbaa !17
  %224 = zext i32 %223 to i64
  %225 = mul nsw i64 %220, %224
  %226 = load ptr, ptr %18, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %226, i32 0, i32 5
  %228 = load i32, ptr %227, align 4, !tbaa !17
  %229 = zext i32 %228 to i64
  %230 = load ptr, ptr %19, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %230, i32 0, i32 0
  %232 = load i32, ptr %231, align 1, !tbaa !16
  %233 = zext i32 %232 to i64
  %234 = mul nsw i64 %229, %233
  %235 = mul nsw i64 %234, 4
  %236 = sub nsw i64 %225, %235
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %212, i32 noundef 4096, i32 noundef %213, i32 noundef %214, i32 noundef %215, i64 noundef %236)
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  %239 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %237, ptr noundef %238, i32 noundef %239, i32 noundef 4)
  br label %240

240:                                              ; preds = %80, %75
  %241 = load ptr, ptr %19, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %241, i32 0, i32 1
  %243 = load i32, ptr %242, align 1, !tbaa !11
  %244 = urem i32 %243, 4
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %246, label %324

246:                                              ; preds = %240
  %247 = load i32, ptr %20, align 4, !tbaa !9
  %248 = icmp eq i32 %247, 1
  br i1 %248, label %249, label %324

249:                                              ; preds = %246
  %250 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %250, i32 noundef 773856275, i32 noundef 1, i32 noundef 1, i8 noundef zeroext 0, i32 noundef 1, i32 noundef 1)
  %251 = load ptr, ptr %11, align 8, !tbaa !5
  %252 = load ptr, ptr %12, align 8, !tbaa !5
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = load ptr, ptr %19, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %254, i32 0, i32 0
  %256 = load i32, ptr %255, align 1, !tbaa !16
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %251, ptr noundef %252, i32 noundef %253, i32 noundef %256)
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %257

257:                                              ; preds = %284, %249
  %258 = load i32, ptr %24, align 4, !tbaa !9
  %259 = load i32, ptr %23, align 4, !tbaa !9
  %260 = icmp ult i32 %258, %259
  br i1 %260, label %261, label %287

261:                                              ; preds = %257
  %262 = load ptr, ptr %11, align 8, !tbaa !5
  %263 = load i32, ptr %13, align 4, !tbaa !9
  %264 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %262, i32 noundef 1027604486, i32 noundef %263, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %264)
  %265 = load ptr, ptr %11, align 8, !tbaa !5
  %266 = load i32, ptr %14, align 4, !tbaa !9
  %267 = load ptr, ptr %18, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %267, i32 0, i32 5
  %269 = load i32, ptr %268, align 4, !tbaa !17
  %270 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %265, i32 noundef 1006633990, i32 noundef %266, i32 noundef 127, i32 noundef %269, i32 noundef 0, i32 noundef %270)
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = load i32, ptr %13, align 4, !tbaa !9
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %13, align 4, !tbaa !9
  %275 = load ptr, ptr %18, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %275, i32 0, i32 2
  %277 = load i32, ptr %276, align 4, !tbaa !14
  %278 = zext i32 %277 to i64
  %279 = load ptr, ptr %19, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %279, i32 0, i32 2
  %281 = load i32, ptr %280, align 1, !tbaa !18
  %282 = zext i32 %281 to i64
  %283 = mul nsw i64 %278, %282
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %271, i32 noundef 4096, i32 noundef %272, i32 noundef %273, i32 noundef %274, i64 noundef %283)
  br label %284

284:                                              ; preds = %261
  %285 = load i32, ptr %24, align 4, !tbaa !9
  %286 = add i32 %285, 1
  store i32 %286, ptr %24, align 4, !tbaa !9
  br label %257, !llvm.loop !20

287:                                              ; preds = %257
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %288

288:                                              ; preds = %300, %287
  %289 = load i32, ptr %24, align 4, !tbaa !9
  %290 = load i32, ptr %23, align 4, !tbaa !9
  %291 = sub i32 4, %290
  %292 = icmp ult i32 %289, %291
  br i1 %292, label %293, label %303

293:                                              ; preds = %288
  %294 = load ptr, ptr %11, align 8, !tbaa !5
  %295 = load i32, ptr %14, align 4, !tbaa !9
  %296 = load ptr, ptr %18, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %296, i32 0, i32 5
  %298 = load i32, ptr %297, align 4, !tbaa !17
  %299 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %294, i32 noundef 1006633990, i32 noundef %295, i32 noundef 127, i32 noundef %298, i32 noundef 1, i32 noundef %299)
  br label %300

300:                                              ; preds = %293
  %301 = load i32, ptr %24, align 4, !tbaa !9
  %302 = add i32 %301, 1
  store i32 %302, ptr %24, align 4, !tbaa !9
  br label %288, !llvm.loop !22

303:                                              ; preds = %288
  %304 = load ptr, ptr %11, align 8, !tbaa !5
  %305 = load i32, ptr %13, align 4, !tbaa !9
  %306 = load i32, ptr %17, align 4, !tbaa !9
  %307 = load i32, ptr %13, align 4, !tbaa !9
  %308 = load i32, ptr %23, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = load ptr, ptr %19, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %310, i32 0, i32 2
  %312 = load i32, ptr %311, align 1, !tbaa !18
  %313 = zext i32 %312 to i64
  %314 = mul nsw i64 %309, %313
  %315 = sub nsw i64 %314, 1
  %316 = load ptr, ptr %18, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %316, i32 0, i32 2
  %318 = load i32, ptr %317, align 4, !tbaa !14
  %319 = zext i32 %318 to i64
  %320 = mul nsw i64 %315, %319
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %304, i32 noundef 4097, i32 noundef %305, i32 noundef %306, i32 noundef %307, i64 noundef %320)
  %321 = load ptr, ptr %11, align 8, !tbaa !5
  %322 = load ptr, ptr %12, align 8, !tbaa !5
  %323 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %321, ptr noundef %322, i32 noundef %323, i32 noundef 1)
  br label %324

324:                                              ; preds = %303, %246, %240
  store i32 0, ptr %25, align 4
  br label %325

325:                                              ; preds = %324, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  %326 = load i32, ptr %25, align 4
  switch i32 %326, label %328 [
    i32 0, label %327
    i32 1, label %327
  ]

327:                                              ; preds = %325, %325
  ret void

328:                                              ; preds = %325
  unreachable
}

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_meltw_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 25, !7, i64 26, !13, i64 27, !13, i64 29, !7, i64 31}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !10, i64 8}
!15 = !{!"libxsmm_mateltwise_kernel_config_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, !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, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !7, i64 512}
!16 = !{!12, !10, i64 0}
!17 = !{!15, !10, i64 20}
!18 = !{!12, !10, i64 8}
!19 = !{!12, !10, i64 12}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


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

@.str = external hidden unnamed_addr constant [100 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_aarch64_asimd_microkernel = external hidden unnamed_addr constant [80 x i8], align 1
@switch.table.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_aarch64_asimd_microkernel = private unnamed_addr constant [8 x i32] [i32 0, i32 2, i32 0, i32 4, i32 0, i32 0, i32 0, i32 6], align 4

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_aarch64_asimd_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8, i32 noundef %9) local_unnamed_addr #1 {
  %11 = getelementptr inbounds i8, ptr %8, i64 4
  %12 = load i32, ptr %11, align 1, !tbaa !5
  %13 = and i32 %12, 3
  %14 = getelementptr inbounds i8, ptr %7, i64 8
  %15 = load i32, ptr %14, align 4, !tbaa !11
  %switch.tableidx = add i32 %15, -1
  %16 = icmp ult i32 %switch.tableidx, 8
  br i1 %16, label %switch.lookup, label %18

switch.lookup:                                    ; preds = %10
  %17 = zext nneg i32 %switch.tableidx to i64
  %switch.gep = getelementptr inbounds [8 x i32], ptr @switch.table.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_aarch64_asimd_microkernel, i64 0, i64 %17
  %switch.load = load i32, ptr %switch.gep, align 4
  br label %18

18:                                               ; preds = %10, %switch.lookup
  %.0131 = phi i32 [ %switch.load, %switch.lookup ], [ 0, %10 ]
  %19 = icmp ne i32 %9, 0
  %.not = icmp eq i32 %13, 0
  %or.cond136 = select i1 %19, i1 true, i1 %.not
  br i1 %or.cond136, label %25, label %20

20:                                               ; preds = %18
  %21 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !13
  %22 = icmp ugt i32 %21, 1
  %23 = load i32, ptr @libxsmm_verbosity, align 4
  %24 = select i1 %22, i32 %23, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_aarch64_asimd_microkernel, ptr noundef nonnull @.str, i32 noundef 336, i32 noundef %24) #2
  br label %109

25:                                               ; preds = %18
  %26 = icmp ugt i32 %12, 3
  br i1 %26, label %27, label %79

27:                                               ; preds = %25
  %28 = and i32 %12, -4
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef %28) #2
  %29 = load i32, ptr %8, align 1, !tbaa !14
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %29) #2
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1027604486, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %.0131) #2
  %30 = getelementptr inbounds i8, ptr %7, i64 20
  %31 = load i32, ptr %30, align 4, !tbaa !15
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1006633990, i32 noundef %3, i32 noundef 127, i32 noundef %31, i32 noundef 0, i32 noundef %.0131) #2
  %32 = load i32, ptr %14, align 4, !tbaa !11
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds i8, ptr %8, i64 8
  %35 = load i32, ptr %34, align 1, !tbaa !16
  %36 = zext i32 %35 to i64
  %37 = mul nuw nsw i64 %36, %33
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %2, i32 noundef %6, i32 noundef %2, i64 noundef %37) #2
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1027604486, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %.0131) #2
  %38 = load i32, ptr %30, align 4, !tbaa !15
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1006633990, i32 noundef %3, i32 noundef 127, i32 noundef %38, i32 noundef 0, i32 noundef %.0131) #2
  %39 = load i32, ptr %14, align 4, !tbaa !11
  %40 = zext i32 %39 to i64
  %41 = load i32, ptr %34, align 1, !tbaa !16
  %42 = zext i32 %41 to i64
  %43 = mul nuw nsw i64 %42, %40
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %2, i32 noundef %6, i32 noundef %2, i64 noundef %43) #2
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1027604486, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %.0131) #2
  %44 = load i32, ptr %30, align 4, !tbaa !15
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1006633990, i32 noundef %3, i32 noundef 127, i32 noundef %44, i32 noundef 0, i32 noundef %.0131) #2
  %45 = load i32, ptr %14, align 4, !tbaa !11
  %46 = zext i32 %45 to i64
  %47 = load i32, ptr %34, align 1, !tbaa !16
  %48 = zext i32 %47 to i64
  %49 = mul nuw nsw i64 %48, %46
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %2, i32 noundef %6, i32 noundef %2, i64 noundef %49) #2
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1027604486, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %.0131) #2
  %50 = load i32, ptr %30, align 4, !tbaa !15
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1006633990, i32 noundef %3, i32 noundef 127, i32 noundef %50, i32 noundef 0, i32 noundef %.0131) #2
  %51 = load i32, ptr %34, align 1, !tbaa !16
  %52 = zext i32 %51 to i64
  %53 = mul nuw nsw i64 %52, 3
  %54 = add nsw i64 %53, -1
  %55 = load i32, ptr %14, align 4, !tbaa !11
  %56 = zext i32 %55 to i64
  %57 = mul nsw i64 %54, %56
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %2, i32 noundef %6, i32 noundef %2, i64 noundef %57) #2
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef 1) #2
  %58 = load i32, ptr %34, align 1, !tbaa !16
  %59 = zext i32 %58 to i64
  %60 = shl nuw nsw i64 %59, 2
  %61 = load i32, ptr %14, align 4, !tbaa !11
  %62 = zext i32 %61 to i64
  %63 = load i32, ptr %8, align 1, !tbaa !14
  %64 = zext i32 %63 to i64
  %65 = sub nsw i64 %60, %64
  %66 = mul i64 %65, %62
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %2, i32 noundef %6, i32 noundef %2, i64 noundef %66) #2
  %67 = getelementptr inbounds i8, ptr %8, i64 12
  %68 = load i32, ptr %67, align 1, !tbaa !17
  %69 = zext i32 %68 to i64
  %70 = shl nuw nsw i64 %69, 2
  %71 = load i32, ptr %30, align 4, !tbaa !15
  %72 = zext i32 %71 to i64
  %73 = mul nuw nsw i64 %70, %72
  %74 = load i32, ptr %8, align 1, !tbaa !14
  %75 = zext i32 %74 to i64
  %76 = shl nuw nsw i64 %72, 2
  %77 = mul i64 %76, %75
  %78 = sub nsw i64 %73, %77
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %3, i32 noundef %6, i32 noundef %3, i64 noundef %78) #2
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef 4) #2
  %.pre = load i32, ptr %11, align 1, !tbaa !5
  %.pre141 = and i32 %.pre, 3
  br label %79

79:                                               ; preds = %27, %25
  %.pre-phi = phi i32 [ %.pre141, %27 ], [ %13, %25 ]
  %80 = icmp ne i32 %.pre-phi, 0
  %81 = icmp eq i32 %9, 1
  %or.cond = and i1 %81, %80
  br i1 %or.cond, label %82, label %109

82:                                               ; preds = %79
  tail call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 773856275, i32 noundef 1, i32 noundef 1, i8 noundef zeroext 0, i32 noundef 1, i32 noundef 1) #2
  %83 = load i32, ptr %8, align 1, !tbaa !14
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %83) #2
  br i1 %.not, label %.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %82
  %84 = getelementptr inbounds i8, ptr %7, i64 20
  %85 = getelementptr inbounds i8, ptr %8, i64 8
  br label %88

.preheader:                                       ; preds = %88, %82
  %86 = sub nuw nsw i32 4, %13
  %87 = getelementptr inbounds i8, ptr %7, i64 20
  br label %96

88:                                               ; preds = %.lr.ph, %88
  %.0137 = phi i32 [ 0, %.lr.ph ], [ %95, %88 ]
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1027604486, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %.0131) #2
  %89 = load i32, ptr %84, align 4, !tbaa !15
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1006633990, i32 noundef %3, i32 noundef 127, i32 noundef %89, i32 noundef 0, i32 noundef %.0131) #2
  %90 = load i32, ptr %14, align 4, !tbaa !11
  %91 = zext i32 %90 to i64
  %92 = load i32, ptr %85, align 1, !tbaa !16
  %93 = zext i32 %92 to i64
  %94 = mul nuw nsw i64 %93, %91
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %2, i32 noundef %6, i32 noundef %2, i64 noundef %94) #2
  %95 = add nuw nsw i32 %.0137, 1
  %exitcond.not = icmp eq i32 %95, %13
  br i1 %exitcond.not, label %.preheader, label %88, !llvm.loop !18

96:                                               ; preds = %.preheader, %96
  %.1138 = phi i32 [ 0, %.preheader ], [ %98, %96 ]
  %97 = load i32, ptr %87, align 4, !tbaa !15
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1006633990, i32 noundef %3, i32 noundef 127, i32 noundef %97, i32 noundef 1, i32 noundef %.0131) #2
  %98 = add nuw nsw i32 %.1138, 1
  %exitcond140.not = icmp eq i32 %98, %86
  br i1 %exitcond140.not, label %99, label %96, !llvm.loop !20

99:                                               ; preds = %96
  %100 = zext nneg i32 %13 to i64
  %101 = getelementptr inbounds i8, ptr %8, i64 8
  %102 = load i32, ptr %101, align 1, !tbaa !16
  %103 = zext i32 %102 to i64
  %104 = mul nuw nsw i64 %103, %100
  %105 = add nsw i64 %104, -1
  %106 = load i32, ptr %14, align 4, !tbaa !11
  %107 = zext i32 %106 to i64
  %108 = mul nsw i64 %105, %107
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %2, i32 noundef %6, i32 noundef %2, i64 noundef %108) #2
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef 1) #2
  br label %109

109:                                              ; preds = %79, %99, %20
  ret void
}

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"libxsmm_meltw_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !8, i64 24, !8, i64 25, !8, i64 26, !10, i64 27, !10, i64 29, !8, i64 31}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"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}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!12, !7, i64 20}
!16 = !{!6, !7, i64 8}
!17 = !{!6, !7, i64 12}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


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