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

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

@__func__.libxsmm_x86_instruction_unified_vec_move = external hidden unnamed_addr constant [41 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [76 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef signext %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2 {
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %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
  store ptr %0, ptr %12, align 8, !tbaa !5
  store i32 %1, ptr %13, align 4, !tbaa !9
  store i32 %2, ptr %14, align 4, !tbaa !9
  store i32 %3, ptr %15, align 4, !tbaa !9
  store i32 %4, ptr %16, align 4, !tbaa !9
  store i32 %5, ptr %17, align 4, !tbaa !9
  store i8 %6, ptr %18, align 1, !tbaa !11
  store i32 %7, ptr %19, align 4, !tbaa !9
  store i32 %8, ptr %20, align 4, !tbaa !9
  store i32 %9, ptr %21, align 4, !tbaa !9
  store i32 %10, ptr %22, align 4, !tbaa !9
  %25 = load ptr, ptr %12, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %25, i32 0, i32 6
  %27 = load i32, ptr %26, align 4, !tbaa !12
  %28 = icmp ult i32 %27, 1005
  br i1 %28, label %29, label %142

29:                                               ; preds = %11
  %30 = load i32, ptr %20, align 4, !tbaa !9
  %31 = icmp ugt i32 %30, 0
  br i1 %31, label %32, label %119

32:                                               ; preds = %29
  %33 = load i32, ptr %13, align 4, !tbaa !9
  %34 = icmp eq i32 %33, -1610346480
  br i1 %34, label %38, label %35

35:                                               ; preds = %32
  %36 = load i32, ptr %13, align 4, !tbaa !9
  %37 = icmp eq i32 %36, -1610346456
  br i1 %37, label %38, label %58

38:                                               ; preds = %35, %32
  %39 = load i32, ptr %22, align 4, !tbaa !9
  %40 = icmp eq i32 %39, 0
  br i1 %40, label %41, label %49

41:                                               ; preds = %38
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = load i32, ptr %14, align 4, !tbaa !9
  %44 = load i32, ptr %15, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = load i32, ptr %17, align 4, !tbaa !9
  %47 = load i32, ptr %19, align 4, !tbaa !9
  %48 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedload_32bit_sse(ptr noundef %42, i32 noundef 1, i32 noundef 1, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48)
  br label %57

49:                                               ; preds = %38
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = load i32, ptr %19, align 4, !tbaa !9
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = load i32, ptr %16, align 4, !tbaa !9
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedstore_32bit_sse(ptr noundef %50, i32 noundef 1, i32 noundef 1, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56)
  br label %57

57:                                               ; preds = %49, %41
  br label %118

58:                                               ; preds = %35
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = icmp eq i32 %59, -1610280944
  br i1 %60, label %64, label %61

61:                                               ; preds = %58
  %62 = load i32, ptr %13, align 4, !tbaa !9
  %63 = icmp eq i32 %62, -1610280920
  br i1 %63, label %64, label %84

64:                                               ; preds = %61, %58
  %65 = load i32, ptr %22, align 4, !tbaa !9
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %75

67:                                               ; preds = %64
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %16, align 4, !tbaa !9
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %19, align 4, !tbaa !9
  %74 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedload_64bit_sse(ptr noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
  br label %83

75:                                               ; preds = %64
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = load i32, ptr %19, align 4, !tbaa !9
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = load i32, ptr %17, align 4, !tbaa !9
  %82 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedstore_64bit_sse(ptr noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef %82)
  br label %83

83:                                               ; preds = %75, %67
  br label %117

84:                                               ; preds = %61
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = icmp eq i32 %85, -528017809
  br i1 %86, label %87, label %107

87:                                               ; preds = %84
  %88 = load i32, ptr %22, align 4, !tbaa !9
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %98

90:                                               ; preds = %87
  %91 = load ptr, ptr %12, align 8, !tbaa !5
  %92 = load i32, ptr %14, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedload_16bit_sse(ptr noundef %91, i32 noundef 1, i32 noundef 1, i32 noundef %92, i32 noundef %93, i32 noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97)
  br label %106

98:                                               ; preds = %87
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = load i32, ptr %19, align 4, !tbaa !9
  %101 = load i32, ptr %14, align 4, !tbaa !9
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = load i32, ptr %17, align 4, !tbaa !9
  %105 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedstore_16bit_sse(ptr noundef %99, i32 noundef 1, i32 noundef 1, i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105)
  br label %106

106:                                              ; preds = %98, %90
  br label %116

107:                                              ; preds = %84
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %110 = icmp ult i32 1, %109
  br i1 %110, label %111, label %113

111:                                              ; preds = %107
  %112 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %114

113:                                              ; preds = %107
  br label %114

114:                                              ; preds = %113, %111
  %115 = phi i32 [ %112, %111 ], [ 1, %113 ]
  call void @libxsmm_handle_error(ptr noundef %108, i32 noundef 90000, ptr noundef @__func__.libxsmm_x86_instruction_unified_vec_move, ptr noundef @.str.6, i32 noundef 273, i32 noundef %115)
  br label %265

116:                                              ; preds = %106
  br label %117

117:                                              ; preds = %116, %83
  br label %118

118:                                              ; preds = %117, %57
  br label %141

119:                                              ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %120 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %120, ptr %23, align 4, !tbaa !9
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = icmp eq i32 %121, -528017809
  br i1 %122, label %123, label %128

123:                                              ; preds = %119
  %124 = load i32, ptr %22, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  %126 = zext i1 %125 to i64
  %127 = select i1 %125, i32 -1475997569, i32 -1610215313
  store i32 %127, ptr %23, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %123, %119
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = load ptr, ptr %12, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %130, i32 0, i32 6
  %132 = load i32, ptr %131, align 4, !tbaa !12
  %133 = load i32, ptr %23, align 4, !tbaa !9
  %134 = load i32, ptr %14, align 4, !tbaa !9
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = load i32, ptr %17, align 4, !tbaa !9
  %138 = load i8, ptr %18, align 1, !tbaa !11
  %139 = load i32, ptr %19, align 4, !tbaa !9
  %140 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %129, i32 noundef %132, i32 noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %136, i32 noundef %137, i8 noundef signext %138, i32 noundef %139, i32 noundef 0, i32 noundef 0, i32 noundef %140)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  br label %141

141:                                              ; preds = %128, %118
  br label %265

142:                                              ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  %143 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %143, ptr %24, align 4, !tbaa !9
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %145, align 4, !tbaa !12
  %147 = icmp ult i32 %146, 1041
  br i1 %147, label %148, label %173

148:                                              ; preds = %142
  %149 = load i32, ptr %20, align 4, !tbaa !9
  %150 = icmp ugt i32 %149, 0
  br i1 %150, label %151, label %165

151:                                              ; preds = %148
  %152 = load i32, ptr %22, align 4, !tbaa !9
  %153 = icmp ugt i32 %152, 0
  br i1 %153, label %154, label %159

154:                                              ; preds = %151
  store i32 1879384110, ptr %24, align 4, !tbaa !9
  %155 = load i32, ptr %13, align 4, !tbaa !9
  %156 = icmp eq i32 %155, 545592848
  br i1 %156, label %157, label %158

157:                                              ; preds = %154
  store i32 1879384111, ptr %24, align 4, !tbaa !9
  br label %158

158:                                              ; preds = %157, %154
  br label %164

159:                                              ; preds = %151
  store i32 1879384108, ptr %24, align 4, !tbaa !9
  %160 = load i32, ptr %13, align 4, !tbaa !9
  %161 = icmp eq i32 %160, 545592848
  br i1 %161, label %162, label %163

162:                                              ; preds = %159
  store i32 1879384109, ptr %24, align 4, !tbaa !9
  br label %163

163:                                              ; preds = %162, %159
  br label %164

164:                                              ; preds = %163, %158
  br label %165

165:                                              ; preds = %164, %148
  %166 = load i32, ptr %13, align 4, !tbaa !9
  %167 = icmp eq i32 %166, -528017809
  br i1 %167, label %168, label %172

168:                                              ; preds = %165
  %169 = load i32, ptr %20, align 4, !tbaa !9
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %168
  store i32 537138704, ptr %24, align 4, !tbaa !9
  br label %172

172:                                              ; preds = %171, %168, %165
  br label %173

173:                                              ; preds = %172, %142
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %175, align 4, !tbaa !12
  %177 = icmp ult i32 %176, 1041
  br i1 %177, label %178, label %206

178:                                              ; preds = %173
  %179 = load i32, ptr %13, align 4, !tbaa !9
  %180 = icmp eq i32 %179, -528017809
  br i1 %180, label %181, label %206

181:                                              ; preds = %178
  %182 = load i32, ptr %20, align 4, !tbaa !9
  %183 = icmp ugt i32 %182, 0
  br i1 %183, label %184, label %206

184:                                              ; preds = %181
  %185 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %185, i32 noundef 1)
  %186 = load i32, ptr %22, align 4, !tbaa !9
  %187 = icmp eq i32 %186, 0
  br i1 %187, label %188, label %196

188:                                              ; preds = %184
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = load i32, ptr %17, align 4, !tbaa !9
  %194 = load i32, ptr %19, align 4, !tbaa !9
  %195 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedload_16bit_avx2(ptr noundef %189, i32 noundef 1, i32 noundef %190, i32 noundef %191, i32 noundef %192, i32 noundef %193, i32 noundef %194, i32 noundef %195)
  br label %204

196:                                              ; preds = %184
  %197 = load ptr, ptr %12, align 8, !tbaa !5
  %198 = load i32, ptr %19, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = load i32, ptr %15, align 4, !tbaa !9
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = load i32, ptr %17, align 4, !tbaa !9
  %203 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedstore_16bit_avx2(ptr noundef %197, i32 noundef 1, i32 noundef %198, i32 noundef %199, i32 noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %203)
  br label %204

204:                                              ; preds = %196, %188
  %205 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %205, i32 noundef 1)
  br label %264

206:                                              ; preds = %181, %178, %173
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %208, align 4, !tbaa !12
  %210 = icmp ult i32 %209, 1041
  br i1 %210, label %211, label %251

211:                                              ; preds = %206
  %212 = load i32, ptr %13, align 4, !tbaa !9
  %213 = icmp eq i32 %212, -536406417
  br i1 %213, label %214, label %251

214:                                              ; preds = %211
  %215 = load i32, ptr %20, align 4, !tbaa !9
  %216 = icmp ugt i32 %215, 0
  br i1 %216, label %217, label %239

217:                                              ; preds = %214
  %218 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %218, i32 noundef 1)
  %219 = load i32, ptr %22, align 4, !tbaa !9
  %220 = icmp eq i32 %219, 0
  br i1 %220, label %221, label %229

221:                                              ; preds = %217
  %222 = load ptr, ptr %12, align 8, !tbaa !5
  %223 = load i32, ptr %14, align 4, !tbaa !9
  %224 = load i32, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %17, align 4, !tbaa !9
  %227 = load i32, ptr %19, align 4, !tbaa !9
  %228 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedload_8bit_avx2(ptr noundef %222, i32 noundef 1, i32 noundef %223, i32 noundef %224, i32 noundef %225, i32 noundef %226, i32 noundef %227, i32 noundef %228)
  br label %237

229:                                              ; preds = %217
  %230 = load ptr, ptr %12, align 8, !tbaa !5
  %231 = load i32, ptr %19, align 4, !tbaa !9
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = load i32, ptr %17, align 4, !tbaa !9
  %236 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_maskedstore_8bit_avx2(ptr noundef %230, i32 noundef 1, i32 noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
  br label %237

237:                                              ; preds = %229, %221
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %238, i32 noundef 1)
  br label %250

239:                                              ; preds = %214
  %240 = load ptr, ptr %12, align 8, !tbaa !5
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = load i32, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = load i8, ptr %18, align 1, !tbaa !11
  %246 = load i32, ptr %19, align 4, !tbaa !9
  %247 = load i32, ptr %20, align 4, !tbaa !9
  %248 = load i32, ptr %21, align 4, !tbaa !9
  %249 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vex_evex_mask_mov(ptr noundef %240, i32 noundef 545725200, i32 noundef %241, i32 noundef %242, i32 noundef %243, i32 noundef %244, i8 noundef signext %245, i32 noundef %246, i32 noundef %247, i32 noundef %248, i32 noundef %249)
  br label %250

