; LLVM IR from FrancesoM/Bisc8FX :: sdk_projects/bisc8_platform/ps7_cortexa9_0/standalone_domain/bsp/ps7_cortexa9_0_ (TestMem32)

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

@Xil_AssertStatus = external global i32, align 4
@.str = external hidden unnamed_addr constant [172 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @Xil_TestMem32(ptr noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef zeroext %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i8 %3, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !9
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %4
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %21

20:                                               ; preds = %4
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 805)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i32 0, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %300

21:                                               ; preds = %19
  %22 = load i8, ptr %9, align 1, !tbaa !11
  %23 = zext i8 %22 to i32
  %24 = icmp sle i32 %23, 5
  br i1 %24, label %25, label %26

25:                                               ; preds = %21
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %27

26:                                               ; preds = %21
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 806)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i32 0, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %300

27:                                               ; preds = %25
  store i32 1, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %28 = load i8, ptr %9, align 1, !tbaa !11
  %29 = zext i8 %28 to i32
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %35, label %31

31:                                               ; preds = %27
  %32 = load i8, ptr %9, align 1, !tbaa !11
  %33 = zext i8 %32 to i32
  %34 = icmp eq i32 %33, 1
  br i1 %34, label %35, label %74

35:                                               ; preds = %31, %27
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %48, %35
  %37 = load i32, ptr %10, align 4, !tbaa !9
  %38 = load i32, ptr %7, align 4, !tbaa !9
  %39 = icmp ult i32 %37, %38
  br i1 %39, label %40, label %51

40:                                               ; preds = %36
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load i32, ptr %10, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds i32, ptr %42, i64 %44
  store i32 %41, ptr %45, align 4, !tbaa !9
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = add i32 %46, 1
  store i32 %47, ptr %12, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %40
  %49 = load i32, ptr %10, align 4, !tbaa !9
  %50 = add i32 %49, 1
  store i32 %50, ptr %10, align 4, !tbaa !9
  br label %36, !llvm.loop !12

51:                                               ; preds = %36
  %52 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %52, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %70, %51
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = load i32, ptr %7, align 4, !tbaa !9
  %56 = icmp ult i32 %54, %55
  br i1 %56, label %57, label %73

57:                                               ; preds = %53
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = load i32, ptr %10, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds i32, ptr %58, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !9
  store i32 %62, ptr %14, align 4, !tbaa !9
  %63 = load i32, ptr %14, align 4, !tbaa !9
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = icmp ne i32 %63, %64
  br i1 %65, label %66, label %67

66:                                               ; preds = %57
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %298

67:                                               ; preds = %57
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = add i32 %68, 1
  store i32 %69, ptr %12, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %67
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = add i32 %71, 1
  store i32 %72, ptr %10, align 4, !tbaa !9
  br label %53, !llvm.loop !14

73:                                               ; preds = %53
  br label %74

74:                                               ; preds = %73, %31
  %75 = load i8, ptr %9, align 1, !tbaa !11
  %76 = zext i8 %75 to i32
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %82, label %78

78:                                               ; preds = %74
  %79 = load i8, ptr %9, align 1, !tbaa !11
  %80 = zext i8 %79 to i32
  %81 = icmp eq i32 %80, 2
  br i1 %81, label %82, label %130

82:                                               ; preds = %78, %74
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %126, %82
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = icmp ult i32 %84, 32
  br i1 %85, label %86, label %129

86:                                               ; preds = %83
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = shl i32 1, %87
  store i32 %88, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %100, %86
  %90 = load i32, ptr %10, align 4, !tbaa !9
  %91 = icmp ult i32 %90, 32
  br i1 %91, label %92, label %103

92:                                               ; preds = %89
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load i32, ptr %10, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds i32, ptr %94, i64 %96
  store i32 %93, ptr %97, align 4, !tbaa !9
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = call i32 @RotateLeft(i32 noundef %98, i8 noundef zeroext 32)
  store i32 %99, ptr %12, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %92
  %101 = load i32, ptr %10, align 4, !tbaa !9
  %102 = add i32 %101, 1
  store i32 %102, ptr %10, align 4, !tbaa !9
  br label %89, !llvm.loop !15

103:                                              ; preds = %89
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = shl i32 1, %104
  store i32 %105, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %106

106:                                              ; preds = %122, %103
  %107 = load i32, ptr %10, align 4, !tbaa !9
  %108 = icmp ult i32 %107, 32
  br i1 %108, label %109, label %125

109:                                              ; preds = %106
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = load i32, ptr %10, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds i32, ptr %110, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !9
  store i32 %114, ptr %14, align 4, !tbaa !9
  %115 = load i32, ptr %14, align 4, !tbaa !9
  %116 = load i32, ptr %12, align 4, !tbaa !9
  %117 = icmp ne i32 %115, %116
  br i1 %117, label %118, label %119

118:                                              ; preds = %109
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %298

119:                                              ; preds = %109
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = call i32 @RotateLeft(i32 noundef %120, i8 noundef zeroext 32)
  store i32 %121, ptr %12, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %119
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = add i32 %123, 1
  store i32 %124, ptr %10, align 4, !tbaa !9
  br label %106, !llvm.loop !16

125:                                              ; preds = %106
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %11, align 4, !tbaa !9
  %128 = add i32 %127, 1
  store i32 %128, ptr %11, align 4, !tbaa !9
  br label %83, !llvm.loop !17

129:                                              ; preds = %83
  br label %130

130:                                              ; preds = %129, %78
  %131 = load i8, ptr %9, align 1, !tbaa !11
  %132 = zext i8 %131 to i32
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %138, label %134

134:                                              ; preds = %130
  %135 = load i8, ptr %9, align 1, !tbaa !11
  %136 = zext i8 %135 to i32
  %137 = icmp eq i32 %136, 3
  br i1 %137, label %138, label %192

138:                                              ; preds = %134, %130
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %139

139:                                              ; preds = %188, %138
  %140 = load i32, ptr %11, align 4, !tbaa !9
  %141 = icmp ult i32 %140, 32
  br i1 %141, label %142, label %191

142:                                              ; preds = %139
  %143 = load i32, ptr %11, align 4, !tbaa !9
  %144 = shl i32 1, %143
  %145 = xor i32 %144, -1
  store i32 %145, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %159, %142
  %147 = load i32, ptr %10, align 4, !tbaa !9
  %148 = icmp ult i32 %147, 32
  br i1 %148, label %149, label %162

149:                                              ; preds = %146
  %150 = load i32, ptr %12, align 4, !tbaa !9
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = load i32, ptr %10, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = getelementptr inbounds i32, ptr %151, i64 %153
  store i32 %150, ptr %154, align 4, !tbaa !9
  %155 = load i32, ptr %12, align 4, !tbaa !9
  %156 = xor i32 %155, -1
  %157 = call i32 @RotateLeft(i32 noundef %156, i8 noundef zeroext 32)
  %158 = xor i32 %157, -1
  store i32 %158, ptr %12, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %149
  %160 = load i32, ptr %10, align 4, !tbaa !9
  %161 = add i32 %160, 1
  store i32 %161, ptr %10, align 4, !tbaa !9
  br label %146, !llvm.loop !18

162:                                              ; preds = %146
  %163 = load i32, ptr %11, align 4, !tbaa !9
  %164 = shl i32 1, %163
  %165 = xor i32 %164, -1
  store i32 %165, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %166

166:                                              ; preds = %184, %162
  %167 = load i32, ptr %10, align 4, !tbaa !9
  %168 = icmp ult i32 %167, 32
  br i1 %168, label %169, label %187

169:                                              ; preds = %166
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = load i32, ptr %10, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds i32, ptr %170, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !9
  store i32 %174, ptr %14, align 4, !tbaa !9
  %175 = load i32, ptr %14, align 4, !tbaa !9
  %176 = load i32, ptr %12, align 4, !tbaa !9
  %177 = icmp ne i32 %175, %176
  br i1 %177, label %178, label %179

178:                                              ; preds = %169
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %298

179:                                              ; preds = %169
  %180 = load i32, ptr %12, align 4, !tbaa !9
  %181 = xor i32 %180, -1
  %182 = call i32 @RotateLeft(i32 noundef %181, i8 noundef zeroext 32)
  %183 = xor i32 %182, -1
  store i32 %183, ptr %12, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %179
  %185 = load i32, ptr %10, align 4, !tbaa !9
  %186 = add i32 %185, 1
  store i32 %186, ptr %10, align 4, !tbaa !9
  br label %166, !llvm.loop !19

187:                                              ; preds = %166
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %11, align 4, !tbaa !9
  %190 = add i32 %189, 1
  store i32 %190, ptr %11, align 4, !tbaa !9
  br label %139, !llvm.loop !20

191:                                              ; preds = %139
  br label %192

192:                                              ; preds = %191, %134
  %193 = load i8, ptr %9, align 1, !tbaa !11
  %194 = zext i8 %193 to i32
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %200, label %196

196:                                              ; preds = %192
  %197 = load i8, ptr %9, align 1, !tbaa !11
  %198 = zext i8 %197 to i32
  %199 = icmp eq i32 %198, 4
  br i1 %199, label %200, label %249

200:                                              ; preds = %196, %192
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %201

201:                                              ; preds = %218, %200
  %202 = load i32, ptr %10, align 4, !tbaa !9
  %203 = load i32, ptr %7, align 4, !tbaa !9
  %204 = icmp ult i32 %202, %203
  br i1 %204, label %205, label %221

205:                                              ; preds = %201
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = load i32, ptr %10, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = getelementptr inbounds i32, ptr %206, i64 %208
  %210 = ptrtoint ptr %209 to i64
  %211 = xor i64 %210, -1
  %212 = trunc i64 %211 to i32
  store i32 %212, ptr %12, align 4, !tbaa !9
  %213 = load i32, ptr %12, align 4, !tbaa !9
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = load i32, ptr %10, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = getelementptr inbounds i32, ptr %214, i64 %216
  store i32 %213, ptr %217, align 4, !tbaa !9
  br label %218

218:                                              ; preds = %205
  %219 = load i32, ptr %10, align 4, !tbaa !9
  %220 = add i32 %219, 1
  store i32 %220, ptr %10, align 4, !tbaa !9
  br label %201, !llvm.loop !21

221:                                              ; preds = %201
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %222

222:                                              ; preds = %245, %221
  %223 = load i32, ptr %10, align 4, !tbaa !9
  %224 = load i32, ptr %7, align 4, !tbaa !9
  %225 = icmp ult i32 %223, %224
  br i1 %225, label %226, label %248

226:                                              ; preds = %222
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = getelementptr inbounds i32, ptr %227, i64 %229
  %231 = load i32, ptr %230, align 4, !tbaa !9
  store i32 %231, ptr %14, align 4, !tbaa !9
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = load i32, ptr %10, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = getelementptr inbounds i32, ptr %232, i64 %234
  %236 = ptrtoint ptr %235 to i64
  %237 = xor i64 %236, -1
  %238 = trunc i64 %237 to i32
  store i32 %238, ptr %12, align 4, !tbaa !9
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = load i32, ptr %12, align 4, !tbaa !9
  %241 = xor i32 %239, %240
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %244

243:                                              ; preds = %226
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %298

244:                                              ; preds = %226
  br label %245

245:                                              ; preds = %244
  %246 = load i32, ptr %10, align 4, !tbaa !9
  %247 = add i32 %246, 1
  store i32 %247, ptr %10, align 4, !tbaa !9
  br label %222, !llvm.loop !22

248:                                              ; preds = %222
  br label %249

249:                                              ; preds = %248, %196
  %250 = load i8, ptr %9, align 1, !tbaa !11
  %251 = zext i8 %250 to i32
  %252 = icmp eq i32 %251, 0
  br i1 %252, label %257, label %253

253:                                              ; preds = %249
  %254 = load i8, ptr %9, align 1, !tbaa !11
  %255 = zext i8 %254 to i32
  %256 = icmp eq i32 %255, 5
  br i1 %256, label %257, label %297

257:                                              ; preds = %253, %249
  %258 = load i32, ptr %8, align 4, !tbaa !9
  %259 = icmp eq i32 %258, 0
  br i1 %259, label %260, label %261

260:                                              ; preds = %257
  store i32 -559038737, ptr %12, align 4, !tbaa !9
  br label %263

261:                                              ; preds = %257
  %262 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %262, ptr %12, align 4, !tbaa !9
  br label %263

263:                                              ; preds = %261, %260
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %264

264:                                              ; preds = %274, %263
  %265 = load i32, ptr %10, align 4, !tbaa !9
  %266 = load i32, ptr %7, align 4, !tbaa !9
  %267 = icmp ult i32 %265, %266
  br i1 %267, label %268, label %277

268:                                              ; preds = %264
  %269 = load i32, ptr %12, align 4, !tbaa !9
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = load i32, ptr %10, align 4, !tbaa !9
  %272 = zext i32 %271 to i64
  %273 = getelementptr inbounds i32, ptr %270, i64 %272
  store i32 %269, ptr %273, align 4, !tbaa !9
  br label %274

274:                                              ; preds = %268
  %275 = load i32, ptr %10, align 4, !tbaa !9
  %276 = add i32 %275, 1
  store i32 %276, ptr %10, align 4, !tbaa !9
  br label %264, !llvm.loop !23

277:                                              ; preds = %264
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %278

278:                                              ; preds = %293, %277
  %279 = load i32, ptr %10, align 4, !tbaa !9
  %280 = load i32, ptr %7, align 4, !tbaa !9
  %281 = icmp ult i32 %279, %280
  br i1 %281, label %282, label %296

282:                                              ; preds = %278
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = load i32, ptr %10, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = getelementptr inbounds i32, ptr %283, i64 %285
  %287 = load i32, ptr %286, align 4, !tbaa !9
  store i32 %287, ptr %14, align 4, !tbaa !9
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %289 = load i32, ptr %12, align 4, !tbaa !9
  %290 = icmp ne i32 %288, %289
  br i1 %290, label %291, label %292

291:                                              ; preds = %282
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %298

292:                                              ; preds = %282
  br label %293

293:                                              ; preds = %292
  %294 = load i32, ptr %10, align 4, !tbaa !9
  %295 = add i32 %294, 1
  store i32 %295, ptr %10, align 4, !tbaa !9
  br label %278, !llvm.loop !24

296:                                              ; preds = %278
  br label %297

297:                                              ; preds = %296, %253
  br label %298

298:                                              ; preds = %297, %291, %243, %178, %118, %66
  %299 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %299, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %300

300:                                              ; preds = %298, %26, %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  %301 = load i32, ptr %5, align 4
  ret i32 %301
}

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

declare void @Xil_Assert(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @RotateLeft(i32 noundef, i8 noundef zeroext) #0

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}


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

@Xil_AssertStatus = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [172 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @Xil_TestMem32(ptr noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef zeroext %3) local_unnamed_addr #0 {
  %.not = icmp eq i32 %1, 0
  br i1 %.not, label %.loopexit.sink.split, label %5

5:                                                ; preds = %4
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !5
  %6 = icmp ult i8 %3, 6
  br i1 %6, label %7, label %.loopexit.sink.split

7:                                                ; preds = %5
  %or.cond = icmp ult i8 %3, 2
  br i1 %or.cond, label %.preheader137.preheader, label %.loopexit135

.preheader137.preheader:                          ; preds = %7
  %wide.trip.count = zext i32 %1 to i64
  %min.iters.check = icmp ult i32 %1, 8
  br i1 %min.iters.check, label %.preheader137.preheader241, label %vector.ph

vector.ph:                                        ; preds = %.preheader137.preheader
  %n.vec = and i64 %wide.trip.count, 4294967288
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end = or disjoint i32 %.cast, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %8 = getelementptr inbounds i32, ptr %0, i64 %index
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  store <4 x i32> %vec.ind, ptr %8, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %9, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %10 = icmp eq i64 %index.next, %n.vec
  br i1 %10, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader134.preheader, label %.preheader137.preheader241

.preheader137.preheader241:                       ; preds = %middle.block, %.preheader137.preheader
  %indvars.iv.ph = phi i64 [ 0, %.preheader137.preheader ], [ %n.vec, %middle.block ]
  %.0110139.ph = phi i32 [ 1, %.preheader137.preheader ], [ %ind.end, %middle.block ]
  br label %.preheader137

.preheader137:                                    ; preds = %.preheader137.preheader241, %.preheader137
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader137 ], [ %indvars.iv.ph, %.preheader137.preheader241 ]
  %.0110139 = phi i32 [ %12, %.preheader137 ], [ %.0110139.ph, %.preheader137.preheader241 ]
  %11 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv
  store i32 %.0110139, ptr %11, align 4, !tbaa !5
  %12 = add i32 %.0110139, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader134.preheader, label %.preheader137, !llvm.loop !13

.preheader134.preheader:                          ; preds = %.preheader137, %middle.block
  br label %.preheader134

.preheader134:                                    ; preds = %.preheader134.preheader, %15
  %indvars.iv161 = phi i64 [ %indvars.iv.next162, %15 ], [ 0, %.preheader134.preheader ]
  %.1141 = phi i32 [ %16, %15 ], [ 1, %.preheader134.preheader ]
  %13 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv161
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %.not127 = icmp eq i32 %14, %.1141
  br i1 %.not127, label %15, label %.loopexit

15:                                               ; preds = %.preheader134
  %16 = add i32 %.1141, 1
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %exitcond165.not = icmp eq i64 %indvars.iv.next162, %wide.trip.count
  br i1 %exitcond165.not, label %.loopexit135, label %.preheader134, !llvm.loop !14

.loopexit135:                                     ; preds = %15, %7
  switch i8 %3, label %.loopexit [
    i8 2, label %17
    i8 0, label %17
    i8 3, label %149
    i8 4, label %344
    i8 5, label %387
  ]

17:                                               ; preds = %.loopexit135, %.loopexit135
  %18 = getelementptr inbounds i8, ptr %0, i64 4
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  %20 = getelementptr inbounds i8, ptr %0, i64 12
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  %22 = getelementptr inbounds i8, ptr %0, i64 20
  %23 = getelementptr inbounds i8, ptr %0, i64 24
  %24 = getelementptr inbounds i8, ptr %0, i64 28
  %25 = getelementptr inbounds i8, ptr %0, i64 32
  %26 = getelementptr inbounds i8, ptr %0, i64 36
  %27 = getelementptr inbounds i8, ptr %0, i64 40
  %28 = getelementptr inbounds i8, ptr %0, i64 44
  %29 = getelementptr inbounds i8, ptr %0, i64 48
  %30 = getelementptr inbounds i8, ptr %0, i64 52
  %31 = getelementptr inbounds i8, ptr %0, i64 56
  %32 = getelementptr inbounds i8, ptr %0, i64 60
  %33 = getelementptr inbounds i8, ptr %0, i64 64
  %34 = getelementptr inbounds i8, ptr %0, i64 68
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  %36 = getelementptr inbounds i8, ptr %0, i64 76
  %37 = getelementptr inbounds i8, ptr %0, i64 80
  %38 = getelementptr inbounds i8, ptr %0, i64 84
  %39 = getelementptr inbounds i8, ptr %0, i64 88
  %40 = getelementptr inbounds i8, ptr %0, i64 92
  %41 = getelementptr inbounds i8, ptr %0, i64 96
  %42 = getelementptr inbounds i8, ptr %0, i64 100
  %43 = getelementptr inbounds i8, ptr %0, i64 104
  %44 = getelementptr inbounds i8, ptr %0, i64 108
  %45 = getelementptr inbounds i8, ptr %0, i64 112
  %46 = getelementptr inbounds i8, ptr %0, i64 116
  %47 = getelementptr inbounds i8, ptr %0, i64 120
  %48 = getelementptr inbounds i8, ptr %0, i64 124
  br label %.preheader132.preheader

.preheader132.preheader:                          ; preds = %17, %145
  %.0111146 = phi i32 [ 0, %17 ], [ %147, %145 ]
  %49 = shl nuw i32 1, %.0111146
  store i32 %49, ptr %0, align 4, !tbaa !5
  %50 = tail call i32 @RotateLeft(i32 noundef %49, i8 noundef zeroext 32)
  store i32 %50, ptr %18, align 4, !tbaa !5
  %51 = tail call i32 @RotateLeft(i32 noundef %50, i8 noundef zeroext 32)
  store i32 %51, ptr %19, align 4, !tbaa !5
  %52 = tail call i32 @RotateLeft(i32 noundef %51, i8 noundef zeroext 32)
  store i32 %52, ptr %20, align 4, !tbaa !5
  %53 = tail call i32 @RotateLeft(i32 noundef %52, i8 noundef zeroext 32)
  store i32 %53, ptr %21, align 4, !tbaa !5
  %54 = tail call i32 @RotateLeft(i32 noundef %53, i8 noundef zeroext 32)
  store i32 %54, ptr %22, align 4, !tbaa !5
  %55 = tail call i32 @RotateLeft(i32 noundef %54, i8 noundef zeroext 32)
  store i32 %55, ptr %23, align 4, !tbaa !5
  %56 = tail call i32 @RotateLeft(i32 noundef %55, i8 noundef zeroext 32)
  store i32 %56, ptr %24, align 4, !tbaa !5
  %57 = tail call i32 @RotateLeft(i32 noundef %56, i8 noundef zeroext 32)
  store i32 %57, ptr %25, align 4, !tbaa !5
  %58 = tail call i32 @RotateLeft(i32 noundef %57, i8 noundef zeroext 32)
  store i32 %58, ptr %26, align 4, !tbaa !5
  %59 = tail call i32 @RotateLeft(i32 noundef %58, i8 noundef zeroext 32)
  store i32 %59, ptr %27, align 4, !tbaa !5
  %60 = tail call i32 @RotateLeft(i32 noundef %59, i8 noundef zeroext 32)
  store i32 %60, ptr %28, align 4, !tbaa !5
  %61 = tail call i32 @RotateLeft(i32 noundef %60, i8 noundef zeroext 32)
  store i32 %61, ptr %29, align 4, !tbaa !5
  %62 = tail call i32 @RotateLeft(i32 noundef %61, i8 noundef zeroext 32)
  store i32 %62, ptr %30, align 4, !tbaa !5
  %63 = tail call i32 @RotateLeft(i32 noundef %62, i8 noundef zeroext 32)
  store i32 %63, ptr %31, align 4, !tbaa !5
  %64 = tail call i32 @RotateLeft(i32 noundef %63, i8 noundef zeroext 32)
  store i32 %64, ptr %32, align 4, !tbaa !5
  %65 = tail call i32 @RotateLeft(i32 noundef %64, i8 noundef zeroext 32)
  store i32 %65, ptr %33, align 4, !tbaa !5
  %66 = tail call i32 @RotateLeft(i32 noundef %65, i8 noundef zeroext 32)
  store i32 %66, ptr %34, align 4, !tbaa !5
  %67 = tail call i32 @RotateLeft(i32 noundef %66, i8 noundef zeroext 32)
  store i32 %67, ptr %35, align 4, !tbaa !5
  %68 = tail call i32 @RotateLeft(i32 noundef %67, i8 noundef zeroext 32)
  store i32 %68, ptr %36, align 4, !tbaa !5
  %69 = tail call i32 @RotateLeft(i32 noundef %68, i8 noundef zeroext 32)
  store i32 %69, ptr %37, align 4, !tbaa !5
  %70 = tail call i32 @RotateLeft(i32 noundef %69, i8 noundef zeroext 32)
  store i32 %70, ptr %38, align 4, !tbaa !5
  %71 = tail call i32 @RotateLeft(i32 noundef %70, i8 noundef zeroext 32)
  store i32 %71, ptr %39, align 4, !tbaa !5
  %72 = tail call i32 @RotateLeft(i32 noundef %71, i8 noundef zeroext 32)
  store i32 %72, ptr %40, align 4, !tbaa !5
  %73 = tail call i32 @RotateLeft(i32 noundef %72, i8 noundef zeroext 32)
  store i32 %73, ptr %41, align 4, !tbaa !5
  %74 = tail call i32 @RotateLeft(i32 noundef %73, i8 noundef zeroext 32)
  store i32 %74, ptr %42, align 4, !tbaa !5
  %75 = tail call i32 @RotateLeft(i32 noundef %74, i8 noundef zeroext 32)
  store i32 %75, ptr %43, align 4, !tbaa !5
  %76 = tail call i32 @RotateLeft(i32 noundef %75, i8 noundef zeroext 32)
  store i32 %76, ptr %44, align 4, !tbaa !5
  %77 = tail call i32 @RotateLeft(i32 noundef %76, i8 noundef zeroext 32)
  store i32 %77, ptr %45, align 4, !tbaa !5
  %78 = tail call i32 @RotateLeft(i32 noundef %77, i8 noundef zeroext 32)
  store i32 %78, ptr %46, align 4, !tbaa !5
  %79 = tail call i32 @RotateLeft(i32 noundef %78, i8 noundef zeroext 32)
  store i32 %79, ptr %47, align 4, !tbaa !5
  %80 = tail call i32 @RotateLeft(i32 noundef %79, i8 noundef zeroext 32)
  store i32 %80, ptr %48, align 4, !tbaa !5
  %81 = tail call i32 @RotateLeft(i32 noundef %80, i8 noundef zeroext 32)
  %82 = load i32, ptr %0, align 4, !tbaa !5
  %.not126 = icmp eq i32 %82, %49
  br i1 %.not126, label %.preheader132.1, label %.loopexit

.preheader132.1:                                  ; preds = %.preheader132.preheader
  %83 = tail call i32 @RotateLeft(i32 noundef %49, i8 noundef zeroext 32)
  %84 = load i32, ptr %18, align 4, !tbaa !5
  %.not126.1 = icmp eq i32 %84, %83
  br i1 %.not126.1, label %.preheader132.2, label %.loopexit

.preheader132.2:                                  ; preds = %.preheader132.1
  %85 = tail call i32 @RotateLeft(i32 noundef %83, i8 noundef zeroext 32)
  %86 = load i32, ptr %19, align 4, !tbaa !5
  %.not126.2 = icmp eq i32 %86, %85
  br i1 %.not126.2, label %.preheader132.3, label %.loopexit

.preheader132.3:                                  ; preds = %.preheader132.2
  %87 = tail call i32 @RotateLeft(i32 noundef %85, i8 noundef zeroext 32)
  %88 = load i32, ptr %20, align 4, !tbaa !5
  %.not126.3 = icmp eq i32 %88, %87
  br i1 %.not126.3, label %.preheader132.4, label %.loopexit

.preheader132.4:                                  ; preds = %.preheader132.3
  %89 = tail call i32 @RotateLeft(i32 noundef %87, i8 noundef zeroext 32)
  %90 = load i32, ptr %21, align 4, !tbaa !5
  %.not126.4 = icmp eq i32 %90, %89
  br i1 %.not126.4, label %.preheader132.5, label %.loopexit

.preheader132.5:                                  ; preds = %.preheader132.4
  %91 = tail call i32 @RotateLeft(i32 noundef %89, i8 noundef zeroext 32)
  %92 = load i32, ptr %22, align 4, !tbaa !5
  %.not126.5 = icmp eq i32 %92, %91
  br i1 %.not126.5, label %.preheader132.6, label %.loopexit

.preheader132.6:                                  ; preds = %.preheader132.5
  %93 = tail call i32 @RotateLeft(i32 noundef %91, i8 noundef zeroext 32)
  %94 = load i32, ptr %23, align 4, !tbaa !5
  %.not126.6 = icmp eq i32 %94, %93
  br i1 %.not126.6, label %.preheader132.7, label %.loopexit

.preheader132.7:                                  ; preds = %.preheader132.6
  %95 = tail call i32 @RotateLeft(i32 noundef %93, i8 noundef zeroext 32)
  %96 = load i32, ptr %24, align 4, !tbaa !5
  %.not126.7 = icmp eq i32 %96, %95
  br i1 %.not126.7, label %.preheader132.8, label %.loopexit

.preheader132.8:                                  ; preds = %.preheader132.7
  %97 = tail call i32 @RotateLeft(i32 noundef %95, i8 noundef zeroext 32)
  %98 = load i32, ptr %25, align 4, !tbaa !5
  %.not126.8 = icmp eq i32 %98, %97
  br i1 %.not126.8, label %.preheader132.9, label %.loopexit

.preheader132.9:                                  ; preds = %.preheader132.8
  %99 = tail call i32 @RotateLeft(i32 noundef %97, i8 noundef zeroext 32)
  %100 = load i32, ptr %26, align 4, !tbaa !5
  %.not126.9 = icmp eq i32 %100, %99
  br i1 %.not126.9, label %.preheader132.10, label %.loopexit

.preheader132.10:                                 ; preds = %.preheader132.9
  %101 = tail call i32 @RotateLeft(i32 noundef %99, i8 noundef zeroext 32)
  %102 = load i32, ptr %27, align 4, !tbaa !5
  %.not126.10 = icmp eq i32 %102, %101
  br i1 %.not126.10, label %.preheader132.11, label %.loopexit

.preheader132.11:                                 ; preds = %.preheader132.10
  %103 = tail call i32 @RotateLeft(i32 noundef %101, i8 noundef zeroext 32)
  %104 = load i32, ptr %28, align 4, !tbaa !5
  %.not126.11 = icmp eq i32 %104, %103
  br i1 %.not126.11, label %.preheader132.12, label %.loopexit

.preheader132.12:                                 ; preds = %.preheader132.11
  %105 = tail call i32 @RotateLeft(i32 noundef %103, i8 noundef zeroext 32)
  %106 = load i32, ptr %29, align 4, !tbaa !5
  %.not126.12 = icmp eq i32 %106, %105
  br i1 %.not126.12, label %.preheader132.13, label %.loopexit

.preheader132.13:                                 ; preds = %.preheader132.12
  %107 = tail call i32 @RotateLeft(i32 noundef %105, i8 noundef zeroext 32)
  %108 = load i32, ptr %30, align 4, !tbaa !5
  %.not126.13 = icmp eq i32 %108, %107
  br i1 %.not126.13, label %.preheader132.14, label %.loopexit

.preheader132.14:                                 ; preds = %.preheader132.13
  %109 = tail call i32 @RotateLeft(i32 noundef %107, i8 noundef zeroext 32)
  %110 = load i32, ptr %31, align 4, !tbaa !5
  %.not126.14 = icmp eq i32 %110, %109
  br i1 %.not126.14, label %.preheader132.15, label %.loopexit

.preheader132.15:                                 ; preds = %.preheader132.14
  %111 = tail call i32 @RotateLeft(i32 noundef %109, i8 noundef zeroext 32)
  %112 = load i32, ptr %32, align 4, !tbaa !5
  %.not126.15 = icmp eq i32 %112, %111
  br i1 %.not126.15, label %.preheader132.16, label %.loopexit

.preheader132.16:                                 ; preds = %.preheader132.15
  %113 = tail call i32 @RotateLeft(i32 noundef %111, i8 noundef zeroext 32)
  %114 = load i32, ptr %33, align 4, !tbaa !5
  %.not126.16 = icmp eq i32 %114, %113
  br i1 %.not126.16, label %.preheader132.17, label %.loopexit

.preheader132.17:                                 ; preds = %.preheader132.16
  %115 = tail call i32 @RotateLeft(i32 noundef %113, i8 noundef zeroext 32)
  %116 = load i32, ptr %34, align 4, !tbaa !5
  %.not126.17 = icmp eq i32 %116, %115
  br i1 %.not126.17, label %.preheader132.18, label %.loopexit

.preheader132.18:                                 ; preds = %.preheader132.17
  %117 = tail call i32 @RotateLeft(i32 noundef %115, i8 noundef zeroext 32)
  %118 = load i32, ptr %35, align 4, !tbaa !5
  %.not126.18 = icmp eq i32 %118, %117
  br i1 %.not126.18, label %.preheader132.19, label %.loopexit

.preheader132.19:                                 ; preds = %.preheader132.18
  %119 = tail call i32 @RotateLeft(i32 noundef %117, i8 noundef zeroext 32)
  %120 = load i32, ptr %36, align 4, !tbaa !5
  %.not126.19 = icmp eq i32 %120, %119
  br i1 %.not126.19, label %.preheader132.20, label %.loopexit

.preheader132.20:                                 ; preds = %.preheader132.19
  %121 = tail call i32 @RotateLeft(i32 noundef %119, i8 noundef zeroext 32)
  %122 = load i32, ptr %37, align 4, !tbaa !5
  %.not126.20 = icmp eq i32 %122, %121
  br i1 %.not126.20, label %.preheader132.21, label %.loopexit

.preheader132.21:                                 ; preds = %.preheader132.20
  %123 = tail call i32 @RotateLeft(i32 noundef %121, i8 noundef zeroext 32)
  %124 = load i32, ptr %38, align 4, !tbaa !5
  %.not126.21 = icmp eq i32 %124, %123
  br i1 %.not126.21, label %.preheader132.22, label %.loopexit

.preheader132.22:                                 ; preds = %.preheader132.21
  %125 = tail call i32 @RotateLeft(i32 noundef %123, i8 noundef zeroext 32)
  %126 = load i32, ptr %39, align 4, !tbaa !5
  %.not126.22 = icmp eq i32 %126, %125
  br i1 %.not126.22, label %.preheader132.23, label %.loopexit

.preheader132.23:                                 ; preds = %.preheader132.22
  %127 = tail call i32 @RotateLeft(i32 noundef %125, i8 noundef zeroext 32)
  %128 = load i32, ptr %40, align 4, !tbaa !5
  %.not126.23 = icmp eq i32 %128, %127
  br i1 %.not126.23, label %.preheader132.24, label %.loopexit

.preheader132.24:                                 ; preds = %.preheader132.23
  %129 = tail call i32 @RotateLeft(i32 noundef %127, i8 noundef zeroext 32)
  %130 = load i32, ptr %41, align 4, !tbaa !5
  %.not126.24 = icmp eq i32 %130, %129
  br i1 %.not126.24, label %.preheader132.25, label %.loopexit

.preheader132.25:                                 ; preds = %.preheader132.24
  %131 = tail call i32 @RotateLeft(i32 noundef %129, i8 noundef zeroext 32)
  %132 = load i32, ptr %42, align 4, !tbaa !5
  %.not126.25 = icmp eq i32 %132, %131
  br i1 %.not126.25, label %.preheader132.26, label %.loopexit

.preheader132.26:                                 ; preds = %.preheader132.25
  %133 = tail call i32 @RotateLeft(i32 noundef %131, i8 noundef zeroext 32)
  %134 = load i32, ptr %43, align 4, !tbaa !5
  %.not126.26 = icmp eq i32 %134, %133
  br i1 %.not126.26, label %.preheader132.27, label %.loopexit

.preheader132.27:                                 ; preds = %.preheader132.26
  %135 = tail call i32 @RotateLeft(i32 noundef %133, i8 noundef zeroext 32)
  %136 = load i32, ptr %44, align 4, !tbaa !5
  %.not126.27 = icmp eq i32 %136, %135
  br i1 %.not126.27, label %.preheader132.28, label %.loopexit

.preheader132.28:                                 ; preds = %.preheader132.27
  %137 = tail call i32 @RotateLeft(i32 noundef %135, i8 noundef zeroext 32)
  %138 = load i32, ptr %45, align 4, !tbaa !5
  %.not126.28 = icmp eq i32 %138, %137
  br i1 %.not126.28, label %.preheader132.29, label %.loopexit

.preheader132.29:                                 ; preds = %.preheader132.28
  %139 = tail call i32 @RotateLeft(i32 noundef %137, i8 noundef zeroext 32)
  %140 = load i32, ptr %46, align 4, !tbaa !5
  %.not126.29 = icmp eq i32 %140, %139
  br i1 %.not126.29, label %.preheader132.30, label %.loopexit

.preheader132.30:                                 ; preds = %.preheader132.29
  %141 = tail call i32 @RotateLeft(i32 noundef %139, i8 noundef zeroext 32)
  %142 = load i32, ptr %47, align 4, !tbaa !5
  %.not126.30 = icmp eq i32 %142, %141
  br i1 %.not126.30, label %.preheader132.31, label %.loopexit

.preheader132.31:                                 ; preds = %.preheader132.30
  %143 = tail call i32 @RotateLeft(i32 noundef %141, i8 noundef zeroext 32)
  %144 = load i32, ptr %48, align 4, !tbaa !5
  %.not126.31 = icmp eq i32 %144, %143
  br i1 %.not126.31, label %145, label %.loopexit

145:                                              ; preds = %.preheader132.31
  %146 = tail call i32 @RotateLeft(i32 noundef %143, i8 noundef zeroext 32)
  %147 = add nuw nsw i32 %.0111146, 1
  %exitcond174.not = icmp eq i32 %147, 32
  br i1 %exitcond174.not, label %148, label %.preheader132.preheader, !llvm.loop !15

148:                                              ; preds = %145
  switch i8 %3, label %.loopexit [
    i8 3, label %149
    i8 0, label %149
    i8 4, label %344
    i8 5, label %387
  ]

149:                                              ; preds = %.loopexit135, %148, %148
  %150 = getelementptr inbounds i8, ptr %0, i64 4
  %151 = getelementptr inbounds i8, ptr %0, i64 8
  %152 = getelementptr inbounds i8, ptr %0, i64 12
  %153 = getelementptr inbounds i8, ptr %0, i64 16
  %154 = getelementptr inbounds i8, ptr %0, i64 20
  %155 = getelementptr inbounds i8, ptr %0, i64 24
  %156 = getelementptr inbounds i8, ptr %0, i64 28
  %157 = getelementptr inbounds i8, ptr %0, i64 32
  %158 = getelementptr inbounds i8, ptr %0, i64 36
  %159 = getelementptr inbounds i8, ptr %0, i64 40
  %160 = getelementptr inbounds i8, ptr %0, i64 44
  %161 = getelementptr inbounds i8, ptr %0, i64 48
  %162 = getelementptr inbounds i8, ptr %0, i64 52
  %163 = getelementptr inbounds i8, ptr %0, i64 56
  %164 = getelementptr inbounds i8, ptr %0, i64 60
  %165 = getelementptr inbounds i8, ptr %0, i64 64
  %166 = getelementptr inbounds i8, ptr %0, i64 68
  %167 = getelementptr inbounds i8, ptr %0, i64 72
  %168 = getelementptr inbounds i8, ptr %0, i64 76
  %169 = getelementptr inbounds i8, ptr %0, i64 80
  %170 = getelementptr inbounds i8, ptr %0, i64 84
  %171 = getelementptr inbounds i8, ptr %0, i64 88
  %172 = getelementptr inbounds i8, ptr %0, i64 92
  %173 = getelementptr inbounds i8, ptr %0, i64 96
  %174 = getelementptr inbounds i8, ptr %0, i64 100
  %175 = getelementptr inbounds i8, ptr %0, i64 104
  %176 = getelementptr inbounds i8, ptr %0, i64 108
  %177 = getelementptr inbounds i8, ptr %0, i64 112
  %178 = getelementptr inbounds i8, ptr %0, i64 116
  %179 = getelementptr inbounds i8, ptr %0, i64 120
  %180 = getelementptr inbounds i8, ptr %0, i64 124
  br label %.preheader130.preheader

.preheader130.preheader:                          ; preds = %149, %340
  %.1112151 = phi i32 [ 0, %149 ], [ %342, %340 ]
  %181 = shl nuw i32 1, %.1112151
  %182 = xor i32 %181, -1
  store i32 %182, ptr %0, align 4, !tbaa !5
  %183 = tail call i32 @RotateLeft(i32 noundef %181, i8 noundef zeroext 32)
  %184 = xor i32 %183, -1
  store i32 %184, ptr %150, align 4, !tbaa !5
  %185 = tail call i32 @RotateLeft(i32 noundef %183, i8 noundef zeroext 32)
  %186 = xor i32 %185, -1
  store i32 %186, ptr %151, align 4, !tbaa !5
  %187 = tail call i32 @RotateLeft(i32 noundef %185, i8 noundef zeroext 32)
  %188 = xor i32 %187, -1
  store i32 %188, ptr %152, align 4, !tbaa !5
  %189 = tail call i32 @RotateLeft(i32 noundef %187, i8 noundef zeroext 32)
  %190 = xor i32 %189, -1
  store i32 %190, ptr %153, align 4, !tbaa !5
  %191 = tail call i32 @RotateLeft(i32 noundef %189, i8 noundef zeroext 32)
  %192 = xor i32 %191, -1
  store i32 %192, ptr %154, align 4, !tbaa !5
  %193 = tail call i32 @RotateLeft(i32 noundef %191, i8 noundef zeroext 32)
  %194 = xor i32 %193, -1
  store i32 %194, ptr %155, align 4, !tbaa !5
  %195 = tail call i32 @RotateLeft(i32 noundef %193, i8 noundef zeroext 32)
  %196 = xor i32 %195, -1
  store i32 %196, ptr %156, align 4, !tbaa !5
  %197 = tail call i32 @RotateLeft(i32 noundef %195, i8 noundef zeroext 32)
  %198 = xor i32 %197, -1
  store i32 %198, ptr %157, align 4, !tbaa !5
  %199 = tail call i32 @RotateLeft(i32 noundef %197, i8 noundef zeroext 32)
  %200 = xor i32 %199, -1
  store i32 %200, ptr %158, align 4, !tbaa !5
  %201 = tail call i32 @RotateLeft(i32 noundef %199, i8 noundef zeroext 32)
  %202 = xor i32 %201, -1
  store i32 %202, ptr %159, align 4, !tbaa !5
  %203 = tail call i32 @RotateLeft(i32 noundef %201, i8 noundef zeroext 32)
  %204 = xor i32 %203, -1
  store i32 %204, ptr %160, align 4, !tbaa !5
  %205 = tail call i32 @RotateLeft(i32 noundef %203, i8 noundef zeroext 32)
  %206 = xor i32 %205, -1
  store i32 %206, ptr %161, align 4, !tbaa !5
  %207 = tail call i32 @RotateLeft(i32 noundef %205, i8 noundef zeroext 32)
  %208 = xor i32 %207, -1
  store i32 %208, ptr %162, align 4, !tbaa !5
  %209 = tail call i32 @RotateLeft(i32 noundef %207, i8 noundef zeroext 32)
  %210 = xor i32 %209, -1
  store i32 %210, ptr %163, align 4, !tbaa !5
  %211 = tail call i32 @RotateLeft(i32 noundef %209, i8 noundef zeroext 32)
  %212 = xor i32 %211, -1
  store i32 %212, ptr %164, align 4, !tbaa !5
  %213 = tail call i32 @RotateLeft(i32 noundef %211, i8 noundef zeroext 32)
  %214 = xor i32 %213, -1
  store i32 %214, ptr %165, align 4, !tbaa !5
  %215 = tail call i32 @RotateLeft(i32 noundef %213, i8 noundef zeroext 32)
  %216 = xor i32 %215, -1
  store i32 %216, ptr %166, align 4, !tbaa !5
  %217 = tail call i32 @RotateLeft(i32 noundef %215, i8 noundef zeroext 32)
  %218 = xor i32 %217, -1
  store i32 %218, ptr %167, align 4, !tbaa !5
  %219 = tail call i32 @RotateLeft(i32 noundef %217, i8 noundef zeroext 32)
  %220 = xor i32 %219, -1
  store i32 %220, ptr %168, align 4, !tbaa !5
  %221 = tail call i32 @RotateLeft(i32 noundef %219, i8 noundef zeroext 32)
  %222 = xor i32 %221, -1
  store i32 %222, ptr %169, align 4, !tbaa !5
  %223 = tail call i32 @RotateLeft(i32 noundef %221, i8 noundef zeroext 32)
  %224 = xor i32 %223, -1
  store i32 %224, ptr %170, align 4, !tbaa !5
  %225 = tail call i32 @RotateLeft(i32 noundef %223, i8 noundef zeroext 32)
  %226 = xor i32 %225, -1
  store i32 %226, ptr %171, align 4, !tbaa !5
  %227 = tail call i32 @RotateLeft(i32 noundef %225, i8 noundef zeroext 32)
  %228 = xor i32 %227, -1
  store i32 %228, ptr %172, align 4, !tbaa !5
  %229 = tail call i32 @RotateLeft(i32 noundef %227, i8 noundef zeroext 32)
  %230 = xor i32 %229, -1
  store i32 %230, ptr %173, align 4, !tbaa !5
  %231 = tail call i32 @RotateLeft(i32 noundef %229, i8 noundef zeroext 32)
  %232 = xor i32 %231, -1
  store i32 %232, ptr %174, align 4, !tbaa !5
  %233 = tail call i32 @RotateLeft(i32 noundef %231, i8 noundef zeroext 32)
  %234 = xor i32 %233, -1
  store i32 %234, ptr %175, align 4, !tbaa !5
  %235 = tail call i32 @RotateLeft(i32 noundef %233, i8 noundef zeroext 32)
  %236 = xor i32 %235, -1
  store i32 %236, ptr %176, align 4, !tbaa !5
  %237 = tail call i32 @RotateLeft(i32 noundef %235, i8 noundef zeroext 32)
  %238 = xor i32 %237, -1
  store i32 %238, ptr %177, align 4, !tbaa !5
  %239 = tail call i32 @RotateLeft(i32 noundef %237, i8 noundef zeroext 32)
  %240 = xor i32 %239, -1
  store i32 %240, ptr %178, align 4, !tbaa !5
  %241 = tail call i32 @RotateLeft(i32 noundef %239, i8 noundef zeroext 32)
  %242 = xor i32 %241, -1
  store i32 %242, ptr %179, align 4, !tbaa !5
  %243 = tail call i32 @RotateLeft(i32 noundef %241, i8 noundef zeroext 32)
  %244 = xor i32 %243, -1
  store i32 %244, ptr %180, align 4, !tbaa !5
  %245 = tail call i32 @RotateLeft(i32 noundef %243, i8 noundef zeroext 32)
  %246 = load i32, ptr %0, align 4, !tbaa !5
  %.not125 = icmp eq i32 %246, %182
  br i1 %.not125, label %.preheader130.1, label %.loopexit

.preheader130.1:                                  ; preds = %.preheader130.preheader
  %247 = tail call i32 @RotateLeft(i32 noundef %181, i8 noundef zeroext 32)
  %248 = load i32, ptr %150, align 4, !tbaa !5
  %249 = xor i32 %247, %248
  %.not125.1 = icmp eq i32 %249, -1
  br i1 %.not125.1, label %.preheader130.2, label %.loopexit

.preheader130.2:                                  ; preds = %.preheader130.1
  %250 = tail call i32 @RotateLeft(i32 noundef %247, i8 noundef zeroext 32)
  %251 = load i32, ptr %151, align 4, !tbaa !5
  %252 = xor i32 %250, %251
  %.not125.2 = icmp eq i32 %252, -1
  br i1 %.not125.2, label %.preheader130.3, label %.loopexit

.preheader130.3:                                  ; preds = %.preheader130.2
  %253 = tail call i32 @RotateLeft(i32 noundef %250, i8 noundef zeroext 32)
  %254 = load i32, ptr %152, align 4, !tbaa !5
  %255 = xor i32 %253, %254
  %.not125.3 = icmp eq i32 %255, -1
  br i1 %.not125.3, label %.preheader130.4, label %.loopexit

.preheader130.4:                                  ; preds = %.preheader130.3
  %256 = tail call i32 @RotateLeft(i32 noundef %253, i8 noundef zeroext 32)
  %257 = load i32, ptr %153, align 4, !tbaa !5
  %258 = xor i32 %256, %257
  %.not125.4 = icmp eq i32 %258, -1
  br i1 %.not125.4, label %.preheader130.5, label %.loopexit

.preheader130.5:                                  ; preds = %.preheader130.4
  %259 = tail call i32 @RotateLeft(i32 noundef %256, i8 noundef zeroext 32)
  %260 = load i32, ptr %154, align 4, !tbaa !5
  %261 = xor i32 %259, %260
  %.not125.5 = icmp eq i32 %261, -1
  br i1 %.not125.5, label %.preheader130.6, label %.loopexit

.preheader130.6:                                  ; preds = %.preheader130.5
  %262 = tail call i32 @RotateLeft(i32 noundef %259, i8 noundef zeroext 32)
  %263 = load i32, ptr %155, align 4, !tbaa !5
  %264 = xor i32 %262, %263
  %.not125.6 = icmp eq i32 %264, -1
  br i1 %.not125.6, label %.preheader130.7, label %.loopexit

.preheader130.7:                                  ; preds = %.preheader130.6
  %265 = tail call i32 @RotateLeft(i32 noundef %262, i8 noundef zeroext 32)
  %266 = load i32, ptr %156, align 4, !tbaa !5
  %267 = xor i32 %265, %266
  %.not125.7 = icmp eq i32 %267, -1
  br i1 %.not125.7, label %.preheader130.8, label %.loopexit

.preheader130.8:                                  ; preds = %.preheader130.7
  %268 = tail call i32 @RotateLeft(i32 noundef %265, i8 noundef zeroext 32)
  %269 = load i32, ptr %157, align 4, !tbaa !5
  %270 = xor i32 %268, %269
  %.not125.8 = icmp eq i32 %270, -1
  br i1 %.not125.8, label %.preheader130.9, label %.loopexit

.preheader130.9:                                  ; preds = %.preheader130.8
  %271 = tail call i32 @RotateLeft(i32 noundef %268, i8 noundef zeroext 32)
  %272 = load i32, ptr %158, align 4, !tbaa !5
  %273 = xor i32 %271, %272
  %.not125.9 = icmp eq i32 %273, -1
  br i1 %.not125.9, label %.preheader130.10, label %.loopexit

.preheader130.10:                                 ; preds = %.preheader130.9
  %274 = tail call i32 @RotateLeft(i32 noundef %271, i8 noundef zeroext 32)
  %275 = load i32, ptr %159, align 4, !tbaa !5
  %276 = xor i32 %274, %275
  %.not125.10 = icmp eq i32 %276, -1
  br i1 %.not125.10, label %.preheader130.11, label %.loopexit

.preheader130.11:                                 ; preds = %.preheader130.10
  %277 = tail call i32 @RotateLeft(i32 noundef %274, i8 noundef zeroext 32)
  %278 = load i32, ptr %160, align 4, !tbaa !5
  %279 = xor i32 %277, %278
  %.not125.11 = icmp eq i32 %279, -1
  br i1 %.not125.11, label %.preheader130.12, label %.loopexit

.preheader130.12:                                 ; preds = %.preheader130.11
  %280 = tail call i32 @RotateLeft(i32 noundef %277, i8 noundef zeroext 32)
  %281 = load i32, ptr %161, align 4, !tbaa !5
  %282 = xor i32 %280, %281
  %.not125.12 = icmp eq i32 %282, -1
  br i1 %.not125.12, label %.preheader130.13, label %.loopexit

.preheader130.13:                                 ; preds = %.preheader130.12
  %283 = tail call i32 @RotateLeft(i32 noundef %280, i8 noundef zeroext 32)
  %284 = load i32, ptr %162, align 4, !tbaa !5
  %285 = xor i32 %283, %284
  %.not125.13 = icmp eq i32 %285, -1
  br i1 %.not125.13, label %.preheader130.14, label %.loopexit

.preheader130.14:                                 ; preds = %.preheader130.13
  %286 = tail call i32 @RotateLeft(i32 noundef %283, i8 noundef zeroext 32)
  %287 = load i32, ptr %163, align 4, !tbaa !5
  %288 = xor i32 %286, %287
  %.not125.14 = icmp eq i32 %288, -1
  br i1 %.not125.14, label %.preheader130.15, label %.loopexit

.preheader130.15:                                 ; preds = %.preheader130.14
  %289 = tail call i32 @RotateLeft(i32 noundef %286, i8 noundef zeroext 32)
  %290 = load i32, ptr %164, align 4, !tbaa !5
  %291 = xor i32 %289, %290
  %.not125.15 = icmp eq i32 %291, -1
  br i1 %.not125.15, label %.preheader130.16, label %.loopexit

.preheader130.16:                                 ; preds = %.preheader130.15
  %292 = tail call i32 @RotateLeft(i32 noundef %289, i8 noundef zeroext 32)
  %293 = load i32, ptr %165, align 4, !tbaa !5
  %294 = xor i32 %292, %293
  %.not125.16 = icmp eq i32 %294, -1
  br i1 %.not125.16, label %.preheader130.17, label %.loopexit

.preheader130.17:                                 ; preds = %.preheader130.16
  %295 = tail call i32 @RotateLeft(i32 noundef %292, i8 noundef zeroext 32)
  %296 = load i32, ptr %166, align 4, !tbaa !5
  %297 = xor i32 %295, %296
  %.not125.17 = icmp eq i32 %297, -1
  br i1 %.not125.17, label %.preheader130.18, label %.loopexit

.preheader130.18:                                 ; preds = %.preheader130.17
  %298 = tail call i32 @RotateLeft(i32 noundef %295, i8 noundef zeroext 32)
  %299 = load i32, ptr %167, align 4, !tbaa !5
  %300 = xor i32 %298, %299
  %.not125.18 = icmp eq i32 %300, -1
  br i1 %.not125.18, label %.preheader130.19, label %.loopexit

.preheader130.19:                                 ; preds = %.preheader130.18
  %301 = tail call i32 @RotateLeft(i32 noundef %298, i8 noundef zeroext 32)
  %302 = load i32, ptr %168, align 4, !tbaa !5
  %303 = xor i32 %301, %302
  %.not125.19 = icmp eq i32 %303, -1
  br i1 %.not125.19, label %.preheader130.20, label %.loopexit

.preheader130.20:                                 ; preds = %.preheader130.19
  %304 = tail call i32 @RotateLeft(i32 noundef %301, i8 noundef zeroext 32)
  %305 = load i32, ptr %169, align 4, !tbaa !5
  %306 = xor i32 %304, %305
  %.not125.20 = icmp eq i32 %306, -1
  br i1 %.not125.20, label %.preheader130.21, label %.loopexit

.preheader130.21:                                 ; preds = %.preheader130.20
  %307 = tail call i32 @RotateLeft(i32 noundef %304, i8 noundef zeroext 32)
  %308 = load i32, ptr %170, align 4, !tbaa !5
  %309 = xor i32 %307, %308
  %.not125.21 = icmp eq i32 %309, -1
  br i1 %.not125.21, label %.preheader130.22, label %.loopexit

.preheader130.22:                                 ; preds = %.preheader130.21
  %310 = tail call i32 @RotateLeft(i32 noundef %307, i8 noundef zeroext 32)
  %311 = load i32, ptr %171, align 4, !tbaa !5
  %312 = xor i32 %310, %311
  %.not125.22 = icmp eq i32 %312, -1
  br i1 %.not125.22, label %.preheader130.23, label %.loopexit

.preheader130.23:                                 ; preds = %.preheader130.22
  %313 = tail call i32 @RotateLeft(i32 noundef %310, i8 noundef zeroext 32)
  %314 = load i32, ptr %172, align 4, !tbaa !5
  %315 = xor i32 %313, %314
  %.not125.23 = icmp eq i32 %315, -1
  br i1 %.not125.23, label %.preheader130.24, label %.loopexit

.preheader130.24:                                 ; preds = %.preheader130.23
  %316 = tail call i32 @RotateLeft(i32 noundef %313, i8 noundef zeroext 32)
  %317 = load i32, ptr %173, align 4, !tbaa !5
  %318 = xor i32 %316, %317
  %.not125.24 = icmp eq i32 %318, -1
  br i1 %.not125.24, label %.preheader130.25, label %.loopexit

.preheader130.25:                                 ; preds = %.preheader130.24
  %319 = tail call i32 @RotateLeft(i32 noundef %316, i8 noundef zeroext 32)
  %320 = load i32, ptr %174, align 4, !tbaa !5
  %321 = xor i32 %319, %320
  %.not125.25 = icmp eq i32 %321, -1
  br i1 %.not125.25, label %.preheader130.26, label %.loopexit

.preheader130.26:                                 ; preds = %.preheader130.25
  %322 = tail call i32 @RotateLeft(i32 noundef %319, i8 noundef zeroext 32)
  %323 = load i32, ptr %175, align 4, !tbaa !5
  %324 = xor i32 %322, %323
  %.not125.26 = icmp eq i32 %324, -1
  br i1 %.not125.26, label %.preheader130.27, label %.loopexit

.preheader130.27:                                 ; preds = %.preheader130.26
  %325 = tail call i32 @RotateLeft(i32 noundef %322, i8 noundef zeroext 32)
  %326 = load i32, ptr %176, align 4, !tbaa !5
  %327 = xor i32 %325, %326
  %.not125.27 = icmp eq i32 %327, -1
  br i1 %.not125.27, label %.preheader130.28, label %.loopexit

.preheader130.28:                                 ; preds = %.preheader130.27
  %328 = tail call i32 @RotateLeft(i32 noundef %325, i8 noundef zeroext 32)
  %329 = load i32, ptr %177, align 4, !tbaa !5
  %330 = xor i32 %328, %329
  %.not125.28 = icmp eq i32 %330, -1
  br i1 %.not125.28, label %.preheader130.29, label %.loopexit

.preheader130.29:                                 ; preds = %.preheader130.28
  %331 = tail call i32 @RotateLeft(i32 noundef %328, i8 noundef zeroext 32)
  %332 = load i32, ptr %178, align 4, !tbaa !5
  %333 = xor i32 %331, %332
  %.not125.29 = icmp eq i32 %333, -1
  br i1 %.not125.29, label %.preheader130.30, label %.loopexit

.preheader130.30:                                 ; preds = %.preheader130.29
  %334 = tail call i32 @RotateLeft(i32 noundef %331, i8 noundef zeroext 32)
  %335 = load i32, ptr %179, align 4, !tbaa !5
  %336 = xor i32 %334, %335
  %.not125.30 = icmp eq i32 %336, -1
  br i1 %.not125.30, label %.preheader130.31, label %.loopexit

.preheader130.31:                                 ; preds = %.preheader130.30
  %337 = tail call i32 @RotateLeft(i32 noundef %334, i8 noundef zeroext 32)
  %338 = load i32, ptr %180, align 4, !tbaa !5
  %339 = xor i32 %337, %338
  %.not125.31 = icmp eq i32 %339, -1
  br i1 %.not125.31, label %340, label %.loopexit

340:                                              ; preds = %.preheader130.31
  %341 = tail call i32 @RotateLeft(i32 noundef %337, i8 noundef zeroext 32)
  %342 = add nuw nsw i32 %.1112151, 1
  %exitcond183.not = icmp eq i32 %342, 32
  br i1 %exitcond183.not, label %343, label %.preheader130.preheader, !llvm.loop !16

343:                                              ; preds = %340
  switch i8 %3, label %.loopexit [
    i8 4, label %344
    i8 0, label %344
    i8 5, label %387
  ]

344:                                              ; preds = %.loopexit135, %148, %343, %343
  %umax = tail call i32 @llvm.umax.i32(i32 %1, i32 1)
  %wide.trip.count187 = zext i32 %umax to i64
  %min.iters.check217 = icmp ult i32 %1, 8
  br i1 %min.iters.check217, label %scalar.ph216.preheader, label %vector.ph218

vector.ph218:                                     ; preds = %344
  %n.vec220 = and i64 %wide.trip.count187, 4294967288
  br label %vector.body222

vector.body222:                                   ; preds = %vector.body222, %vector.ph218
  %index223 = phi i64 [ 0, %vector.ph218 ], [ %index.next224, %vector.body222 ]
  %345 = or disjoint i64 %index223, 1
  %346 = or disjoint i64 %index223, 2
  %347 = or disjoint i64 %index223, 3
  %348 = or disjoint i64 %index223, 4
  %349 = or disjoint i64 %index223, 5
  %350 = or disjoint i64 %index223, 6
  %351 = or disjoint i64 %index223, 7
  %352 = getelementptr inbounds i32, ptr %0, i64 %index223
  %353 = getelementptr inbounds i32, ptr %0, i64 %345
  %354 = getelementptr inbounds i32, ptr %0, i64 %346
  %355 = getelementptr inbounds i32, ptr %0, i64 %347
  %356 = insertelement <4 x ptr> poison, ptr %352, i64 0
  %357 = insertelement <4 x ptr> %356, ptr %353, i64 1
  %358 = insertelement <4 x ptr> %357, ptr %354, i64 2
  %359 = insertelement <4 x ptr> %358, ptr %355, i64 3
  %360 = getelementptr inbounds i32, ptr %0, i64 %348
  %361 = getelementptr inbounds i32, ptr %0, i64 %349
  %362 = getelementptr inbounds i32, ptr %0, i64 %350
  %363 = getelementptr inbounds i32, ptr %0, i64 %351
  %364 = insertelement <4 x ptr> poison, ptr %360, i64 0
  %365 = insertelement <4 x ptr> %364, ptr %361, i64 1
  %366 = insertelement <4 x ptr> %365, ptr %362, i64 2
  %367 = insertelement <4 x ptr> %366, ptr %363, i64 3
  %368 = ptrtoint <4 x ptr> %359 to <4 x i64>
  %369 = ptrtoint <4 x ptr> %367 to <4 x i64>
  %370 = trunc <4 x i64> %368 to <4 x i32>
  %371 = trunc <4 x i64> %369 to <4 x i32>
  %372 = xor <4 x i32> %370, <i32 -1, i32 -1, i32 -1, i32 -1>
  %373 = xor <4 x i32> %371, <i32 -1, i32 -1, i32 -1, i32 -1>
  %374 = getelementptr inbounds i8, ptr %352, i64 16
  store <4 x i32> %372, ptr %352, align 4, !tbaa !5
  store <4 x i32> %373, ptr %374, align 4, !tbaa !5
  %index.next224 = add nuw i64 %index223, 8
  %375 = icmp eq i64 %index.next224, %n.vec220
  br i1 %375, label %middle.block215, label %vector.body222, !llvm.loop !17

middle.block215:                                  ; preds = %vector.body222
  %cmp.n225 = icmp eq i64 %n.vec220, %wide.trip.count187
  br i1 %cmp.n225, label %.preheader128.preheader, label %scalar.ph216.preheader

scalar.ph216.preheader:                           ; preds = %middle.block215, %344
  %indvars.iv184.ph = phi i64 [ 0, %344 ], [ %n.vec220, %middle.block215 ]
  br label %scalar.ph216

scalar.ph216:                                     ; preds = %scalar.ph216.preheader, %scalar.ph216
  %indvars.iv184 = phi i64 [ %indvars.iv.next185, %scalar.ph216 ], [ %indvars.iv184.ph, %scalar.ph216.preheader ]
  %376 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv184
  %377 = ptrtoint ptr %376 to i64
  %378 = trunc i64 %377 to i32
  %379 = xor i32 %378, -1
  store i32 %379, ptr %376, align 4, !tbaa !5
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next185, %wide.trip.count187
  br i1 %exitcond188.not, label %.preheader128.preheader, label %scalar.ph216, !llvm.loop !18

.preheader128.preheader:                          ; preds = %scalar.ph216, %middle.block215
  br label %.preheader128

380:                                              ; preds = %.preheader128
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %exitcond193.not = icmp eq i64 %indvars.iv.next190, %wide.trip.count187
  br i1 %exitcond193.not, label %386, label %.preheader128, !llvm.loop !19

.preheader128:                                    ; preds = %.preheader128.preheader, %380
  %indvars.iv189 = phi i64 [ %indvars.iv.next190, %380 ], [ 0, %.preheader128.preheader ]
  %381 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv189
  %382 = load i32, ptr %381, align 4, !tbaa !5
  %383 = ptrtoint ptr %381 to i64
  %384 = trunc i64 %383 to i32
  %385 = xor i32 %382, %384
  %.not124 = icmp eq i32 %385, -1
  br i1 %.not124, label %380, label %.loopexit

386:                                              ; preds = %380
  switch i8 %3, label %.loopexit [
    i8 5, label %387
    i8 0, label %387
  ]

387:                                              ; preds = %.loopexit135, %148, %343, %386, %386
  %388 = icmp eq i32 %2, 0
  %. = select i1 %388, i32 -559038737, i32 %2
  %umax197 = tail call i32 @llvm.umax.i32(i32 %1, i32 1)
  %wide.trip.count198 = zext i32 %umax197 to i64
  %min.iters.check228 = icmp ult i32 %1, 8
  br i1 %min.iters.check228, label %scalar.ph227.preheader, label %vector.ph229

vector.ph229:                                     ; preds = %387
  %n.vec231 = and i64 %wide.trip.count198, 4294967288
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %., i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body233

vector.body233:                                   ; preds = %vector.body233, %vector.ph229
  %index234 = phi i64 [ 0, %vector.ph229 ], [ %index.next235, %vector.body233 ]
  %389 = getelementptr inbounds i32, ptr %0, i64 %index234
  %390 = getelementptr inbounds i8, ptr %389, i64 16
  store <4 x i32> %broadcast.splat, ptr %389, align 4, !tbaa !5
  store <4 x i32> %broadcast.splat, ptr %390, align 4, !tbaa !5
  %index.next235 = add nuw i64 %index234, 8
  %391 = icmp eq i64 %index.next235, %n.vec231
  br i1 %391, label %middle.block226, label %vector.body233, !llvm.loop !20

middle.block226:                                  ; preds = %vector.body233
  %cmp.n236 = icmp eq i64 %n.vec231, %wide.trip.count198
  br i1 %cmp.n236, label %.preheader.preheader, label %scalar.ph227.preheader

scalar.ph227.preheader:                           ; preds = %middle.block226, %387
  %indvars.iv194.ph = phi i64 [ 0, %387 ], [ %n.vec231, %middle.block226 ]
  br label %scalar.ph227

scalar.ph227:                                     ; preds = %scalar.ph227.preheader, %scalar.ph227
  %indvars.iv194 = phi i64 [ %indvars.iv.next195, %scalar.ph227 ], [ %indvars.iv194.ph, %scalar.ph227.preheader ]
  %392 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv194
  store i32 %., ptr %392, align 4, !tbaa !5
  %indvars.iv.next195 = add nuw nsw i64 %indvars.iv194, 1
  %exitcond199.not = icmp eq i64 %indvars.iv.next195, %wide.trip.count198
  br i1 %exitcond199.not, label %.preheader.preheader, label %scalar.ph227, !llvm.loop !21

.preheader.preheader:                             ; preds = %scalar.ph227, %middle.block226
  br label %.preheader

393:                                              ; preds = %.preheader
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %exitcond204.not = icmp eq i64 %indvars.iv.next201, %wide.trip.count198
  br i1 %exitcond204.not, label %.loopexit, label %.preheader, !llvm.loop !22

.preheader:                                       ; preds = %.preheader.preheader, %393
  %indvars.iv200 = phi i64 [ %indvars.iv.next201, %393 ], [ 0, %.preheader.preheader ]
  %394 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv200
  %395 = load i32, ptr %394, align 4, !tbaa !5
  %.not123 = icmp eq i32 %395, %.
  br i1 %.not123, label %393, label %.loopexit

.loopexit.sink.split:                             ; preds = %5, %4
  %.sink = phi i32 [ 805, %4 ], [ 806, %5 ]
  tail call void @Xil_Assert(ptr noundef nonnull @.str, i32 noundef %.sink) #3
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader134, %.preheader132.preheader, %.preheader132.1, %.preheader132.2, %.preheader132.3, %.preheader132.4, %.preheader132.5, %.preheader132.6, %.preheader132.7, %.preheader132.8, %.preheader132.9, %.preheader132.10, %.preheader132.11, %.preheader132.12, %.preheader132.13, %.preheader132.14, %.preheader132.15, %.preheader132.16, %.preheader132.17, %.preheader132.18, %.preheader132.19, %.preheader132.20, %.preheader132.21, %.preheader132.22, %.preheader132.23, %.preheader132.24, %.preheader132.25, %.preheader132.26, %.preheader132.27, %.preheader132.28, %.preheader132.29, %.preheader132.30, %.preheader132.31, %.preheader130.preheader, %.preheader130.1, %.preheader130.2, %.preheader130.3, %.preheader130.4, %.preheader130.5, %.preheader130.6, %.preheader130.7, %.preheader130.8, %.preheader130.9, %.preheader130.10, %.preheader130.11, %.preheader130.12, %.preheader130.13, %.preheader130.14, %.preheader130.15, %.preheader130.16, %.preheader130.17, %.preheader130.18, %.preheader130.19, %.preheader130.20, %.preheader130.21, %.preheader130.22, %.preheader130.23, %.preheader130.24, %.preheader130.25, %.preheader130.26, %.preheader130.27, %.preheader130.28, %.preheader130.29, %.preheader130.30, %.preheader130.31, %.preheader128, %393, %.preheader, %.loopexit.sink.split, %.loopexit135, %148, %343, %386
  %.0109 = phi i32 [ 0, %386 ], [ 0, %343 ], [ 0, %148 ], [ 0, %.loopexit135 ], [ 0, %.loopexit.sink.split ], [ -1, %.preheader ], [ 0, %393 ], [ -1, %.preheader128 ], [ -1, %.preheader130.31 ], [ -1, %.preheader130.30 ], [ -1, %.preheader130.29 ], [ -1, %.preheader130.28 ], [ -1, %.preheader130.27 ], [ -1, %.preheader130.26 ], [ -1, %.preheader130.25 ], [ -1, %.preheader130.24 ], [ -1, %.preheader130.23 ], [ -1, %.preheader130.22 ], [ -1, %.preheader130.21 ], [ -1, %.preheader130.20 ], [ -1, %.preheader130.19 ], [ -1, %.preheader130.18 ], [ -1, %.preheader130.17 ], [ -1, %.preheader130.16 ], [ -1, %.preheader130.15 ], [ -1, %.preheader130.14 ], [ -1, %.preheader130.13 ], [ -1, %.preheader130.12 ], [ -1, %.preheader130.11 ], [ -1, %.preheader130.10 ], [ -1, %.preheader130.9 ], [ -1, %.preheader130.8 ], [ -1, %.preheader130.7 ], [ -1, %.preheader130.6 ], [ -1, %.preheader130.5 ], [ -1, %.preheader130.4 ], [ -1, %.preheader130.3 ], [ -1, %.preheader130.2 ], [ -1, %.preheader130.1 ], [ -1, %.preheader130.preheader ], [ -1, %.preheader132.31 ], [ -1, %.preheader132.30 ], [ -1, %.preheader132.29 ], [ -1, %.preheader132.28 ], [ -1, %.preheader132.27 ], [ -1, %.preheader132.26 ], [ -1, %.preheader132.25 ], [ -1, %.preheader132.24 ], [ -1, %.preheader132.23 ], [ -1, %.preheader132.22 ], [ -1, %.preheader132.21 ], [ -1, %.preheader132.20 ], [ -1, %.preheader132.19 ], [ -1, %.preheader132.18 ], [ -1, %.preheader132.17 ], [ -1, %.preheader132.16 ], [ -1, %.preheader132.15 ], [ -1, %.preheader132.14 ], [ -1, %.preheader132.13 ], [ -1, %.preheader132.12 ], [ -1, %.preheader132.11 ], [ -1, %.preheader132.10 ], [ -1, %.preheader132.9 ], [ -1, %.preheader132.8 ], [ -1, %.preheader132.7 ], [ -1, %.preheader132.6 ], [ -1, %.preheader132.5 ], [ -1, %.preheader132.4 ], [ -1, %.preheader132.3 ], [ -1, %.preheader132.2 ], [ -1, %.preheader132.1 ], [ -1, %.preheader132.preheader ], [ -1, %.preheader134 ]
  ret i32 %.0109
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @RotateLeft(i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !12, !11}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10, !11, !12}
!18 = distinct !{!18, !10, !12, !11}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10, !11, !12}
!21 = distinct !{!21, !10, !12, !11}
!22 = distinct !{!22, !10}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass