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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_normt_32bit_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) #0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %19, i32 0, i32 0
  %21 = load i32, ptr %20, align 1, !tbaa !11
  %22 = urem i32 %21, 8
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %126

24:                                               ; preds = %9
  %25 = load ptr, ptr %18, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 1, !tbaa !14
  %28 = urem i32 %27, 8
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %126

30:                                               ; preds = %24
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  %33 = load i32, ptr %14, align 4, !tbaa !9
  %34 = load ptr, ptr %18, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %34, i32 0, i32 0
  %36 = load i32, ptr %35, align 1, !tbaa !11
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %31, ptr noundef %32, i32 noundef %33, i32 noundef %36)
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = load i32, ptr %15, align 4, !tbaa !9
  %40 = load ptr, ptr %18, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 1, !tbaa !14
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %37, ptr noundef %38, i32 noundef %39, i32 noundef %42)
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load i32, ptr %12, align 4, !tbaa !9
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = load i32, ptr %16, align 4, !tbaa !9
  %47 = load ptr, ptr %17, align 8, !tbaa !5
  %48 = load ptr, ptr %18, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_normt_32bit_8x8_shufflenetwork_aarch64_asimd(ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef 8, i32 noundef 8, ptr noundef %47, ptr noundef %48)
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load i32, ptr %12, align 4, !tbaa !9
  %51 = load i32, ptr %16, align 4, !tbaa !9
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = load ptr, ptr %18, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %53, i32 0, i32 2
  %55 = load i32, ptr %54, align 1, !tbaa !15
  %56 = zext i32 %55 to i64
  %57 = mul nsw i64 8, %56
  %58 = load ptr, ptr %17, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %58, i32 0, i32 2
  %60 = load i32, ptr %59, align 4, !tbaa !16
  %61 = zext i32 %60 to i64
  %62 = mul nsw i64 %57, %61
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %49, i32 noundef 4096, i32 noundef %50, i32 noundef %51, i32 noundef %52, i64 noundef %62)
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = load i32, ptr %13, align 4, !tbaa !9
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = load i32, ptr %13, align 4, !tbaa !9
  %67 = load ptr, ptr %17, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %67, i32 0, i32 5
  %69 = load i32, ptr %68, align 4, !tbaa !18
  %70 = zext i32 %69 to i64
  %71 = mul nsw i64 8, %70
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %63, i32 noundef 4096, i32 noundef %64, i32 noundef %65, i32 noundef %66, i64 noundef %71)
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %72, ptr noundef %73, i32 noundef %74, i32 noundef 8)
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %13, align 4, !tbaa !9
  %79 = load ptr, ptr %18, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %79, i32 0, i32 3
  %81 = load i32, ptr %80, align 1, !tbaa !19
  %82 = zext i32 %81 to i64
  %83 = mul nsw i64 8, %82
  %84 = load ptr, ptr %17, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %84, i32 0, i32 5
  %86 = load i32, ptr %85, align 4, !tbaa !18
  %87 = zext i32 %86 to i64
  %88 = mul nsw i64 %83, %87
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %89, i32 0, i32 5
  %91 = load i32, ptr %90, align 4, !tbaa !18
  %92 = zext i32 %91 to i64
  %93 = load ptr, ptr %18, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %93, i32 0, i32 1
  %95 = load i32, ptr %94, align 1, !tbaa !14
  %96 = zext i32 %95 to i64
  %97 = mul nsw i64 %92, %96
  %98 = sub nsw i64 %88, %97
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %75, i32 noundef 4096, i32 noundef %76, i32 noundef %77, i32 noundef %78, i64 noundef %98)
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = load i32, ptr %16, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = load ptr, ptr %18, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %103, i32 0, i32 2
  %105 = load i32, ptr %104, align 1, !tbaa !15
  %106 = zext i32 %105 to i64
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %107, i32 0, i32 2
  %109 = load i32, ptr %108, align 4, !tbaa !16
  %110 = zext i32 %109 to i64
  %111 = mul nsw i64 %106, %110
  %112 = load ptr, ptr %18, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %112, i32 0, i32 1
  %114 = load i32, ptr %113, align 1, !tbaa !14
  %115 = zext i32 %114 to i64
  %116 = mul nsw i64 %111, %115
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %117, i32 0, i32 2
  %119 = load i32, ptr %118, align 4, !tbaa !16
  %120 = zext i32 %119 to i64
  %121 = mul nsw i64 8, %120
  %122 = sub nsw i64 %116, %121
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %99, i32 noundef 4097, i32 noundef %100, i32 noundef %101, i32 noundef %102, i64 noundef %122)
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %123, ptr noundef %124, i32 noundef %125, i32 noundef 8)
  br label %245

126:                                              ; preds = %24, %9
  %127 = load ptr, ptr %18, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 1, !tbaa !11
  %130 = urem i32 %129, 4
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %234

132:                                              ; preds = %126
  %133 = load ptr, ptr %18, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %133, i32 0, i32 1
  %135 = load i32, ptr %134, align 1, !tbaa !14
  %136 = urem i32 %135, 4
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %138, label %234

138:                                              ; preds = %132
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = load ptr, ptr %18, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %142, i32 0, i32 0
  %144 = load i32, ptr %143, align 1, !tbaa !11
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %139, ptr noundef %140, i32 noundef %141, i32 noundef %144)
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = load ptr, ptr %11, align 8, !tbaa !5
  %147 = load i32, ptr %15, align 4, !tbaa !9
  %148 = load ptr, ptr %18, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %148, i32 0, i32 1
  %150 = load i32, ptr %149, align 1, !tbaa !14
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %145, ptr noundef %146, i32 noundef %147, i32 noundef %150)
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = load i32, ptr %12, align 4, !tbaa !9
  %153 = load i32, ptr %13, align 4, !tbaa !9
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = load ptr, ptr %17, align 8, !tbaa !5
  %156 = load ptr, ptr %18, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_normt_32bit_4x4_shufflenetwork_aarch64_asimd(ptr noundef %151, i32 noundef %152, i32 noundef %153, i32 noundef %154, i32 noundef 4, i32 noundef 4, ptr noundef %155, ptr noundef %156)
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = load i32, ptr %12, align 4, !tbaa !9
  %159 = load i32, ptr %16, align 4, !tbaa !9
  %160 = load i32, ptr %12, align 4, !tbaa !9
  %161 = load ptr, ptr %18, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %161, i32 0, i32 2
  %163 = load i32, ptr %162, align 1, !tbaa !15
  %164 = zext i32 %163 to i64
  %165 = mul nsw i64 4, %164
  %166 = load ptr, ptr %17, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %166, i32 0, i32 2
  %168 = load i32, ptr %167, align 4, !tbaa !16
  %169 = zext i32 %168 to i64
  %170 = mul nsw i64 %165, %169
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %157, i32 noundef 4096, i32 noundef %158, i32 noundef %159, i32 noundef %160, i64 noundef %170)
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  %172 = load i32, ptr %13, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = load i32, ptr %13, align 4, !tbaa !9
  %175 = load ptr, ptr %17, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %175, i32 0, i32 5
  %177 = load i32, ptr %176, align 4, !tbaa !18
  %178 = zext i32 %177 to i64
  %179 = mul nsw i64 4, %178
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %171, i32 noundef 4096, i32 noundef %172, i32 noundef %173, i32 noundef %174, i64 noundef %179)
  %180 = load ptr, ptr %10, align 8, !tbaa !5
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %180, ptr noundef %181, i32 noundef %182, i32 noundef 4)
  %183 = load ptr, ptr %10, align 8, !tbaa !5
  %184 = load i32, ptr %13, align 4, !tbaa !9
  %185 = load i32, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = load ptr, ptr %18, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %187, i32 0, i32 3
  %189 = load i32, ptr %188, align 1, !tbaa !19
  %190 = zext i32 %189 to i64
  %191 = mul nsw i64 4, %190
  %192 = load ptr, ptr %17, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %192, i32 0, i32 5
  %194 = load i32, ptr %193, align 4, !tbaa !18
  %195 = zext i32 %194 to i64
  %196 = mul nsw i64 %191, %195
  %197 = load ptr, ptr %17, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %197, i32 0, i32 5
  %199 = load i32, ptr %198, align 4, !tbaa !18
  %200 = zext i32 %199 to i64
  %201 = load ptr, ptr %18, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %201, i32 0, i32 1
  %203 = load i32, ptr %202, align 1, !tbaa !14
  %204 = zext i32 %203 to i64
  %205 = mul nsw i64 %200, %204
  %206 = sub nsw i64 %196, %205
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %183, i32 noundef 4096, i32 noundef %184, i32 noundef %185, i32 noundef %186, i64 noundef %206)
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  %208 = load i32, ptr %12, align 4, !tbaa !9
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %12, align 4, !tbaa !9
  %211 = load ptr, ptr %18, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %211, i32 0, i32 2
  %213 = load i32, ptr %212, align 1, !tbaa !15
  %214 = zext i32 %213 to i64
  %215 = load ptr, ptr %17, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %215, i32 0, i32 2
  %217 = load i32, ptr %216, align 4, !tbaa !16
  %218 = zext i32 %217 to i64
  %219 = mul nsw i64 %214, %218
  %220 = load ptr, ptr %18, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %220, i32 0, i32 1
  %222 = load i32, ptr %221, align 1, !tbaa !14
  %223 = zext i32 %222 to i64
  %224 = mul nsw i64 %219, %223
  %225 = load ptr, ptr %17, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %225, i32 0, i32 2
  %227 = load i32, ptr %226, align 4, !tbaa !16
  %228 = zext i32 %227 to i64
  %229 = mul nsw i64 4, %228
  %230 = sub nsw i64 %224, %229
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %207, i32 noundef 4097, i32 noundef %208, i32 noundef %209, i32 noundef %210, i64 noundef %230)
  %231 = load ptr, ptr %10, align 8, !tbaa !5
  %232 = load ptr, ptr %11, align 8, !tbaa !5
  %233 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %231, ptr noundef %232, i32 noundef %233, i32 noundef 4)
  br label %244

234:                                              ; preds = %132, %126
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  %236 = load ptr, ptr %11, align 8, !tbaa !5
  %237 = load i32, ptr %12, align 4, !tbaa !9
  %238 = load i32, ptr %13, align 4, !tbaa !9
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %16, align 4, !tbaa !9
  %242 = load ptr, ptr %17, align 8, !tbaa !5
  %243 = load ptr, ptr %18, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_normt_mbit_scalar_aarch64_asimd_microkernel(ptr noundef %235, ptr noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239, i32 noundef %240, i32 noundef %241, ptr noundef %242, ptr noundef %243)
  br label %244

244:                                              ; preds = %234, %138
  br label %245

245:                                              ; preds = %244, %30
  ret void
}

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 = { "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" }

!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 0}
!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 = !{!12, !10, i64 4}
!15 = !{!12, !10, i64 8}
!16 = !{!17, !10, i64 8}
!17 = !{!"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}
!18 = !{!17, !10, i64 20}
!19 = !{!12, !10, i64 12}


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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_normt_32bit_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) local_unnamed_addr #0 {
  %10 = load i32, ptr %8, align 1, !tbaa !5
  %11 = and i32 %10, 7
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %13, label %52

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %8, i64 4
  %15 = load i32, ptr %14, align 1, !tbaa !11
  %16 = and i32 %15, 7
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %52