250:                                              ; preds = %239, %237
  br label %263

251:                                              ; preds = %211, %206
  %252 = load ptr, ptr %12, align 8, !tbaa !5
  %253 = load i32, ptr %24, align 4, !tbaa !9
  %254 = load i32, ptr %14, align 4, !tbaa !9
  %255 = load i32, ptr %15, align 4, !tbaa !9
  %256 = load i32, ptr %16, align 4, !tbaa !9
  %257 = load i32, ptr %17, align 4, !tbaa !9
  %258 = load i8, ptr %18, align 1, !tbaa !11
  %259 = load i32, ptr %19, align 4, !tbaa !9
  %260 = load i32, ptr %20, align 4, !tbaa !9
  %261 = load i32, ptr %21, align 4, !tbaa !9
  %262 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vex_evex_mask_mov(ptr noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef %257, i8 noundef signext %258, i32 noundef %259, i32 noundef %260, i32 noundef %261, i32 noundef %262)
  br label %263

263:                                              ; preds = %251, %250
  br label %264

264:                                              ; preds = %263, %204
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  br label %265

265:                                              ; preds = %264, %141, %114
  ret void
}

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

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

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

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

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

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

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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

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

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

declare void @libxsmm_x86_instruction_vex_evex_mask_mov(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 28}
!13 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 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"

@__func__.libxsmm_x86_instruction_unified_vec_move = external hidden unnamed_addr constant [41 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [76 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef signext %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) local_unnamed_addr #1 {
  %12 = getelementptr inbounds i8, ptr %0, i64 28
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = icmp ult i32 %13, 1005
  br i1 %14, label %15, label %37

15:                                               ; preds = %11
  %.not151 = icmp eq i32 %8, 0
  br i1 %.not151, label %34, label %16

16:                                               ; preds = %15
  switch i32 %1, label %29 [
    i32 -1610346456, label %17
    i32 -1610346480, label %17
    i32 -1610280920, label %21
    i32 -1610280944, label %21
    i32 -528017809, label %25
  ]

17:                                               ; preds = %16, %16
  %18 = icmp eq i32 %10, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %17
  tail call void @libxsmm_generator_maskedload_32bit_sse(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %7, i32 noundef %9)
  br label %56

20:                                               ; preds = %17
  tail call void @libxsmm_generator_maskedstore_32bit_sse(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1, i32 noundef %7, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %9)
  br label %56

21:                                               ; preds = %16, %16
  %22 = icmp eq i32 %10, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %21
  tail call void @libxsmm_generator_maskedload_64bit_sse(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %7, i32 noundef %9)
  br label %56

24:                                               ; preds = %21
  tail call void @libxsmm_generator_maskedstore_64bit_sse(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %9)
  br label %56

25:                                               ; preds = %16
  %26 = icmp eq i32 %10, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %25
  tail call void @libxsmm_generator_maskedload_16bit_sse(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %7, i32 noundef %9)
  br label %56

28:                                               ; preds = %25
  tail call void @libxsmm_generator_maskedstore_16bit_sse(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1, i32 noundef %7, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %9)
  br label %56

29:                                               ; preds = %16
  %30 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !11
  %31 = icmp ugt i32 %30, 1
  %32 = load i32, ptr @libxsmm_verbosity, align 4
  %33 = select i1 %31, i32 %32, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_x86_instruction_unified_vec_move, ptr noundef nonnull @.str.6, i32 noundef 273, i32 noundef %33) #2
  br label %56

34:                                               ; preds = %15
  %35 = icmp eq i32 %1, -528017809
  %.not152 = icmp eq i32 %10, 0
  %36 = select i1 %.not152, i32 -1610215313, i32 -1475997569
  %.0146 = select i1 %35, i32 %36, i32 %1
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %.0146, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef signext %6, i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef %10) #2
  br label %56

37:                                               ; preds = %11
  %38 = icmp ult i32 %13, 1041
  br i1 %38, label %39, label %.thread157

39:                                               ; preds = %37
  %.not = icmp eq i32 %8, 0
  %40 = icmp eq i32 %1, -528017809
  br i1 %.not, label %.thread164, label %41

41:                                               ; preds = %39
  br i1 %40, label %42, label %47

42:                                               ; preds = %41
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef nonnull %0, i32 noundef 1) #2
  %43 = icmp eq i32 %10, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %42
  tail call void @libxsmm_generator_maskedload_16bit_avx2(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %7, i32 noundef %9)
  br label %46

45:                                               ; preds = %42
  tail call void @libxsmm_generator_maskedstore_16bit_avx2(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %7, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %9)
  br label %46

46:                                               ; preds = %45, %44
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef nonnull %0, i32 noundef 1) #2
  br label %56

47:                                               ; preds = %41
  %.not150 = icmp eq i32 %10, 0
  %48 = icmp eq i32 %1, 545592848
  %spec.store.select4 = select i1 %48, i32 1879384109, i32 1879384108
  %spec.store.select = select i1 %48, i32 1879384111, i32 1879384110
  %.0 = select i1 %.not150, i32 %spec.store.select4, i32 %spec.store.select
  %49 = icmp eq i32 %1, -536406417
  br i1 %49, label %51, label %.thread157

.thread164:                                       ; preds = %39
  %spec.select167 = select i1 %40, i32 537138704, i32 %1
  %50 = icmp eq i32 %1, -536406417
  br i1 %50, label %.thread168, label %.thread157

51:                                               ; preds = %47
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef nonnull %0, i32 noundef 1) #2
  %52 = icmp eq i32 %10, 0
  br i1 %52, label %53, label %54

53:                                               ; preds = %51
  tail call void @libxsmm_generator_maskedload_8bit_avx2(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %7, i32 noundef %9)
  br label %55

54:                                               ; preds = %51
  tail call void @libxsmm_generator_maskedstore_8bit_avx2(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %7, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %9)
  br label %55

55:                                               ; preds = %54, %53
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef nonnull %0, i32 noundef 1) #2
  br label %56

.thread168:                                       ; preds = %.thread164
  tail call void @libxsmm_x86_instruction_vex_evex_mask_mov(ptr noundef nonnull %0, i32 noundef 545725200, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef signext %6, i32 noundef %7, i32 noundef 0, i32 noundef %9, i32 noundef %10) #2
  br label %56

.thread157:                                       ; preds = %.thread164, %37, %47
  %.1156160 = phi i32 [ %.0, %47 ], [ %1, %37 ], [ %spec.select167, %.thread164 ]
  tail call void @libxsmm_x86_instruction_vex_evex_mask_mov(ptr noundef nonnull %0, i32 noundef %.1156160, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef signext %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
  br label %56

56:                                               ; preds = %46, %55, %.thread168, %.thread157, %34, %24, %23, %27, %28, %19, %20, %29
  ret void
}

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

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

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

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

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

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

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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

declare void @libxsmm_x86_instruction_vex_evex_mask_mov(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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}


; Effective O3 passes: ADCEPass,ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass