; LLVM IR from libxsmm/libxsmm :: src (generator_common_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"

@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [271 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [271 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [271 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [271 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [301 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [301 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [281 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [281 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [281 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [281 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [301 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve = external hidden unnamed_addr constant [389 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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14) #2 {
  %16 = alloca ptr, align 8
  %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 i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i8, align 1
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  %41 = alloca i32, align 4
  store ptr %0, ptr %16, align 8, !tbaa !5
  store i32 %1, ptr %17, align 4, !tbaa !9
  store i32 %2, ptr %18, align 4, !tbaa !9
  store i32 %3, ptr %19, align 4, !tbaa !9
  store i32 %4, ptr %20, align 4, !tbaa !9
  store i32 %5, ptr %21, align 4, !tbaa !9
  store i32 %6, ptr %22, align 4, !tbaa !9
  store i32 %7, ptr %23, align 4, !tbaa !9
  store i32 %8, ptr %24, align 4, !tbaa !9
  store i32 %9, ptr %25, align 4, !tbaa !9
  store i32 %10, ptr %26, align 4, !tbaa !9
  store i32 %11, ptr %27, align 4, !tbaa !9
  store i32 %12, ptr %28, align 4, !tbaa !9
  store i32 %13, ptr %29, align 4, !tbaa !9
  store i8 %14, ptr %30, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  store i64 1240952968, ptr %31, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  store i64 1216608192, ptr %32, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  store i64 1171820544, ptr %33, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #3
  store i64 1108344832, ptr %34, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #3
  store i64 1231483280, ptr %35, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  store i64 1196099328, ptr %36, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #3
  store i64 1142784000, ptr %37, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #3
  store i64 1084164669, ptr %38, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #3
  store i64 3231648317, ptr %39, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #3
  store i64 1065353216, ptr %40, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #3
  store i32 -1082130432, ptr %41, align 4, !tbaa !9
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = load i32, ptr %17, align 4, !tbaa !9
  %44 = trunc i32 %43 to i8
  %45 = zext i8 %44 to i32
  %46 = icmp eq i32 0, %45
  br i1 %46, label %52, label %47

47:                                               ; preds = %15
  %48 = load i32, ptr %17, align 4, !tbaa !9
  %49 = trunc i32 %48 to i8
  %50 = zext i8 %49 to i32
  %51 = icmp slt i32 0, %50
  br i1 %51, label %52, label %70

52:                                               ; preds = %47, %15
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = mul i64 1, %54
  %56 = icmp ult i64 %55, 255
  br i1 %56, label %57, label %61

57:                                               ; preds = %52
  %58 = load i32, ptr %17, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = mul i64 1, %59
  br label %62

61:                                               ; preds = %52
  br label %62

62:                                               ; preds = %61, %57
  %63 = phi i64 [ %60, %57 ], [ 255, %61 ]
  %64 = icmp ule i64 %63, 255
  br i1 %64, label %65, label %70

65:                                               ; preds = %62
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = uitofp i32 %66 to double
  %68 = fcmp ole double 0.000000e+00, %67
  br i1 %68, label %69, label %70

69:                                               ; preds = %65
  br label %71

70:                                               ; preds = %65, %62, %47
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.1, i32 noundef 3819, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

71:                                               ; preds = %69
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = trunc i32 %72 to i8
  %74 = load i32, ptr %28, align 4, !tbaa !9
  %75 = load i32, ptr %29, align 4, !tbaa !9
  %76 = load i8, ptr %30, align 1, !tbaa !11
  %77 = load i64, ptr %31, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %42, i8 noundef zeroext %73, i32 noundef %74, i32 noundef %75, i8 noundef zeroext %76, i64 noundef %77)
  %78 = load ptr, ptr %16, align 8, !tbaa !5
  %79 = load i32, ptr %18, align 4, !tbaa !9
  %80 = trunc i32 %79 to i8
  %81 = zext i8 %80 to i32
  %82 = icmp eq i32 0, %81
  br i1 %82, label %88, label %83

83:                                               ; preds = %71
  %84 = load i32, ptr %18, align 4, !tbaa !9
  %85 = trunc i32 %84 to i8
  %86 = zext i8 %85 to i32
  %87 = icmp slt i32 0, %86
  br i1 %87, label %88, label %106

88:                                               ; preds = %83, %71
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = mul i64 1, %90
  %92 = icmp ult i64 %91, 255
  br i1 %92, label %93, label %97

93:                                               ; preds = %88
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = mul i64 1, %95
  br label %98

97:                                               ; preds = %88
  br label %98

98:                                               ; preds = %97, %93
  %99 = phi i64 [ %96, %93 ], [ 255, %97 ]
  %100 = icmp ule i64 %99, 255
  br i1 %100, label %101, label %106

101:                                              ; preds = %98
  %102 = load i32, ptr %18, align 4, !tbaa !9
  %103 = uitofp i32 %102 to double
  %104 = fcmp ole double 0.000000e+00, %103
  br i1 %104, label %105, label %106

105:                                              ; preds = %101
  br label %107

106:                                              ; preds = %101, %98, %83
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.1, i32 noundef 3820, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

107:                                              ; preds = %105
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = trunc i32 %108 to i8
  %110 = load i32, ptr %28, align 4, !tbaa !9
  %111 = load i32, ptr %29, align 4, !tbaa !9
  %112 = load i8, ptr %30, align 1, !tbaa !11
  %113 = load i64, ptr %32, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %78, i8 noundef zeroext %109, i32 noundef %110, i32 noundef %111, i8 noundef zeroext %112, i64 noundef %113)
  %114 = load ptr, ptr %16, align 8, !tbaa !5
  %115 = load i32, ptr %19, align 4, !tbaa !9
  %116 = trunc i32 %115 to i8
  %117 = zext i8 %116 to i32
  %118 = icmp eq i32 0, %117
  br i1 %118, label %124, label %119

119:                                              ; preds = %107
  %120 = load i32, ptr %19, align 4, !tbaa !9
  %121 = trunc i32 %120 to i8
  %122 = zext i8 %121 to i32
  %123 = icmp slt i32 0, %122
  br i1 %123, label %124, label %142

124:                                              ; preds = %119, %107
  %125 = load i32, ptr %19, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = mul i64 1, %126
  %128 = icmp ult i64 %127, 255
  br i1 %128, label %129, label %133

129:                                              ; preds = %124
  %130 = load i32, ptr %19, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = mul i64 1, %131
  br label %134

133:                                              ; preds = %124
  br label %134

134:                                              ; preds = %133, %129
  %135 = phi i64 [ %132, %129 ], [ 255, %133 ]
  %136 = icmp ule i64 %135, 255
  br i1 %136, label %137, label %142

137:                                              ; preds = %134
  %138 = load i32, ptr %19, align 4, !tbaa !9
  %139 = uitofp i32 %138 to double
  %140 = fcmp ole double 0.000000e+00, %139
  br i1 %140, label %141, label %142

141:                                              ; preds = %137
  br label %143

142:                                              ; preds = %137, %134, %119
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.1, i32 noundef 3821, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

143:                                              ; preds = %141
  %144 = load i32, ptr %19, align 4, !tbaa !9
  %145 = trunc i32 %144 to i8
  %146 = load i32, ptr %28, align 4, !tbaa !9
  %147 = load i32, ptr %29, align 4, !tbaa !9
  %148 = load i8, ptr %30, align 1, !tbaa !11
  %149 = load i64, ptr %33, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %114, i8 noundef zeroext %145, i32 noundef %146, i32 noundef %147, i8 noundef zeroext %148, i64 noundef %149)
  %150 = load ptr, ptr %16, align 8, !tbaa !5
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = trunc i32 %151 to i8
  %153 = zext i8 %152 to i32
  %154 = icmp eq i32 0, %153
  br i1 %154, label %160, label %155

155:                                              ; preds = %143
  %156 = load i32, ptr %20, align 4, !tbaa !9
  %157 = trunc i32 %156 to i8
  %158 = zext i8 %157 to i32
  %159 = icmp slt i32 0, %158
  br i1 %159, label %160, label %178

160:                                              ; preds = %155, %143
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = mul i64 1, %162
  %164 = icmp ult i64 %163, 255
  br i1 %164, label %165, label %169

165:                                              ; preds = %160
  %166 = load i32, ptr %20, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = mul i64 1, %167
  br label %170

169:                                              ; preds = %160
  br label %170

170:                                              ; preds = %169, %165
  %171 = phi i64 [ %168, %165 ], [ 255, %169 ]
  %172 = icmp ule i64 %171, 255
  br i1 %172, label %173, label %178

173:                                              ; preds = %170
  %174 = load i32, ptr %20, align 4, !tbaa !9
  %175 = uitofp i32 %174 to double
  %176 = fcmp ole double 0.000000e+00, %175
  br i1 %176, label %177, label %178

177:                                              ; preds = %173
  br label %179

178:                                              ; preds = %173, %170, %155
  call void @__assert_fail(ptr noundef @.str.37, ptr noundef @.str.1, i32 noundef 3822, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

179:                                              ; preds = %177
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = trunc i32 %180 to i8
  %182 = load i32, ptr %28, align 4, !tbaa !9
  %183 = load i32, ptr %29, align 4, !tbaa !9
  %184 = load i8, ptr %30, align 1, !tbaa !11
  %185 = load i64, ptr %34, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %150, i8 noundef zeroext %181, i32 noundef %182, i32 noundef %183, i8 noundef zeroext %184, i64 noundef %185)
  %186 = load ptr, ptr %16, align 8, !tbaa !5
  %187 = load i32, ptr %21, align 4, !tbaa !9
  %188 = trunc i32 %187 to i8
  %189 = zext i8 %188 to i32
  %190 = icmp eq i32 0, %189
  br i1 %190, label %196, label %191

191:                                              ; preds = %179
  %192 = load i32, ptr %21, align 4, !tbaa !9
  %193 = trunc i32 %192 to i8
  %194 = zext i8 %193 to i32
  %195 = icmp slt i32 0, %194
  br i1 %195, label %196, label %214

196:                                              ; preds = %191, %179
  %197 = load i32, ptr %21, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = mul i64 1, %198
  %200 = icmp ult i64 %199, 255
  br i1 %200, label %201, label %205

201:                                              ; preds = %196
  %202 = load i32, ptr %21, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = mul i64 1, %203
  br label %206

205:                                              ; preds = %196
  br label %206

206:                                              ; preds = %205, %201
  %207 = phi i64 [ %204, %201 ], [ 255, %205 ]
  %208 = icmp ule i64 %207, 255
  br i1 %208, label %209, label %214

209:                                              ; preds = %206
  %210 = load i32, ptr %21, align 4, !tbaa !9
  %211 = uitofp i32 %210 to double
  %212 = fcmp ole double 0.000000e+00, %211
  br i1 %212, label %213, label %214

213:                                              ; preds = %209
  br label %215

214:                                              ; preds = %209, %206, %191
  call void @__assert_fail(ptr noundef @.str.41, ptr noundef @.str.1, i32 noundef 3823, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

215:                                              ; preds = %213
  %216 = load i32, ptr %21, align 4, !tbaa !9
  %217 = trunc i32 %216 to i8
  %218 = load i32, ptr %28, align 4, !tbaa !9
  %219 = load i32, ptr %29, align 4, !tbaa !9
  %220 = load i8, ptr %30, align 1, !tbaa !11
  %221 = load i64, ptr %35, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %186, i8 noundef zeroext %217, i32 noundef %218, i32 noundef %219, i8 noundef zeroext %220, i64 noundef %221)
  %222 = load ptr, ptr %16, align 8, !tbaa !5
  %223 = load i32, ptr %22, align 4, !tbaa !9
  %224 = trunc i32 %223 to i8
  %225 = zext i8 %224 to i32
  %226 = icmp eq i32 0, %225
  br i1 %226, label %232, label %227

227:                                              ; preds = %215
  %228 = load i32, ptr %22, align 4, !tbaa !9
  %229 = trunc i32 %228 to i8
  %230 = zext i8 %229 to i32
  %231 = icmp slt i32 0, %230
  br i1 %231, label %232, label %250

232:                                              ; preds = %227, %215
  %233 = load i32, ptr %22, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = mul i64 1, %234
  %236 = icmp ult i64 %235, 255
  br i1 %236, label %237, label %241

237:                                              ; preds = %232
  %238 = load i32, ptr %22, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = mul i64 1, %239
  br label %242

241:                                              ; preds = %232
  br label %242

242:                                              ; preds = %241, %237
  %243 = phi i64 [ %240, %237 ], [ 255, %241 ]
  %244 = icmp ule i64 %243, 255
  br i1 %244, label %245, label %250

245:                                              ; preds = %242
  %246 = load i32, ptr %22, align 4, !tbaa !9
  %247 = uitofp i32 %246 to double
  %248 = fcmp ole double 0.000000e+00, %247
  br i1 %248, label %249, label %250

249:                                              ; preds = %245
  br label %251

250:                                              ; preds = %245, %242, %227
  call void @__assert_fail(ptr noundef @.str.42, ptr noundef @.str.1, i32 noundef 3824, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

251:                                              ; preds = %249
  %252 = load i32, ptr %22, align 4, !tbaa !9
  %253 = trunc i32 %252 to i8
  %254 = load i32, ptr %28, align 4, !tbaa !9
  %255 = load i32, ptr %29, align 4, !tbaa !9
  %256 = load i8, ptr %30, align 1, !tbaa !11
  %257 = load i64, ptr %36, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %222, i8 noundef zeroext %253, i32 noundef %254, i32 noundef %255, i8 noundef zeroext %256, i64 noundef %257)
  %258 = load ptr, ptr %16, align 8, !tbaa !5
  %259 = load i32, ptr %23, align 4, !tbaa !9
  %260 = trunc i32 %259 to i8
  %261 = zext i8 %260 to i32
  %262 = icmp eq i32 0, %261
  br i1 %262, label %268, label %263

263:                                              ; preds = %251
  %264 = load i32, ptr %23, align 4, !tbaa !9
  %265 = trunc i32 %264 to i8
  %266 = zext i8 %265 to i32
  %267 = icmp slt i32 0, %266
  br i1 %267, label %268, label %286

268:                                              ; preds = %263, %251
  %269 = load i32, ptr %23, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = mul i64 1, %270
  %272 = icmp ult i64 %271, 255
  br i1 %272, label %273, label %277

273:                                              ; preds = %268
  %274 = load i32, ptr %23, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = mul i64 1, %275
  br label %278

277:                                              ; preds = %268
  br label %278

278:                                              ; preds = %277, %273
  %279 = phi i64 [ %276, %273 ], [ 255, %277 ]
  %280 = icmp ule i64 %279, 255
  br i1 %280, label %281, label %286

281:                                              ; preds = %278
  %282 = load i32, ptr %23, align 4, !tbaa !9
  %283 = uitofp i32 %282 to double
  %284 = fcmp ole double 0.000000e+00, %283
  br i1 %284, label %285, label %286

285:                                              ; preds = %281
  br label %287

286:                                              ; preds = %281, %278, %263
  call void @__assert_fail(ptr noundef @.str.43, ptr noundef @.str.1, i32 noundef 3825, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

287:                                              ; preds = %285
  %288 = load i32, ptr %23, align 4, !tbaa !9
  %289 = trunc i32 %288 to i8
  %290 = load i32, ptr %28, align 4, !tbaa !9
  %291 = load i32, ptr %29, align 4, !tbaa !9
  %292 = load i8, ptr %30, align 1, !tbaa !11
  %293 = load i64, ptr %37, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %258, i8 noundef zeroext %289, i32 noundef %290, i32 noundef %291, i8 noundef zeroext %292, i64 noundef %293)
  %294 = load ptr, ptr %16, align 8, !tbaa !5
  %295 = load i32, ptr %24, align 4, !tbaa !9
  %296 = trunc i32 %295 to i8
  %297 = zext i8 %296 to i32
  %298 = icmp eq i32 0, %297
  br i1 %298, label %304, label %299

299:                                              ; preds = %287
  %300 = load i32, ptr %24, align 4, !tbaa !9
  %301 = trunc i32 %300 to i8
  %302 = zext i8 %301 to i32
  %303 = icmp slt i32 0, %302
  br i1 %303, label %304, label %322

304:                                              ; preds = %299, %287
  %305 = load i32, ptr %24, align 4, !tbaa !9
  %306 = zext i32 %305 to i64
  %307 = mul i64 1, %306
  %308 = icmp ult i64 %307, 255
  br i1 %308, label %309, label %313

309:                                              ; preds = %304
  %310 = load i32, ptr %24, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = mul i64 1, %311
  br label %314

313:                                              ; preds = %304
  br label %314

314:                                              ; preds = %313, %309
  %315 = phi i64 [ %312, %309 ], [ 255, %313 ]
  %316 = icmp ule i64 %315, 255
  br i1 %316, label %317, label %322

317:                                              ; preds = %314
  %318 = load i32, ptr %24, align 4, !tbaa !9
  %319 = uitofp i32 %318 to double
  %320 = fcmp ole double 0.000000e+00, %319
  br i1 %320, label %321, label %322

321:                                              ; preds = %317
  br label %323

322:                                              ; preds = %317, %314, %299
  call void @__assert_fail(ptr noundef @.str.39, ptr noundef @.str.1, i32 noundef 3826, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

323:                                              ; preds = %321
  %324 = load i32, ptr %24, align 4, !tbaa !9
  %325 = trunc i32 %324 to i8
  %326 = load i32, ptr %28, align 4, !tbaa !9
  %327 = load i32, ptr %29, align 4, !tbaa !9
  %328 = load i8, ptr %30, align 1, !tbaa !11
  %329 = load i64, ptr %38, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %294, i8 noundef zeroext %325, i32 noundef %326, i32 noundef %327, i8 noundef zeroext %328, i64 noundef %329)
  %330 = load ptr, ptr %16, align 8, !tbaa !5
  %331 = load i32, ptr %25, align 4, !tbaa !9
  %332 = trunc i32 %331 to i8
  %333 = zext i8 %332 to i32
  %334 = icmp eq i32 0, %333
  br i1 %334, label %340, label %335

335:                                              ; preds = %323
  %336 = load i32, ptr %25, align 4, !tbaa !9
  %337 = trunc i32 %336 to i8
  %338 = zext i8 %337 to i32
  %339 = icmp slt i32 0, %338
  br i1 %339, label %340, label %358

340:                                              ; preds = %335, %323
  %341 = load i32, ptr %25, align 4, !tbaa !9
  %342 = zext i32 %341 to i64
  %343 = mul i64 1, %342
  %344 = icmp ult i64 %343, 255
  br i1 %344, label %345, label %349

345:                                              ; preds = %340
  %346 = load i32, ptr %25, align 4, !tbaa !9
  %347 = zext i32 %346 to i64
  %348 = mul i64 1, %347
  br label %350

349:                                              ; preds = %340
  br label %350

350:                                              ; preds = %349, %345
  %351 = phi i64 [ %348, %345 ], [ 255, %349 ]
  %352 = icmp ule i64 %351, 255
  br i1 %352, label %353, label %358

353:                                              ; preds = %350
  %354 = load i32, ptr %25, align 4, !tbaa !9
  %355 = uitofp i32 %354 to double
  %356 = fcmp ole double 0.000000e+00, %355
  br i1 %356, label %357, label %358

357:                                              ; preds = %353
  br label %359

358:                                              ; preds = %353, %350, %335
  call void @__assert_fail(ptr noundef @.str.40, ptr noundef @.str.1, i32 noundef 3827, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

359:                                              ; preds = %357
  %360 = load i32, ptr %25, align 4, !tbaa !9
  %361 = trunc i32 %360 to i8
  %362 = load i32, ptr %28, align 4, !tbaa !9
  %363 = load i32, ptr %29, align 4, !tbaa !9
  %364 = load i8, ptr %30, align 1, !tbaa !11
  %365 = load i64, ptr %39, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %330, i8 noundef zeroext %361, i32 noundef %362, i32 noundef %363, i8 noundef zeroext %364, i64 noundef %365)
  %366 = load ptr, ptr %16, align 8, !tbaa !5
  %367 = load i32, ptr %26, align 4, !tbaa !9
  %368 = trunc i32 %367 to i8
  %369 = zext i8 %368 to i32
  %370 = icmp eq i32 0, %369
  br i1 %370, label %376, label %371

371:                                              ; preds = %359
  %372 = load i32, ptr %26, align 4, !tbaa !9
  %373 = trunc i32 %372 to i8
  %374 = zext i8 %373 to i32
  %375 = icmp slt i32 0, %374
  br i1 %375, label %376, label %394

376:                                              ; preds = %371, %359
  %377 = load i32, ptr %26, align 4, !tbaa !9
  %378 = zext i32 %377 to i64
  %379 = mul i64 1, %378
  %380 = icmp ult i64 %379, 255
  br i1 %380, label %381, label %385

381:                                              ; preds = %376
  %382 = load i32, ptr %26, align 4, !tbaa !9
  %383 = zext i32 %382 to i64
  %384 = mul i64 1, %383
  br label %386

385:                                              ; preds = %376
  br label %386

386:                                              ; preds = %385, %381
  %387 = phi i64 [ %384, %381 ], [ 255, %385 ]
  %388 = icmp ule i64 %387, 255
  br i1 %388, label %389, label %394

389:                                              ; preds = %386
  %390 = load i32, ptr %26, align 4, !tbaa !9
  %391 = uitofp i32 %390 to double
  %392 = fcmp ole double 0.000000e+00, %391
  br i1 %392, label %393, label %394

393:                                              ; preds = %389
  br label %395

394:                                              ; preds = %389, %386, %371
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str.1, i32 noundef 3828, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

395:                                              ; preds = %393
  %396 = load i32, ptr %26, align 4, !tbaa !9
  %397 = trunc i32 %396 to i8
  %398 = load i32, ptr %28, align 4, !tbaa !9
  %399 = load i32, ptr %29, align 4, !tbaa !9
  %400 = load i8, ptr %30, align 1, !tbaa !11
  %401 = load i64, ptr %40, align 8, !tbaa !12
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %366, i8 noundef zeroext %397, i32 noundef %398, i32 noundef %399, i8 noundef zeroext %400, i64 noundef %401)
  %402 = load ptr, ptr %16, align 8, !tbaa !5
  %403 = load i32, ptr %27, align 4, !tbaa !9
  %404 = trunc i32 %403 to i8
  %405 = zext i8 %404 to i32
  %406 = icmp eq i32 0, %405
  br i1 %406, label %412, label %407

407:                                              ; preds = %395
  %408 = load i32, ptr %27, align 4, !tbaa !9
  %409 = trunc i32 %408 to i8
  %410 = zext i8 %409 to i32
  %411 = icmp slt i32 0, %410
  br i1 %411, label %412, label %430

412:                                              ; preds = %407, %395
  %413 = load i32, ptr %27, align 4, !tbaa !9
  %414 = zext i32 %413 to i64
  %415 = mul i64 1, %414
  %416 = icmp ult i64 %415, 255
  br i1 %416, label %417, label %421

417:                                              ; preds = %412
  %418 = load i32, ptr %27, align 4, !tbaa !9
  %419 = zext i32 %418 to i64
  %420 = mul i64 1, %419
  br label %422

421:                                              ; preds = %412
  br label %422

422:                                              ; preds = %421, %417
  %423 = phi i64 [ %420, %417 ], [ 255, %421 ]
  %424 = icmp ule i64 %423, 255
  br i1 %424, label %425, label %430

425:                                              ; preds = %422
  %426 = load i32, ptr %27, align 4, !tbaa !9
  %427 = uitofp i32 %426 to double
  %428 = fcmp ole double 0.000000e+00, %427
  br i1 %428, label %429, label %430

429:                                              ; preds = %425
  br label %431

430:                                              ; preds = %425, %422, %407
  call void @__assert_fail(ptr noundef @.str.45, ptr noundef @.str.1, i32 noundef 3829, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve) #4
  unreachable

431:                                              ; preds = %429
  %432 = load i32, ptr %27, align 4, !tbaa !9
  %433 = trunc i32 %432 to i8
  %434 = load i32, ptr %28, align 4, !tbaa !9
  %435 = load i32, ptr %29, align 4, !tbaa !9
  %436 = load i8, ptr %30, align 1, !tbaa !11
  %437 = load i32, ptr %41, align 4, !tbaa !9
  %438 = zext i32 %437 to i64
  call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %402, i8 noundef zeroext %433, i32 noundef %434, i32 noundef %435, i8 noundef zeroext %436, i64 noundef %438)
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 }
attributes #4 = { 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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long long", !7, i64 0}


; 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_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef, i8 noundef zeroext, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_prepare_coeffs_tanh_ps_rational_78_aarch64_sve(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14) local_unnamed_addr #0 {
  %16 = trunc i32 %1 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %16, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1240952968)
  %17 = trunc i32 %2 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %17, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1216608192)
  %18 = trunc i32 %3 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %18, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1171820544)
  %19 = trunc i32 %4 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %19, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1108344832)
  %20 = trunc i32 %5 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %20, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1231483280)
  %21 = trunc i32 %6 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %21, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1196099328)
  %22 = trunc i32 %7 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %22, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1142784000)
  %23 = trunc i32 %8 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %23, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1084164669)
  %24 = trunc i32 %9 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %24, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 3231648317)
  %25 = trunc i32 %10 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %25, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 1065353216)
  %26 = trunc i32 %11 to i8
  tail call void @libxsmm_aarch64_instruction_broadcast_scalar_to_vec_sve(ptr noundef %0, i8 noundef zeroext %26, i32 noundef %12, i32 noundef %13, i8 noundef zeroext %14, i64 noundef 3212836864)
  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" }

!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)"}


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