18:                                               ; preds = %13
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %10) #2
  %19 = load i32, ptr %14, align 1, !tbaa !11
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef %19) #2
  tail call void @libxsmm_generator_transform_norm_to_normt_32bit_8x8_shufflenetwork_aarch64_asimd(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %6, i32 noundef 8, i32 noundef 8, ptr noundef %7, ptr noundef nonnull %8)
  %20 = getelementptr inbounds i8, ptr %8, i64 8
  %21 = load i32, ptr %20, align 1, !tbaa !12
  %22 = zext i32 %21 to i64
  %23 = shl nuw nsw i64 %22, 3
  %24 = getelementptr inbounds i8, ptr %7, i64 8
  %25 = load i32, ptr %24, align 4, !tbaa !13
  %26 = zext i32 %25 to i64
  %27 = mul nuw nsw i64 %23, %26
  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 %27) #2
  %28 = getelementptr inbounds i8, ptr %7, i64 20
  %29 = load i32, ptr %28, align 4, !tbaa !15
  %30 = zext i32 %29 to i64
  %31 = shl nuw nsw i64 %30, 3
  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 %31) #2
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef 8) #2
  %32 = getelementptr inbounds i8, ptr %8, i64 12
  %33 = load i32, ptr %32, align 1, !tbaa !16
  %34 = zext i32 %33 to i64
  %35 = shl nuw nsw i64 %34, 3
  %36 = load i32, ptr %28, align 4, !tbaa !15
  %37 = zext i32 %36 to i64
  %38 = load i32, ptr %14, align 1, !tbaa !11
  %39 = zext i32 %38 to i64
  %40 = sub nsw i64 %35, %39
  %41 = mul i64 %40, %37
  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 %41) #2
  %42 = load i32, ptr %20, align 1, !tbaa !12
  %43 = zext i32 %42 to i64
  %44 = load i32, ptr %24, align 4, !tbaa !13
  %45 = zext i32 %44 to i64
  %46 = mul nuw nsw i64 %45, %43
  %47 = load i32, ptr %14, align 1, !tbaa !11
  %48 = zext i32 %47 to i64
  %49 = mul nuw nsw i64 %46, %48
  %50 = shl nuw nsw i64 %45, 3
  %51 = sub nsw i64 %49, %50
  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 %51) #2
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef 8) #2
  br label %95

52:                                               ; preds = %13, %9
  %53 = and i32 %10, 3
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %94

55:                                               ; preds = %52
  %56 = getelementptr inbounds i8, ptr %8, i64 4
  %57 = load i32, ptr %56, align 1, !tbaa !11
  %58 = and i32 %57, 3
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %94

60:                                               ; preds = %55
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %10) #2
  %61 = load i32, ptr %56, align 1, !tbaa !11
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef %61) #2
  tail call void @libxsmm_generator_transform_norm_to_normt_32bit_4x4_shufflenetwork_aarch64_asimd(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %6, i32 noundef 4, i32 noundef 4, ptr noundef %7, ptr noundef nonnull %8)
  %62 = getelementptr inbounds i8, ptr %8, i64 8
  %63 = load i32, ptr %62, align 1, !tbaa !12
  %64 = zext i32 %63 to i64
  %65 = shl nuw nsw i64 %64, 2
  %66 = getelementptr inbounds i8, ptr %7, i64 8
  %67 = load i32, ptr %66, align 4, !tbaa !13
  %68 = zext i32 %67 to i64
  %69 = mul nuw nsw i64 %65, %68
  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 %69) #2
  %70 = getelementptr inbounds i8, ptr %7, i64 20
  %71 = load i32, ptr %70, align 4, !tbaa !15
  %72 = zext i32 %71 to i64
  %73 = shl nuw nsw i64 %72, 2
  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 %73) #2
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef 4) #2
  %74 = getelementptr inbounds i8, ptr %8, i64 12
  %75 = load i32, ptr %74, align 1, !tbaa !16
  %76 = zext i32 %75 to i64
  %77 = shl nuw nsw i64 %76, 2
  %78 = load i32, ptr %70, align 4, !tbaa !15
  %79 = zext i32 %78 to i64
  %80 = load i32, ptr %56, align 1, !tbaa !11
  %81 = zext i32 %80 to i64
  %82 = sub nsw i64 %77, %81
  %83 = mul i64 %82, %79
  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 %83) #2
  %84 = load i32, ptr %62, align 1, !tbaa !12
  %85 = zext i32 %84 to i64
  %86 = load i32, ptr %66, align 4, !tbaa !13
  %87 = zext i32 %86 to i64
  %88 = mul nuw nsw i64 %87, %85
  %89 = load i32, ptr %56, align 1, !tbaa !11
  %90 = zext i32 %89 to i64
  %91 = mul nuw nsw i64 %88, %90
  %92 = shl nuw nsw i64 %87, 2
  %93 = sub nsw i64 %91, %92
  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 %93) #2
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef 4) #2
  br label %95

94:                                               ; preds = %55, %52
  tail call void @libxsmm_generator_transform_norm_to_normt_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 nonnull %8)
  br label %95

95:                                               ; preds = %60, %94, %18
  ret void
}

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 = { "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 0}
!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 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!14, !7, i64 8}
!14 = !{!"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}
!15 = !{!14, !7, i64 20}
!16 = !{!6, !7, i64 12}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass