; LLVM IR from libxsmm/libxsmm :: src (generator_mateltwise_unary_binary_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_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%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 }
%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 }

@.str = external hidden unnamed_addr constant [97 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@.str.12 = external hidden unnamed_addr constant [401 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [431 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [431 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [431 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [411 x i8], align 1
@__func__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv = external hidden unnamed_addr constant [55 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv = external hidden unnamed_addr constant [283 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_aarch64_instruction_alu_compute_imm64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 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_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

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

declare void @libxsmm_aarch64_instruction_sve_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 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: nounwind uwtable
declare dso_local void @libxsmm_generator_unary_binary_aarch64_load_bitmask_2bytemult_sve(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_unary_binary_aarch64_load_bitmask_2bytemult_asimd(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #3 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  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 i32 %7, ptr %18, align 4, !tbaa !9
  store i32 %8, ptr %19, align 4, !tbaa !9
  store i32 %9, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #4
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = icmp uge i32 %31, 2201
  br i1 %32, label %33, label %38

33:                                               ; preds = %10
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = icmp ule i32 %36, 2999
  br label %38

38:                                               ; preds = %33, %10
  %39 = phi i1 [ false, %10 ], [ %37, %33 ]
  %40 = zext i1 %39 to i32
  %41 = trunc i32 %40 to i8
  store i8 %41, ptr %23, align 1, !tbaa !13
  %42 = load i32, ptr %19, align 4, !tbaa !9
  %43 = load i32, ptr %20, align 4, !tbaa !9
  %44 = load i32, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %462, %38
  %46 = load i32, ptr %22, align 4, !tbaa !9
  %47 = load i32, ptr %18, align 4, !tbaa !9
  %48 = icmp ult i32 %46, %47
  br i1 %48, label %49, label %465

49:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  store i32 0, ptr %24, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %428, %49
  %51 = load i32, ptr %21, align 4, !tbaa !9
  %52 = load i32, ptr %17, align 4, !tbaa !9
  %53 = icmp ult i32 %51, %52
  br i1 %53, label %54, label %431

54:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %55 = load i32, ptr %16, align 4, !tbaa !9
  %56 = load i32, ptr %22, align 4, !tbaa !9
  %57 = load i32, ptr %17, align 4, !tbaa !9
  %58 = mul i32 %56, %57
  %59 = add i32 %55, %58
  %60 = load i32, ptr %21, align 4, !tbaa !9
  %61 = add i32 %59, %60
  store i32 %61, ptr %25, align 4, !tbaa !9
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %62, i32 0, i32 9
  %64 = load i16, ptr %63, align 1, !tbaa !14
  %65 = zext i16 %64 to i32
  %66 = and i32 %65, 1
  %67 = icmp sle i32 %66, 0
  br i1 %67, label %68, label %77

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

72:                                               ; preds = %68
  %73 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %75

74:                                               ; preds = %68
  br label %75

75:                                               ; preds = %74, %72
  %76 = phi i32 [ %73, %72 ], [ 1, %74 ]
  call void @libxsmm_handle_error(ptr noundef %69, i32 noundef 90045, ptr noundef @__func__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv, ptr noundef @.str, i32 noundef 2299, i32 noundef %76)
  store i32 1, ptr %26, align 4
  br label %425

77:                                               ; preds = %54
  %78 = load i8, ptr %23, align 1, !tbaa !13
  %79 = icmp ne i8 %78, 0
  br i1 %79, label %80, label %234

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #4
  store i8 6, ptr %27, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #4
  store i8 7, ptr %28, align 1, !tbaa !13
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %82, i32 0, i32 0
  %84 = load i32, ptr %83, align 1, !tbaa !17
  %85 = load i32, ptr %21, align 4, !tbaa !9
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %87, i32 0, i32 107
  %89 = load i32, ptr %88, align 4, !tbaa !18
  %90 = trunc i32 %89 to i8
  %91 = zext i8 %90 to i32
  %92 = icmp eq i32 0, %91
  br i1 %92, label %100, label %93

93:                                               ; preds = %80
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %94, i32 0, i32 107
  %96 = load i32, ptr %95, align 4, !tbaa !18
  %97 = trunc i32 %96 to i8
  %98 = zext i8 %97 to i32
  %99 = icmp slt i32 0, %98
  br i1 %99, label %100, label %124

100:                                              ; preds = %93, %80
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %101, i32 0, i32 107
  %103 = load i32, ptr %102, align 4, !tbaa !18
  %104 = zext i32 %103 to i64
  %105 = mul i64 1, %104
  %106 = icmp ult i64 %105, 255
  br i1 %106, label %107, label %113

107:                                              ; preds = %100
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %108, i32 0, i32 107
  %110 = load i32, ptr %109, align 4, !tbaa !18
  %111 = zext i32 %110 to i64
  %112 = mul i64 1, %111
  br label %114

113:                                              ; preds = %100
  br label %114

114:                                              ; preds = %113, %107
  %115 = phi i64 [ %112, %107 ], [ 255, %113 ]
  %116 = icmp ule i64 %115, 255
  br i1 %116, label %117, label %124

117:                                              ; preds = %114
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %118, i32 0, i32 107
  %120 = load i32, ptr %119, align 4, !tbaa !18
  %121 = uitofp i32 %120 to double
  %122 = fcmp ole double 0.000000e+00, %121
  br i1 %122, label %123, label %124

123:                                              ; preds = %117
  br label %125

124:                                              ; preds = %117, %114, %93
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str, i32 noundef 2309, ptr noundef @__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv) #5
  unreachable

125:                                              ; preds = %123
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %126, i32 0, i32 107
  %128 = load i32, ptr %127, align 4, !tbaa !18
  %129 = trunc i32 %128 to i8
  %130 = load ptr, ptr %12, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %130, i32 0, i32 13
  %132 = load i32, ptr %131, align 4, !tbaa !20
  %133 = trunc i32 %132 to i8
  %134 = zext i8 %133 to i32
  %135 = icmp eq i32 0, %134
  br i1 %135, label %143, label %136

136:                                              ; preds = %125
  %137 = load ptr, ptr %12, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %137, i32 0, i32 13
  %139 = load i32, ptr %138, align 4, !tbaa !20
  %140 = trunc i32 %139 to i8
  %141 = zext i8 %140 to i32
  %142 = icmp slt i32 0, %141
  br i1 %142, label %143, label %167

143:                                              ; preds = %136, %125
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %144, i32 0, i32 13
  %146 = load i32, ptr %145, align 4, !tbaa !20
  %147 = zext i32 %146 to i64
  %148 = mul i64 1, %147
  %149 = icmp ult i64 %148, 255
  br i1 %149, label %150, label %156

150:                                              ; preds = %143
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %151, i32 0, i32 13
  %153 = load i32, ptr %152, align 4, !tbaa !20
  %154 = zext i32 %153 to i64
  %155 = mul i64 1, %154
  br label %157

156:                                              ; preds = %143
  br label %157

157:                                              ; preds = %156, %150
  %158 = phi i64 [ %155, %150 ], [ 255, %156 ]
  %159 = icmp ule i64 %158, 255
  br i1 %159, label %160, label %167

160:                                              ; preds = %157
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %161, i32 0, i32 13
  %163 = load i32, ptr %162, align 4, !tbaa !20
  %164 = uitofp i32 %163 to double
  %165 = fcmp ole double 0.000000e+00, %164
  br i1 %165, label %166, label %167

166:                                              ; preds = %160
  br label %168

167:                                              ; preds = %160, %157, %136
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str, i32 noundef 2310, ptr noundef @__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv) #5
  unreachable

168:                                              ; preds = %166
  %169 = load ptr, ptr %12, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %169, i32 0, i32 13
  %171 = load i32, ptr %170, align 4, !tbaa !20
  %172 = trunc i32 %171 to i8
  %173 = load i8, ptr %28, align 1, !tbaa !13
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %174, i32 0, i32 35
  %176 = load i32, ptr %175, align 4, !tbaa !22
  %177 = trunc i32 %176 to i8
  %178 = zext i8 %177 to i32
  %179 = icmp eq i32 0, %178
  br i1 %179, label %187, label %180

180:                                              ; preds = %168
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %181, i32 0, i32 35
  %183 = load i32, ptr %182, align 4, !tbaa !22
  %184 = trunc i32 %183 to i8
  %185 = zext i8 %184 to i32
  %186 = icmp slt i32 0, %185
  br i1 %186, label %187, label %211

187:                                              ; preds = %180, %168
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %188, i32 0, i32 35
  %190 = load i32, ptr %189, align 4, !tbaa !22
  %191 = zext i32 %190 to i64
  %192 = mul i64 1, %191
  %193 = icmp ult i64 %192, 255
  br i1 %193, label %194, label %200

194:                                              ; preds = %187
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %195, i32 0, i32 35
  %197 = load i32, ptr %196, align 4, !tbaa !22
  %198 = zext i32 %197 to i64
  %199 = mul i64 1, %198
  br label %201

200:                                              ; preds = %187
  br label %201

201:                                              ; preds = %200, %194
  %202 = phi i64 [ %199, %194 ], [ 255, %200 ]
  %203 = icmp ule i64 %202, 255
  br i1 %203, label %204, label %211

204:                                              ; preds = %201
  %205 = load ptr, ptr %12, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %205, i32 0, i32 35
  %207 = load i32, ptr %206, align 4, !tbaa !22
  %208 = uitofp i32 %207 to double
  %209 = fcmp ole double 0.000000e+00, %208
  br i1 %209, label %210, label %211

210:                                              ; preds = %204
  br label %212

211:                                              ; preds = %204, %201, %180
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str, i32 noundef 2312, ptr noundef @__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv) #5
  unreachable

212:                                              ; preds = %210
  %213 = load ptr, ptr %12, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %213, i32 0, i32 35
  %215 = load i32, ptr %214, align 4, !tbaa !22
  %216 = trunc i32 %215 to i8
  %217 = load i8, ptr %27, align 1, !tbaa !13
  call void @libxsmm_generator_unary_binary_aarch64_load_bitmask_2bytemult_sve(ptr noundef %81, i32 noundef %84, i32 noundef %85, i32 noundef %86, i8 noundef zeroext %129, i8 noundef zeroext %172, i8 noundef zeroext %173, i8 noundef zeroext %216, i8 noundef zeroext %217, ptr noundef %24)
  %218 = load ptr, ptr %11, align 8, !tbaa !5
  %219 = load i32, ptr %25, align 4, !tbaa !9
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %220, i32 0, i32 112
  %222 = load i32, ptr %221, align 4, !tbaa !23
  %223 = load i32, ptr %25, align 4, !tbaa !9
  %224 = load i8, ptr %28, align 1, !tbaa !13
  %225 = zext i8 %224 to i32
  call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %218, i32 noundef 1694500867, i32 noundef %219, i32 noundef %222, i8 noundef zeroext 0, i32 noundef %223, i32 noundef %225, i32 noundef 2)
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = load i32, ptr %25, align 4, !tbaa !9
  %228 = load ptr, ptr %13, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %228, i32 0, i32 111
  %230 = load i32, ptr %229, align 4, !tbaa !24
  %231 = load i32, ptr %25, align 4, !tbaa !9
  %232 = load i8, ptr %28, align 1, !tbaa !13
  %233 = zext i8 %232 to i32
  call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %226, i32 noundef 86032515, i32 noundef %227, i32 noundef %230, i8 noundef zeroext 0, i32 noundef %231, i32 noundef %233, i32 noundef 2)
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  br label %424

234:                                              ; preds = %77
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  %236 = load i32, ptr %21, align 4, !tbaa !9
  %237 = load i32, ptr %17, align 4, !tbaa !9
  %238 = load ptr, ptr %13, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %238, i32 0, i32 100
  %240 = load i32, ptr %239, align 4, !tbaa !25
  %241 = trunc i32 %240 to i8
  %242 = zext i8 %241 to i32
  %243 = icmp eq i32 0, %242
  br i1 %243, label %251, label %244

244:                                              ; preds = %234
  %245 = load ptr, ptr %13, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %245, i32 0, i32 100
  %247 = load i32, ptr %246, align 4, !tbaa !25
  %248 = trunc i32 %247 to i8
  %249 = zext i8 %248 to i32
  %250 = icmp slt i32 0, %249
  br i1 %250, label %251, label %275

251:                                              ; preds = %244, %234
  %252 = load ptr, ptr %13, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %252, i32 0, i32 100
  %254 = load i32, ptr %253, align 4, !tbaa !25
  %255 = zext i32 %254 to i64
  %256 = mul i64 1, %255
  %257 = icmp ult i64 %256, 255
  br i1 %257, label %258, label %264

258:                                              ; preds = %251
  %259 = load ptr, ptr %13, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %259, i32 0, i32 100
  %261 = load i32, ptr %260, align 4, !tbaa !25
  %262 = zext i32 %261 to i64
  %263 = mul i64 1, %262
  br label %265

264:                                              ; preds = %251
  br label %265

265:                                              ; preds = %264, %258
  %266 = phi i64 [ %263, %258 ], [ 255, %264 ]
  %267 = icmp ule i64 %266, 255
  br i1 %267, label %268, label %275

268:                                              ; preds = %265
  %269 = load ptr, ptr %13, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %269, i32 0, i32 100
  %271 = load i32, ptr %270, align 4, !tbaa !25
  %272 = uitofp i32 %271 to double
  %273 = fcmp ole double 0.000000e+00, %272
  br i1 %273, label %274, label %275

274:                                              ; preds = %268
  br label %276

275:                                              ; preds = %268, %265, %244
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str, i32 noundef 2328, ptr noundef @__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv) #5
  unreachable

276:                                              ; preds = %274
  %277 = load ptr, ptr %13, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %277, i32 0, i32 100
  %279 = load i32, ptr %278, align 4, !tbaa !25
  %280 = trunc i32 %279 to i8
  %281 = load ptr, ptr %13, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %281, i32 0, i32 101
  %283 = load i32, ptr %282, align 4, !tbaa !26
  %284 = trunc i32 %283 to i8
  %285 = zext i8 %284 to i32
  %286 = icmp eq i32 0, %285
  br i1 %286, label %294, label %287

287:                                              ; preds = %276
  %288 = load ptr, ptr %13, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %288, i32 0, i32 101
  %290 = load i32, ptr %289, align 4, !tbaa !26
  %291 = trunc i32 %290 to i8
  %292 = zext i8 %291 to i32
  %293 = icmp slt i32 0, %292
  br i1 %293, label %294, label %318

294:                                              ; preds = %287, %276
  %295 = load ptr, ptr %13, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %295, i32 0, i32 101
  %297 = load i32, ptr %296, align 4, !tbaa !26
  %298 = zext i32 %297 to i64
  %299 = mul i64 1, %298
  %300 = icmp ult i64 %299, 255
  br i1 %300, label %301, label %307

301:                                              ; preds = %294
  %302 = load ptr, ptr %13, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %302, i32 0, i32 101
  %304 = load i32, ptr %303, align 4, !tbaa !26
  %305 = zext i32 %304 to i64
  %306 = mul i64 1, %305
  br label %308

307:                                              ; preds = %294
  br label %308

308:                                              ; preds = %307, %301
  %309 = phi i64 [ %306, %301 ], [ 255, %307 ]
  %310 = icmp ule i64 %309, 255
  br i1 %310, label %311, label %318

311:                                              ; preds = %308
  %312 = load ptr, ptr %13, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %312, i32 0, i32 101
  %314 = load i32, ptr %313, align 4, !tbaa !26
  %315 = uitofp i32 %314 to double
  %316 = fcmp ole double 0.000000e+00, %315
  br i1 %316, label %317, label %318

317:                                              ; preds = %311
  br label %319

318:                                              ; preds = %311, %308, %287
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str, i32 noundef 2329, ptr noundef @__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv) #5
  unreachable

319:                                              ; preds = %317
  %320 = load ptr, ptr %13, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %320, i32 0, i32 101
  %322 = load i32, ptr %321, align 4, !tbaa !26
  %323 = trunc i32 %322 to i8
  %324 = load ptr, ptr %13, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %324, i32 0, i32 107
  %326 = load i32, ptr %325, align 4, !tbaa !18
  %327 = trunc i32 %326 to i8
  %328 = zext i8 %327 to i32
  %329 = icmp eq i32 0, %328
  br i1 %329, label %337, label %330

330:                                              ; preds = %319
  %331 = load ptr, ptr %13, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %331, i32 0, i32 107
  %333 = load i32, ptr %332, align 4, !tbaa !18
  %334 = trunc i32 %333 to i8
  %335 = zext i8 %334 to i32
  %336 = icmp slt i32 0, %335
  br i1 %336, label %337, label %361

337:                                              ; preds = %330, %319
  %338 = load ptr, ptr %13, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %338, i32 0, i32 107
  %340 = load i32, ptr %339, align 4, !tbaa !18
  %341 = zext i32 %340 to i64
  %342 = mul i64 1, %341
  %343 = icmp ult i64 %342, 255
  br i1 %343, label %344, label %350

344:                                              ; preds = %337
  %345 = load ptr, ptr %13, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %345, i32 0, i32 107
  %347 = load i32, ptr %346, align 4, !tbaa !18
  %348 = zext i32 %347 to i64
  %349 = mul i64 1, %348
  br label %351

350:                                              ; preds = %337
  br label %351

351:                                              ; preds = %350, %344
  %352 = phi i64 [ %349, %344 ], [ 255, %350 ]
  %353 = icmp ule i64 %352, 255
  br i1 %353, label %354, label %361

354:                                              ; preds = %351
  %355 = load ptr, ptr %13, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %355, i32 0, i32 107
  %357 = load i32, ptr %356, align 4, !tbaa !18
  %358 = uitofp i32 %357 to double
  %359 = fcmp ole double 0.000000e+00, %358
  br i1 %359, label %360, label %361

360:                                              ; preds = %354
  br label %362

361:                                              ; preds = %354, %351, %330
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str, i32 noundef 2330, ptr noundef @__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv) #5
  unreachable

362:                                              ; preds = %360
  %363 = load ptr, ptr %13, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %363, i32 0, i32 107
  %365 = load i32, ptr %364, align 4, !tbaa !18
  %366 = trunc i32 %365 to i8
  %367 = load ptr, ptr %12, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %367, i32 0, i32 13
  %369 = load i32, ptr %368, align 4, !tbaa !20
  %370 = trunc i32 %369 to i8
  %371 = zext i8 %370 to i32
  %372 = icmp eq i32 0, %371
  br i1 %372, label %380, label %373

373:                                              ; preds = %362
  %374 = load ptr, ptr %12, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %374, i32 0, i32 13
  %376 = load i32, ptr %375, align 4, !tbaa !20
  %377 = trunc i32 %376 to i8
  %378 = zext i8 %377 to i32
  %379 = icmp slt i32 0, %378
  br i1 %379, label %380, label %404

380:                                              ; preds = %373, %362
  %381 = load ptr, ptr %12, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %381, i32 0, i32 13
  %383 = load i32, ptr %382, align 4, !tbaa !20
  %384 = zext i32 %383 to i64
  %385 = mul i64 1, %384
  %386 = icmp ult i64 %385, 255
  br i1 %386, label %387, label %393

387:                                              ; preds = %380
  %388 = load ptr, ptr %12, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %388, i32 0, i32 13
  %390 = load i32, ptr %389, align 4, !tbaa !20
  %391 = zext i32 %390 to i64
  %392 = mul i64 1, %391
  br label %394

393:                                              ; preds = %380
  br label %394

394:                                              ; preds = %393, %387
  %395 = phi i64 [ %392, %387 ], [ 255, %393 ]
  %396 = icmp ule i64 %395, 255
  br i1 %396, label %397, label %404

397:                                              ; preds = %394
  %398 = load ptr, ptr %12, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %398, i32 0, i32 13
  %400 = load i32, ptr %399, align 4, !tbaa !20
  %401 = uitofp i32 %400 to double
  %402 = fcmp ole double 0.000000e+00, %401
  br i1 %402, label %403, label %404

403:                                              ; preds = %397
  br label %405

404:                                              ; preds = %397, %394, %373
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str, i32 noundef 2331, ptr noundef @__PRETTY_FUNCTION__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv) #5
  unreachable

405:                                              ; preds = %403
  %406 = load ptr, ptr %12, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %406, i32 0, i32 13
  %408 = load i32, ptr %407, align 4, !tbaa !20
  %409 = trunc i32 %408 to i8
  call void @libxsmm_generator_unary_binary_aarch64_load_bitmask_2bytemult_asimd(ptr noundef %235, i32 noundef %236, i32 noundef %237, i8 noundef zeroext %280, i8 noundef zeroext %323, i8 noundef zeroext %366, i8 noundef zeroext %409, ptr noundef %24)
  %410 = load ptr, ptr %11, align 8, !tbaa !5
  %411 = load i32, ptr %25, align 4, !tbaa !9
  %412 = load ptr, ptr %13, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %412, i32 0, i32 112
  %414 = load i32, ptr %413, align 4, !tbaa !23
  %415 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %410, i32 noundef 773905419, i32 noundef %411, i32 noundef %414, i8 noundef zeroext 0, i32 noundef %415, i32 noundef 5)
  %416 = load ptr, ptr %11, align 8, !tbaa !5
  %417 = load ptr, ptr %13, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %417, i32 0, i32 111
  %419 = load i32, ptr %418, align 4, !tbaa !24
  %420 = load ptr, ptr %13, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %420, i32 0, i32 107
  %422 = load i32, ptr %421, align 4, !tbaa !18
  %423 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %416, i32 noundef 786439187, i32 noundef %419, i32 noundef %422, i8 noundef zeroext 0, i32 noundef %423, i32 noundef 1)
  br label %424

424:                                              ; preds = %405, %212
  store i32 0, ptr %26, align 4
  br label %425

425:                                              ; preds = %424, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  %426 = load i32, ptr %26, align 4
  switch i32 %426, label %459 [
    i32 0, label %427
  ]

427:                                              ; preds = %425
  br label %428

428:                                              ; preds = %427
  %429 = load i32, ptr %21, align 4, !tbaa !9
  %430 = add i32 %429, 1
  store i32 %430, ptr %21, align 4, !tbaa !9
  br label %50, !llvm.loop !27

431:                                              ; preds = %50
  %432 = load ptr, ptr %14, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %432, i32 0, i32 9
  %434 = load i16, ptr %433, align 1, !tbaa !14
  %435 = zext i16 %434 to i32
  %436 = and i32 %435, 1
  %437 = icmp sgt i32 %436, 0
  br i1 %437, label %438, label %458

438:                                              ; preds = %431
  %439 = load ptr, ptr %11, align 8, !tbaa !5
  %440 = load ptr, ptr %12, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %440, i32 0, i32 13
  %442 = load i32, ptr %441, align 4, !tbaa !20
  %443 = load ptr, ptr %12, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %443, i32 0, i32 35
  %445 = load i32, ptr %444, align 4, !tbaa !22
  %446 = load ptr, ptr %12, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %446, i32 0, i32 13
  %448 = load i32, ptr %447, align 4, !tbaa !20
  %449 = load ptr, ptr %13, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %449, i32 0, i32 16
  %451 = load i32, ptr %450, align 4, !tbaa !29
  %452 = zext i32 %451 to i64
  %453 = load i32, ptr %24, align 4, !tbaa !9
  %454 = zext i32 %453 to i64
  %455 = mul nsw i64 %454, 8
  %456 = sub nsw i64 %452, %455
  %457 = sdiv i64 %456, 8
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %439, i32 noundef 4096, i32 noundef %442, i32 noundef %445, i32 noundef %448, i64 noundef %457)
  br label %458

458:                                              ; preds = %438, %431
  store i32 0, ptr %26, align 4
  br label %459

459:                                              ; preds = %458, %425
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  %460 = load i32, ptr %26, align 4
  switch i32 %460, label %492 [
    i32 0, label %461
  ]

461:                                              ; preds = %459
  br label %462

462:                                              ; preds = %461
  %463 = load i32, ptr %22, align 4, !tbaa !9
  %464 = add i32 %463, 1
  store i32 %464, ptr %22, align 4, !tbaa !9
  br label %45, !llvm.loop !30

465:                                              ; preds = %45
  %466 = load ptr, ptr %14, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %466, i32 0, i32 9
  %468 = load i16, ptr %467, align 1, !tbaa !14
  %469 = zext i16 %468 to i32
  %470 = and i32 %469, 1
  %471 = icmp sgt i32 %470, 0
  br i1 %471, label %472, label %491

472:                                              ; preds = %465
  %473 = load ptr, ptr %11, align 8, !tbaa !5
  %474 = load ptr, ptr %12, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %474, i32 0, i32 13
  %476 = load i32, ptr %475, align 4, !tbaa !20
  %477 = load ptr, ptr %12, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %477, i32 0, i32 35
  %479 = load i32, ptr %478, align 4, !tbaa !22
  %480 = load ptr, ptr %12, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %480, i32 0, i32 13
  %482 = load i32, ptr %481, align 4, !tbaa !20
  %483 = load i32, ptr %18, align 4, !tbaa !9
  %484 = zext i32 %483 to i64
  %485 = load ptr, ptr %13, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %485, i32 0, i32 16
  %487 = load i32, ptr %486, align 4, !tbaa !29
  %488 = zext i32 %487 to i64
  %489 = sdiv i64 %488, 8
  %490 = mul nsw i64 %484, %489
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %473, i32 noundef 4097, i32 noundef %476, i32 noundef %479, i32 noundef %482, i64 noundef %490)
  br label %491

491:                                              ; preds = %472, %465
  store i32 0, ptr %26, align 4
  br label %492

492:                                              ; preds = %491, %459
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  %493 = load i32, ptr %26, align 4
  switch i32 %493, label %495 [
    i32 0, label %494
    i32 1, label %494
  ]

494:                                              ; preds = %492, %492
  ret void

495:                                              ; preds = %492
  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 = { 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !16, i64 27}
!15 = !{!"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, !16, i64 27, !16, i64 29, !7, i64 31}
!16 = !{!"short", !7, i64 0}
!17 = !{!15, !10, i64 0}
!18 = !{!19, !10, i64 428}
!19 = !{!"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}
!20 = !{!21, !10, i64 52}
!21 = !{!"libxsmm_mateltwise_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!22 = !{!21, !10, i64 140}
!23 = !{!19, !10, i64 448}
!24 = !{!19, !10, i64 444}
!25 = !{!19, !10, i64 400}
!26 = !{!19, !10, i64 404}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!19, !10, i64 64}
!30 = distinct !{!30, !28}


; 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 [97 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_compute_unary_aarch64_2d_reg_block_dropout_inv = external hidden unnamed_addr constant [55 x i8], align 1

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

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

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

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

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

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 #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) local_unnamed_addr #2 {
  %11 = alloca i32, align 4
  %.not130 = icmp eq i32 %7, 0
  br i1 %.not130, label %._crit_edge124, label %.lr.ph123

.lr.ph123:                                        ; preds = %10
  %.not116119.not = icmp eq i32 %6, 0
  %12 = getelementptr inbounds i8, ptr %3, i64 27
  %13 = getelementptr inbounds i8, ptr %2, i64 400
  %14 = getelementptr inbounds i8, ptr %2, i64 404
  %15 = getelementptr inbounds i8, ptr %2, i64 428
  %16 = getelementptr inbounds i8, ptr %1, i64 52
  %17 = getelementptr inbounds i8, ptr %2, i64 448
  %18 = getelementptr inbounds i8, ptr %2, i64 444
  %19 = getelementptr inbounds i8, ptr %1, i64 140
  %20 = getelementptr inbounds i8, ptr %2, i64 64
  br i1 %.not116119.not, label %.lr.ph123.split, label %.lr.ph123.split.us

.lr.ph123.split.us:                               ; preds = %.lr.ph123
  %21 = getelementptr inbounds i8, ptr %0, i64 28
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %.fr131 = freeze i32 %22
  %23 = add i32 %.fr131, -2201
  %spec.select = icmp ult i32 %23, 799
  br i1 %spec.select, label %.lr.ph.us.us, label %.lr.ph.us

.lr.ph.us.us:                                     ; preds = %.lr.ph123.split.us, %36
  %.0102121.us.us = phi i32 [ %37, %36 ], [ 0, %.lr.ph123.split.us ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  store i32 0, ptr %11, align 4, !tbaa !11
  %24 = mul i32 %.0102121.us.us, %6
  %25 = add i32 %24, %5
  br label %38

26:                                               ; preds = %._crit_edge.split.us.us.us
  %27 = load i32, ptr %16, align 4, !tbaa !12
  %28 = load i32, ptr %19, align 4, !tbaa !14
  %29 = load i32, ptr %20, align 4, !tbaa !15
  %30 = zext i32 %29 to i64
  %31 = load i32, ptr %11, align 4, !tbaa !11
  %32 = zext i32 %31 to i64
  %33 = shl nuw nsw i64 %32, 3
  %34 = sub nsw i64 %30, %33
  %35 = sdiv i64 %34, 8
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %27, i32 noundef %28, i32 noundef %27, i64 noundef %35) #3
  br label %36

36:                                               ; preds = %._crit_edge.split.us.us.us, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  %37 = add nuw i32 %.0102121.us.us, 1
  %exitcond137.not = icmp eq i32 %37, %7
  br i1 %exitcond137.not, label %._crit_edge124, label %.lr.ph.us.us, !llvm.loop !17

38:                                               ; preds = %41, %.lr.ph.us.us
  %.0120.us.us.us = phi i32 [ 0, %.lr.ph.us.us ], [ %52, %41 ]
  %39 = load i16, ptr %12, align 1, !tbaa !19
  %40 = and i16 %39, 1
  %.not115.not.not.us.us.us = icmp eq i16 %40, 0
  br i1 %.not115.not.not.us.us.us, label %.split.us, label %41

41:                                               ; preds = %38
  %42 = add i32 %25, %.0120.us.us.us
  %43 = load i32, ptr %3, align 1, !tbaa !22
  %44 = load i32, ptr %15, align 4, !tbaa !23
  %45 = trunc i32 %44 to i8
  %46 = load i32, ptr %16, align 4, !tbaa !12
  %47 = trunc i32 %46 to i8
  %48 = load i32, ptr %19, align 4, !tbaa !14
  %49 = trunc i32 %48 to i8
  call void @libxsmm_generator_unary_binary_aarch64_load_bitmask_2bytemult_sve(ptr noundef %0, i32 noundef %43, i32 noundef %.0120.us.us.us, i32 noundef %6, i8 noundef zeroext %45, i8 noundef zeroext %47, i8 noundef zeroext 7, i8 noundef zeroext %49, i8 noundef zeroext 6, ptr noundef nonnull %11)
  %50 = load i32, ptr %17, align 4, !tbaa !24
  call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %0, i32 noundef 1694500867, i32 noundef %42, i32 noundef %50, i8 noundef zeroext 0, i32 noundef %42, i32 noundef 7, i32 noundef 2) #3
  %51 = load i32, ptr %18, align 4, !tbaa !25
  call void @libxsmm_aarch64_instruction_sve_compute(ptr noundef %0, i32 noundef 86032515, i32 noundef %42, i32 noundef %51, i8 noundef zeroext 0, i32 noundef %42, i32 noundef 7, i32 noundef 2) #3
  %52 = add nuw i32 %.0120.us.us.us, 1
  %exitcond136.not = icmp eq i32 %52, %6
  br i1 %exitcond136.not, label %._crit_edge.split.us.us.us, label %38, !llvm.loop !26

._crit_edge.split.us.us.us:                       ; preds = %41
  %53 = load i16, ptr %12, align 1, !tbaa !19
  %54 = and i16 %53, 1
  %.not114.us.us = icmp eq i16 %54, 0
  br i1 %.not114.us.us, label %36, label %26

.lr.ph.us:                                        ; preds = %.lr.ph123.split.us, %67
  %.0102121.us = phi i32 [ %68, %67 ], [ 0, %.lr.ph123.split.us ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  store i32 0, ptr %11, align 4, !tbaa !11
  %55 = mul i32 %.0102121.us, %6
  %56 = add i32 %55, %5
  br label %69

57:                                               ; preds = %._crit_edge.split.us128
  %58 = load i32, ptr %16, align 4, !tbaa !12
  %59 = load i32, ptr %19, align 4, !tbaa !14
  %60 = load i32, ptr %20, align 4, !tbaa !15
  %61 = zext i32 %60 to i64
  %62 = load i32, ptr %11, align 4, !tbaa !11
  %63 = zext i32 %62 to i64
  %64 = shl nuw nsw i64 %63, 3
  %65 = sub nsw i64 %61, %64
  %66 = sdiv i64 %65, 8
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %58, i32 noundef %59, i32 noundef %58, i64 noundef %66) #3
  br label %67

67:                                               ; preds = %57, %._crit_edge.split.us128
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  %68 = add nuw i32 %.0102121.us, 1
  %exitcond135.not = icmp eq i32 %68, %7
  br i1 %exitcond135.not, label %._crit_edge124, label %.lr.ph.us, !llvm.loop !17

69:                                               ; preds = %.lr.ph.us, %72
  %.0120.us125 = phi i32 [ 0, %.lr.ph.us ], [ %85, %72 ]
  %70 = load i16, ptr %12, align 1, !tbaa !19
  %71 = and i16 %70, 1
  %.not115.not.not.us126 = icmp eq i16 %71, 0
  br i1 %.not115.not.not.us126, label %.split.us, label %72

72:                                               ; preds = %69
  %73 = add i32 %56, %.0120.us125
  %74 = load i32, ptr %13, align 4, !tbaa !27
  %75 = trunc i32 %74 to i8
  %76 = load i32, ptr %14, align 4, !tbaa !28
  %77 = trunc i32 %76 to i8
  %78 = load i32, ptr %15, align 4, !tbaa !23
  %79 = trunc i32 %78 to i8
  %80 = load i32, ptr %16, align 4, !tbaa !12
  %81 = trunc i32 %80 to i8
  call void @libxsmm_generator_unary_binary_aarch64_load_bitmask_2bytemult_asimd(ptr noundef %0, i32 noundef %.0120.us125, i32 noundef %6, i8 noundef zeroext %75, i8 noundef zeroext %77, i8 noundef zeroext %79, i8 noundef zeroext %81, ptr noundef nonnull %11)
  %82 = load i32, ptr %17, align 4, !tbaa !24
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 773905419, i32 noundef %73, i32 noundef %82, i8 noundef zeroext 0, i32 noundef %73, i32 noundef 5) #3
  %83 = load i32, ptr %18, align 4, !tbaa !25
  %84 = load i32, ptr %15, align 4, !tbaa !23
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 786439187, i32 noundef %83, i32 noundef %84, i8 noundef zeroext 0, i32 noundef %73, i32 noundef 1) #3
  %85 = add nuw i32 %.0120.us125, 1
  %exitcond.not = icmp eq i32 %85, %6
  br i1 %exitcond.not, label %._crit_edge.split.us128, label %69, !llvm.loop !26

._crit_edge.split.us128:                          ; preds = %72
  %86 = load i16, ptr %12, align 1, !tbaa !19
  %87 = and i16 %86, 1
  %.not114.us = icmp eq i16 %87, 0
  br i1 %.not114.us, label %67, label %57

.lr.ph123.split:                                  ; preds = %.lr.ph123, %100
  %.0102121 = phi i32 [ %101, %100 ], [ 0, %.lr.ph123 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  %88 = load i16, ptr %12, align 1, !tbaa !19
  %89 = and i16 %88, 1
  %.not114 = icmp eq i16 %89, 0
  br i1 %.not114, label %100, label %90

90:                                               ; preds = %.lr.ph123.split
  %91 = load i32, ptr %16, align 4, !tbaa !12
  %92 = load i32, ptr %19, align 4, !tbaa !14
  %93 = load i32, ptr %20, align 4, !tbaa !15
  %94 = lshr i32 %93, 3
  %95 = zext nneg i32 %94 to i64
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4096, i32 noundef %91, i32 noundef %92, i32 noundef %91, i64 noundef %95) #3
  br label %100

.split.us:                                        ; preds = %69, %38
  %96 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !11
  %97 = icmp ugt i32 %96, 1
  %98 = load i32, ptr @libxsmm_verbosity, align 4
  %99 = select i1 %97, i32 %98, i32 1
  call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90045, ptr noundef nonnull @__func__.libxsmm_compute_unary_aarch64_2d_reg_block_dropout_inv, ptr noundef nonnull @.str, i32 noundef 2299, i32 noundef %99) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  br label %116

100:                                              ; preds = %.lr.ph123.split, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  %101 = add nuw i32 %.0102121, 1
  %exitcond138.not = icmp eq i32 %101, %7
  br i1 %exitcond138.not, label %._crit_edge124, label %.lr.ph123.split, !llvm.loop !17

._crit_edge124:                                   ; preds = %67, %36, %100, %10
  %102 = getelementptr inbounds i8, ptr %3, i64 27
  %103 = load i16, ptr %102, align 1, !tbaa !19
  %104 = and i16 %103, 1
  %.not = icmp eq i16 %104, 0
  br i1 %.not, label %116, label %105

105:                                              ; preds = %._crit_edge124
  %106 = getelementptr inbounds i8, ptr %1, i64 52
  %107 = load i32, ptr %106, align 4, !tbaa !12
  %108 = getelementptr inbounds i8, ptr %1, i64 140
  %109 = load i32, ptr %108, align 4, !tbaa !14
  %110 = zext i32 %7 to i64
  %111 = getelementptr inbounds i8, ptr %2, i64 64
  %112 = load i32, ptr %111, align 4, !tbaa !15
  %113 = lshr i32 %112, 3
  %114 = zext nneg i32 %113 to i64
  %115 = mul nuw nsw i64 %114, %110
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 4097, i32 noundef %107, i32 noundef %109, i32 noundef %107, i64 noundef %115) #3
  br label %116

116:                                              ; preds = %.split.us, %._crit_edge124, %105
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 28}
!6 = !{!"libxsmm_generated_code", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !10, i64 52}
!13 = !{!"libxsmm_mateltwise_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!14 = !{!13, !10, i64 140}
!15 = !{!16, !10, i64 64}
!16 = !{!"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, !8, i64 512}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !21, i64 27}
!20 = !{!"libxsmm_meltw_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !8, i64 25, !8, i64 26, !21, i64 27, !21, i64 29, !8, i64 31}
!21 = !{!"short", !8, i64 0}
!22 = !{!20, !10, i64 0}
!23 = !{!16, !10, i64 428}
!24 = !{!16, !10, i64 448}
!25 = !{!16, !10, i64 444}
!26 = distinct !{!26, !18}
!27 = !{!16, !10, i64 400}
!28 = !{!16, !10, i64 404}


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