; LLVM IR from lfarcaro/ARINC653_ARMV7A_Z7000 :: ARINC653_ARMV7A_Z7000.sw/ARINC653_ARMV7A_Z7000_bsp/ps7_cortexa9_0/libsrc (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 [171 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 98)
  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 %305

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 99)
  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 %305

27:                                               ; preds = %25
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %31

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

31:                                               ; preds = %27
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 100)
  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 %305

32:                                               ; preds = %30
  store i32 1, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %33 = load i8, ptr %9, align 1, !tbaa !11
  %34 = zext i8 %33 to i32
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %40, label %36

36:                                               ; preds = %32
  %37 = load i8, ptr %9, align 1, !tbaa !11
  %38 = zext i8 %37 to i32
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %79

40:                                               ; preds = %36, %32
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %53, %40
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = load i32, ptr %7, align 4, !tbaa !9
  %44 = icmp ult i32 %42, %43
  br i1 %44, label %45, label %56

45:                                               ; preds = %41
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds i32, ptr %47, i64 %49
  store i32 %46, ptr %50, align 4, !tbaa !9
  %51 = load i32, ptr %12, align 4, !tbaa !9
  %52 = add i32 %51, 1
  store i32 %52, ptr %12, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %45
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = add i32 %54, 1
  store i32 %55, ptr %10, align 4, !tbaa !9
  br label %41, !llvm.loop !12

56:                                               ; preds = %41
  %57 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %57, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %75, %56
  %59 = load i32, ptr %10, align 4, !tbaa !9
  %60 = load i32, ptr %7, align 4, !tbaa !9
  %61 = icmp ult i32 %59, %60
  br i1 %61, label %62, label %78

62:                                               ; preds = %58
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = load i32, ptr %10, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i32, ptr %63, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !9
  store i32 %67, ptr %14, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %12, align 4, !tbaa !9
  %70 = icmp ne i32 %68, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %62
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %303

72:                                               ; preds = %62
  %73 = load i32, ptr %12, align 4, !tbaa !9
  %74 = add i32 %73, 1
  store i32 %74, ptr %12, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %72
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = add i32 %76, 1
  store i32 %77, ptr %10, align 4, !tbaa !9
  br label %58, !llvm.loop !14

78:                                               ; preds = %58
  br label %79

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

83:                                               ; preds = %79
  %84 = load i8, ptr %9, align 1, !tbaa !11
  %85 = zext i8 %84 to i32
  %86 = icmp eq i32 %85, 2
  br i1 %86, label %87, label %135

87:                                               ; preds = %83, %79
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %131, %87
  %89 = load i32, ptr %11, align 4, !tbaa !9
  %90 = icmp ult i32 %89, 32
  br i1 %90, label %91, label %134

91:                                               ; preds = %88
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = shl i32 1, %92
  store i32 %93, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %94

94:                                               ; preds = %105, %91
  %95 = load i32, ptr %10, align 4, !tbaa !9
  %96 = icmp ult i32 %95, 32
  br i1 %96, label %97, label %108

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

105:                                              ; preds = %97
  %106 = load i32, ptr %10, align 4, !tbaa !9
  %107 = add i32 %106, 1
  store i32 %107, ptr %10, align 4, !tbaa !9
  br label %94, !llvm.loop !15

108:                                              ; preds = %94
  %109 = load i32, ptr %11, align 4, !tbaa !9
  %110 = shl i32 1, %109
  store i32 %110, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %111

111:                                              ; preds = %127, %108
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = icmp ult i32 %112, 32
  br i1 %113, label %114, label %130

114:                                              ; preds = %111
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds i32, ptr %115, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !9
  store i32 %119, ptr %14, align 4, !tbaa !9
  %120 = load i32, ptr %14, align 4, !tbaa !9
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = icmp ne i32 %120, %121
  br i1 %122, label %123, label %124

123:                                              ; preds = %114
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %303

124:                                              ; preds = %114
  %125 = load i32, ptr %12, align 4, !tbaa !9
  %126 = call i32 @RotateLeft(i32 noundef %125, i8 noundef zeroext 32)
  store i32 %126, ptr %12, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %124
  %128 = load i32, ptr %10, align 4, !tbaa !9
  %129 = add i32 %128, 1
  store i32 %129, ptr %10, align 4, !tbaa !9
  br label %111, !llvm.loop !16

130:                                              ; preds = %111
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %11, align 4, !tbaa !9
  %133 = add i32 %132, 1
  store i32 %133, ptr %11, align 4, !tbaa !9
  br label %88, !llvm.loop !17

134:                                              ; preds = %88
  br label %135

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

139:                                              ; preds = %135
  %140 = load i8, ptr %9, align 1, !tbaa !11
  %141 = zext i8 %140 to i32
  %142 = icmp eq i32 %141, 3
  br i1 %142, label %143, label %197

143:                                              ; preds = %139, %135
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %193, %143
  %145 = load i32, ptr %11, align 4, !tbaa !9
  %146 = icmp ult i32 %145, 32
  br i1 %146, label %147, label %196

147:                                              ; preds = %144
  %148 = load i32, ptr %11, align 4, !tbaa !9
  %149 = shl i32 1, %148
  %150 = xor i32 %149, -1
  store i32 %150, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %164, %147
  %152 = load i32, ptr %10, align 4, !tbaa !9
  %153 = icmp ult i32 %152, 32
  br i1 %153, label %154, label %167

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

164:                                              ; preds = %154
  %165 = load i32, ptr %10, align 4, !tbaa !9
  %166 = add i32 %165, 1
  store i32 %166, ptr %10, align 4, !tbaa !9
  br label %151, !llvm.loop !18

167:                                              ; preds = %151
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = shl i32 1, %168
  %170 = xor i32 %169, -1
  store i32 %170, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %171

171:                                              ; preds = %189, %167
  %172 = load i32, ptr %10, align 4, !tbaa !9
  %173 = icmp ult i32 %172, 32
  br i1 %173, label %174, label %192

174:                                              ; preds = %171
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = load i32, ptr %10, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds i32, ptr %175, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !9
  store i32 %179, ptr %14, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  %181 = load i32, ptr %12, align 4, !tbaa !9
  %182 = icmp ne i32 %180, %181
  br i1 %182, label %183, label %184

183:                                              ; preds = %174
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %303

184:                                              ; preds = %174
  %185 = load i32, ptr %12, align 4, !tbaa !9
  %186 = xor i32 %185, -1
  %187 = call i32 @RotateLeft(i32 noundef %186, i8 noundef zeroext 32)
  %188 = xor i32 %187, -1
  store i32 %188, ptr %12, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %184
  %190 = load i32, ptr %10, align 4, !tbaa !9
  %191 = add i32 %190, 1
  store i32 %191, ptr %10, align 4, !tbaa !9
  br label %171, !llvm.loop !19

192:                                              ; preds = %171
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %11, align 4, !tbaa !9
  %195 = add i32 %194, 1
  store i32 %195, ptr %11, align 4, !tbaa !9
  br label %144, !llvm.loop !20

196:                                              ; preds = %144
  br label %197

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

201:                                              ; preds = %197
  %202 = load i8, ptr %9, align 1, !tbaa !11
  %203 = zext i8 %202 to i32
  %204 = icmp eq i32 %203, 4
  br i1 %204, label %205, label %254

205:                                              ; preds = %201, %197
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %206

206:                                              ; preds = %223, %205
  %207 = load i32, ptr %10, align 4, !tbaa !9
  %208 = load i32, ptr %7, align 4, !tbaa !9
  %209 = icmp ult i32 %207, %208
  br i1 %209, label %210, label %226

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

223:                                              ; preds = %210
  %224 = load i32, ptr %10, align 4, !tbaa !9
  %225 = add i32 %224, 1
  store i32 %225, ptr %10, align 4, !tbaa !9
  br label %206, !llvm.loop !21

226:                                              ; preds = %206
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %227

227:                                              ; preds = %250, %226
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = load i32, ptr %7, align 4, !tbaa !9
  %230 = icmp ult i32 %228, %229
  br i1 %230, label %231, label %253

231:                                              ; preds = %227
  %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 = load i32, ptr %235, align 4, !tbaa !9
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = load i32, ptr %10, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds i32, ptr %237, i64 %239
  %241 = ptrtoint ptr %240 to i64
  %242 = xor i64 %241, -1
  %243 = trunc i64 %242 to i32
  store i32 %243, ptr %12, align 4, !tbaa !9
  %244 = load i32, ptr %14, align 4, !tbaa !9
  %245 = load i32, ptr %12, align 4, !tbaa !9
  %246 = xor i32 %244, %245
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %248, label %249

248:                                              ; preds = %231
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %303

249:                                              ; preds = %231
  br label %250

250:                                              ; preds = %249
  %251 = load i32, ptr %10, align 4, !tbaa !9
  %252 = add i32 %251, 1
  store i32 %252, ptr %10, align 4, !tbaa !9
  br label %227, !llvm.loop !22

253:                                              ; preds = %227
  br label %254

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

258:                                              ; preds = %254
  %259 = load i8, ptr %9, align 1, !tbaa !11
  %260 = zext i8 %259 to i32
  %261 = icmp eq i32 %260, 5
  br i1 %261, label %262, label %302

262:                                              ; preds = %258, %254
  %263 = load i32, ptr %8, align 4, !tbaa !9
  %264 = icmp eq i32 %263, 0
  br i1 %264, label %265, label %266

265:                                              ; preds = %262
  store i32 -559038737, ptr %12, align 4, !tbaa !9
  br label %268

266:                                              ; preds = %262
  %267 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %267, ptr %12, align 4, !tbaa !9
  br label %268

268:                                              ; preds = %266, %265
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %269

269:                                              ; preds = %279, %268
  %270 = load i32, ptr %10, align 4, !tbaa !9
  %271 = load i32, ptr %7, align 4, !tbaa !9
  %272 = icmp ult i32 %270, %271
  br i1 %272, label %273, label %282

273:                                              ; preds = %269
  %274 = load i32, ptr %12, align 4, !tbaa !9
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = load i32, ptr %10, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = getelementptr inbounds i32, ptr %275, i64 %277
  store i32 %274, ptr %278, align 4, !tbaa !9
  br label %279

279:                                              ; preds = %273
  %280 = load i32, ptr %10, align 4, !tbaa !9
  %281 = add i32 %280, 1
  store i32 %281, ptr %10, align 4, !tbaa !9
  br label %269, !llvm.loop !23

282:                                              ; preds = %269
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %283

283:                                              ; preds = %298, %282
  %284 = load i32, ptr %10, align 4, !tbaa !9
  %285 = load i32, ptr %7, align 4, !tbaa !9
  %286 = icmp ult i32 %284, %285
  br i1 %286, label %287, label %301

287:                                              ; preds = %283
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = load i32, ptr %10, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds i32, ptr %288, i64 %290
  %292 = load i32, ptr %291, align 4, !tbaa !9
  store i32 %292, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %14, align 4, !tbaa !9
  %294 = load i32, ptr %12, align 4, !tbaa !9
  %295 = icmp ne i32 %293, %294
  br i1 %295, label %296, label %297

296:                                              ; preds = %287
  store i32 -1, ptr %15, align 4, !tbaa !9
  br label %303

297:                                              ; preds = %287
  br label %298

298:                                              ; preds = %297
  %299 = load i32, ptr %10, align 4, !tbaa !9
  %300 = add i32 %299, 1
  store i32 %300, ptr %10, align 4, !tbaa !9
  br label %283, !llvm.loop !24

301:                                              ; preds = %283
  br label %302

302:                                              ; preds = %301, %258
  br label %303

303:                                              ; preds = %302, %296, %248, %183, %123, %71
  %304 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %304, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %305

305:                                              ; preds = %303, %31, %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
  %306 = load i32, ptr %5, align 4
  ret i32 %306
}

; 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 [171 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
  %.not125 = icmp eq ptr %0, null
  br i1 %.not125, label %.loopexit.sink.split, label %8

8:                                                ; preds = %7
  %or.cond = icmp ult i8 %3, 2
  br i1 %or.cond, label %.preheader140.preheader, label %.loopexit138

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

vector.ph:                                        ; preds = %.preheader140.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>
  %9 = getelementptr inbounds i32, ptr %0, i64 %index
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  store <4 x i32> %vec.ind, ptr %9, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %10, 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>
  %11 = icmp eq i64 %index.next, %n.vec
  br i1 %11, 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 %.preheader137.preheader, label %.preheader140.preheader244

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

.preheader140:                                    ; preds = %.preheader140.preheader244, %.preheader140
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader140 ], [ %indvars.iv.ph, %.preheader140.preheader244 ]
  %.0111142 = phi i32 [ %13, %.preheader140 ], [ %.0111142.ph, %.preheader140.preheader244 ]
  %12 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv
  store i32 %.0111142, ptr %12, align 4, !tbaa !5
  %13 = add i32 %.0111142, 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 %.preheader137.preheader, label %.preheader140, !llvm.loop !13

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

.preheader137:                                    ; preds = %.preheader137.preheader, %16
  %indvars.iv164 = phi i64 [ %indvars.iv.next165, %16 ], [ 0, %.preheader137.preheader ]
  %.1144 = phi i32 [ %17, %16 ], [ 1, %.preheader137.preheader ]
  %14 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv164
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %.not130 = icmp eq i32 %15, %.1144
  br i1 %.not130, label %16, label %.loopexit

16:                                               ; preds = %.preheader137
  %17 = add i32 %.1144, 1
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %exitcond168.not = icmp eq i64 %indvars.iv.next165, %wide.trip.count
  br i1 %exitcond168.not, label %.loopexit138, label %.preheader137, !llvm.loop !14

.loopexit138:                                     ; preds = %16, %8
  switch i8 %3, label %.loopexit [
    i8 2, label %18
    i8 0, label %18
    i8 3, label %150
    i8 4, label %345
    i8 5, label %388
  ]

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

.preheader135.preheader:                          ; preds = %18, %146
  %.0112149 = phi i32 [ 0, %18 ], [ %148, %146 ]
  %50 = shl nuw i32 1, %.0112149
  store i32 %50, ptr %0, 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)
  store i32 %81, ptr %49, align 4, !tbaa !5
  %82 = tail call i32 @RotateLeft(i32 noundef %81, i8 noundef zeroext 32)
  %83 = load i32, ptr %0, align 4, !tbaa !5
  %.not129 = icmp eq i32 %83, %50
  br i1 %.not129, label %.preheader135.1, label %.loopexit

.preheader135.1:                                  ; preds = %.preheader135.preheader
  %84 = tail call i32 @RotateLeft(i32 noundef %50, i8 noundef zeroext 32)
  %85 = load i32, ptr %19, align 4, !tbaa !5
  %.not129.1 = icmp eq i32 %85, %84
  br i1 %.not129.1, label %.preheader135.2, label %.loopexit

.preheader135.2:                                  ; preds = %.preheader135.1
  %86 = tail call i32 @RotateLeft(i32 noundef %84, i8 noundef zeroext 32)
  %87 = load i32, ptr %20, align 4, !tbaa !5
  %.not129.2 = icmp eq i32 %87, %86
  br i1 %.not129.2, label %.preheader135.3, label %.loopexit

.preheader135.3:                                  ; preds = %.preheader135.2
  %88 = tail call i32 @RotateLeft(i32 noundef %86, i8 noundef zeroext 32)
  %89 = load i32, ptr %21, align 4, !tbaa !5
  %.not129.3 = icmp eq i32 %89, %88
  br i1 %.not129.3, label %.preheader135.4, label %.loopexit

.preheader135.4:                                  ; preds = %.preheader135.3
  %90 = tail call i32 @RotateLeft(i32 noundef %88, i8 noundef zeroext 32)
  %91 = load i32, ptr %22, align 4, !tbaa !5
  %.not129.4 = icmp eq i32 %91, %90
  br i1 %.not129.4, label %.preheader135.5, label %.loopexit

.preheader135.5:                                  ; preds = %.preheader135.4
  %92 = tail call i32 @RotateLeft(i32 noundef %90, i8 noundef zeroext 32)
  %93 = load i32, ptr %23, align 4, !tbaa !5
  %.not129.5 = icmp eq i32 %93, %92
  br i1 %.not129.5, label %.preheader135.6, label %.loopexit

.preheader135.6:                                  ; preds = %.preheader135.5
  %94 = tail call i32 @RotateLeft(i32 noundef %92, i8 noundef zeroext 32)
  %95 = load i32, ptr %24, align 4, !tbaa !5
  %.not129.6 = icmp eq i32 %95, %94
  br i1 %.not129.6, label %.preheader135.7, label %.loopexit

.preheader135.7:                                  ; preds = %.preheader135.6
  %96 = tail call i32 @RotateLeft(i32 noundef %94, i8 noundef zeroext 32)
  %97 = load i32, ptr %25, align 4, !tbaa !5
  %.not129.7 = icmp eq i32 %97, %96
  br i1 %.not129.7, label %.preheader135.8, label %.loopexit

.preheader135.8:                                  ; preds = %.preheader135.7
  %98 = tail call i32 @RotateLeft(i32 noundef %96, i8 noundef zeroext 32)
  %99 = load i32, ptr %26, align 4, !tbaa !5
  %.not129.8 = icmp eq i32 %99, %98
  br i1 %.not129.8, label %.preheader135.9, label %.loopexit

.preheader135.9:                                  ; preds = %.preheader135.8
  %100 = tail call i32 @RotateLeft(i32 noundef %98, i8 noundef zeroext 32)
  %101 = load i32, ptr %27, align 4, !tbaa !5
  %.not129.9 = icmp eq i32 %101, %100
  br i1 %.not129.9, label %.preheader135.10, label %.loopexit

.preheader135.10:                                 ; preds = %.preheader135.9
  %102 = tail call i32 @RotateLeft(i32 noundef %100, i8 noundef zeroext 32)
  %103 = load i32, ptr %28, align 4, !tbaa !5
  %.not129.10 = icmp eq i32 %103, %102
  br i1 %.not129.10, label %.preheader135.11, label %.loopexit

.preheader135.11:                                 ; preds = %.preheader135.10
  %104 = tail call i32 @RotateLeft(i32 noundef %102, i8 noundef zeroext 32)
  %105 = load i32, ptr %29, align 4, !tbaa !5
  %.not129.11 = icmp eq i32 %105, %104
  br i1 %.not129.11, label %.preheader135.12, label %.loopexit

.preheader135.12:                                 ; preds = %.preheader135.11
  %106 = tail call i32 @RotateLeft(i32 noundef %104, i8 noundef zeroext 32)
  %107 = load i32, ptr %30, align 4, !tbaa !5
  %.not129.12 = icmp eq i32 %107, %106
  br i1 %.not129.12, label %.preheader135.13, label %.loopexit

.preheader135.13:                                 ; preds = %.preheader135.12
  %108 = tail call i32 @RotateLeft(i32 noundef %106, i8 noundef zeroext 32)
  %109 = load i32, ptr %31, align 4, !tbaa !5
  %.not129.13 = icmp eq i32 %109, %108
  br i1 %.not129.13, label %.preheader135.14, label %.loopexit

.preheader135.14:                                 ; preds = %.preheader135.13
  %110 = tail call i32 @RotateLeft(i32 noundef %108, i8 noundef zeroext 32)
  %111 = load i32, ptr %32, align 4, !tbaa !5
  %.not129.14 = icmp eq i32 %111, %110
  br i1 %.not129.14, label %.preheader135.15, label %.loopexit

.preheader135.15:                                 ; preds = %.preheader135.14
  %112 = tail call i32 @RotateLeft(i32 noundef %110, i8 noundef zeroext 32)
  %113 = load i32, ptr %33, align 4, !tbaa !5
  %.not129.15 = icmp eq i32 %113, %112
  br i1 %.not129.15, label %.preheader135.16, label %.loopexit

.preheader135.16:                                 ; preds = %.preheader135.15
  %114 = tail call i32 @RotateLeft(i32 noundef %112, i8 noundef zeroext 32)
  %115 = load i32, ptr %34, align 4, !tbaa !5
  %.not129.16 = icmp eq i32 %115, %114
  br i1 %.not129.16, label %.preheader135.17, label %.loopexit

.preheader135.17:                                 ; preds = %.preheader135.16
  %116 = tail call i32 @RotateLeft(i32 noundef %114, i8 noundef zeroext 32)
  %117 = load i32, ptr %35, align 4, !tbaa !5
  %.not129.17 = icmp eq i32 %117, %116
  br i1 %.not129.17, label %.preheader135.18, label %.loopexit

.preheader135.18:                                 ; preds = %.preheader135.17
  %118 = tail call i32 @RotateLeft(i32 noundef %116, i8 noundef zeroext 32)
  %119 = load i32, ptr %36, align 4, !tbaa !5
  %.not129.18 = icmp eq i32 %119, %118
  br i1 %.not129.18, label %.preheader135.19, label %.loopexit

.preheader135.19:                                 ; preds = %.preheader135.18
  %120 = tail call i32 @RotateLeft(i32 noundef %118, i8 noundef zeroext 32)
  %121 = load i32, ptr %37, align 4, !tbaa !5
  %.not129.19 = icmp eq i32 %121, %120
  br i1 %.not129.19, label %.preheader135.20, label %.loopexit

.preheader135.20:                                 ; preds = %.preheader135.19
  %122 = tail call i32 @RotateLeft(i32 noundef %120, i8 noundef zeroext 32)
  %123 = load i32, ptr %38, align 4, !tbaa !5
  %.not129.20 = icmp eq i32 %123, %122
  br i1 %.not129.20, label %.preheader135.21, label %.loopexit

.preheader135.21:                                 ; preds = %.preheader135.20
  %124 = tail call i32 @RotateLeft(i32 noundef %122, i8 noundef zeroext 32)
  %125 = load i32, ptr %39, align 4, !tbaa !5
  %.not129.21 = icmp eq i32 %125, %124
  br i1 %.not129.21, label %.preheader135.22, label %.loopexit

.preheader135.22:                                 ; preds = %.preheader135.21
  %126 = tail call i32 @RotateLeft(i32 noundef %124, i8 noundef zeroext 32)
  %127 = load i32, ptr %40, align 4, !tbaa !5
  %.not129.22 = icmp eq i32 %127, %126
  br i1 %.not129.22, label %.preheader135.23, label %.loopexit

.preheader135.23:                                 ; preds = %.preheader135.22
  %128 = tail call i32 @RotateLeft(i32 noundef %126, i8 noundef zeroext 32)
  %129 = load i32, ptr %41, align 4, !tbaa !5
  %.not129.23 = icmp eq i32 %129, %128
  br i1 %.not129.23, label %.preheader135.24, label %.loopexit

.preheader135.24:                                 ; preds = %.preheader135.23
  %130 = tail call i32 @RotateLeft(i32 noundef %128, i8 noundef zeroext 32)
  %131 = load i32, ptr %42, align 4, !tbaa !5
  %.not129.24 = icmp eq i32 %131, %130
  br i1 %.not129.24, label %.preheader135.25, label %.loopexit

.preheader135.25:                                 ; preds = %.preheader135.24
  %132 = tail call i32 @RotateLeft(i32 noundef %130, i8 noundef zeroext 32)
  %133 = load i32, ptr %43, align 4, !tbaa !5
  %.not129.25 = icmp eq i32 %133, %132
  br i1 %.not129.25, label %.preheader135.26, label %.loopexit

.preheader135.26:                                 ; preds = %.preheader135.25
  %134 = tail call i32 @RotateLeft(i32 noundef %132, i8 noundef zeroext 32)
  %135 = load i32, ptr %44, align 4, !tbaa !5
  %.not129.26 = icmp eq i32 %135, %134
  br i1 %.not129.26, label %.preheader135.27, label %.loopexit

.preheader135.27:                                 ; preds = %.preheader135.26
  %136 = tail call i32 @RotateLeft(i32 noundef %134, i8 noundef zeroext 32)
  %137 = load i32, ptr %45, align 4, !tbaa !5
  %.not129.27 = icmp eq i32 %137, %136
  br i1 %.not129.27, label %.preheader135.28, label %.loopexit

.preheader135.28:                                 ; preds = %.preheader135.27
  %138 = tail call i32 @RotateLeft(i32 noundef %136, i8 noundef zeroext 32)
  %139 = load i32, ptr %46, align 4, !tbaa !5
  %.not129.28 = icmp eq i32 %139, %138
  br i1 %.not129.28, label %.preheader135.29, label %.loopexit

.preheader135.29:                                 ; preds = %.preheader135.28
  %140 = tail call i32 @RotateLeft(i32 noundef %138, i8 noundef zeroext 32)
  %141 = load i32, ptr %47, align 4, !tbaa !5
  %.not129.29 = icmp eq i32 %141, %140
  br i1 %.not129.29, label %.preheader135.30, label %.loopexit

.preheader135.30:                                 ; preds = %.preheader135.29
  %142 = tail call i32 @RotateLeft(i32 noundef %140, i8 noundef zeroext 32)
  %143 = load i32, ptr %48, align 4, !tbaa !5
  %.not129.30 = icmp eq i32 %143, %142
  br i1 %.not129.30, label %.preheader135.31, label %.loopexit

.preheader135.31:                                 ; preds = %.preheader135.30
  %144 = tail call i32 @RotateLeft(i32 noundef %142, i8 noundef zeroext 32)
  %145 = load i32, ptr %49, align 4, !tbaa !5
  %.not129.31 = icmp eq i32 %145, %144
  br i1 %.not129.31, label %146, label %.loopexit

146:                                              ; preds = %.preheader135.31
  %147 = tail call i32 @RotateLeft(i32 noundef %144, i8 noundef zeroext 32)
  %148 = add nuw nsw i32 %.0112149, 1
  %exitcond177.not = icmp eq i32 %148, 32
  br i1 %exitcond177.not, label %149, label %.preheader135.preheader, !llvm.loop !15

149:                                              ; preds = %146
  switch i8 %3, label %.loopexit [
    i8 3, label %150
    i8 0, label %150
    i8 4, label %345
    i8 5, label %388
  ]

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

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

.preheader133.1:                                  ; preds = %.preheader133.preheader
  %248 = tail call i32 @RotateLeft(i32 noundef %182, i8 noundef zeroext 32)
  %249 = load i32, ptr %151, align 4, !tbaa !5
  %250 = xor i32 %248, %249
  %.not128.1 = icmp eq i32 %250, -1
  br i1 %.not128.1, label %.preheader133.2, label %.loopexit

.preheader133.2:                                  ; preds = %.preheader133.1
  %251 = tail call i32 @RotateLeft(i32 noundef %248, i8 noundef zeroext 32)
  %252 = load i32, ptr %152, align 4, !tbaa !5
  %253 = xor i32 %251, %252
  %.not128.2 = icmp eq i32 %253, -1
  br i1 %.not128.2, label %.preheader133.3, label %.loopexit

.preheader133.3:                                  ; preds = %.preheader133.2
  %254 = tail call i32 @RotateLeft(i32 noundef %251, i8 noundef zeroext 32)
  %255 = load i32, ptr %153, align 4, !tbaa !5
  %256 = xor i32 %254, %255
  %.not128.3 = icmp eq i32 %256, -1
  br i1 %.not128.3, label %.preheader133.4, label %.loopexit

.preheader133.4:                                  ; preds = %.preheader133.3
  %257 = tail call i32 @RotateLeft(i32 noundef %254, i8 noundef zeroext 32)
  %258 = load i32, ptr %154, align 4, !tbaa !5
  %259 = xor i32 %257, %258
  %.not128.4 = icmp eq i32 %259, -1
  br i1 %.not128.4, label %.preheader133.5, label %.loopexit

.preheader133.5:                                  ; preds = %.preheader133.4
  %260 = tail call i32 @RotateLeft(i32 noundef %257, i8 noundef zeroext 32)
  %261 = load i32, ptr %155, align 4, !tbaa !5
  %262 = xor i32 %260, %261
  %.not128.5 = icmp eq i32 %262, -1
  br i1 %.not128.5, label %.preheader133.6, label %.loopexit

.preheader133.6:                                  ; preds = %.preheader133.5
  %263 = tail call i32 @RotateLeft(i32 noundef %260, i8 noundef zeroext 32)
  %264 = load i32, ptr %156, align 4, !tbaa !5
  %265 = xor i32 %263, %264
  %.not128.6 = icmp eq i32 %265, -1
  br i1 %.not128.6, label %.preheader133.7, label %.loopexit

.preheader133.7:                                  ; preds = %.preheader133.6
  %266 = tail call i32 @RotateLeft(i32 noundef %263, i8 noundef zeroext 32)
  %267 = load i32, ptr %157, align 4, !tbaa !5
  %268 = xor i32 %266, %267
  %.not128.7 = icmp eq i32 %268, -1
  br i1 %.not128.7, label %.preheader133.8, label %.loopexit

.preheader133.8:                                  ; preds = %.preheader133.7
  %269 = tail call i32 @RotateLeft(i32 noundef %266, i8 noundef zeroext 32)
  %270 = load i32, ptr %158, align 4, !tbaa !5
  %271 = xor i32 %269, %270
  %.not128.8 = icmp eq i32 %271, -1
  br i1 %.not128.8, label %.preheader133.9, label %.loopexit

.preheader133.9:                                  ; preds = %.preheader133.8
  %272 = tail call i32 @RotateLeft(i32 noundef %269, i8 noundef zeroext 32)
  %273 = load i32, ptr %159, align 4, !tbaa !5
  %274 = xor i32 %272, %273
  %.not128.9 = icmp eq i32 %274, -1
  br i1 %.not128.9, label %.preheader133.10, label %.loopexit

.preheader133.10:                                 ; preds = %.preheader133.9
  %275 = tail call i32 @RotateLeft(i32 noundef %272, i8 noundef zeroext 32)
  %276 = load i32, ptr %160, align 4, !tbaa !5
  %277 = xor i32 %275, %276
  %.not128.10 = icmp eq i32 %277, -1
  br i1 %.not128.10, label %.preheader133.11, label %.loopexit

.preheader133.11:                                 ; preds = %.preheader133.10
  %278 = tail call i32 @RotateLeft(i32 noundef %275, i8 noundef zeroext 32)
  %279 = load i32, ptr %161, align 4, !tbaa !5
  %280 = xor i32 %278, %279
  %.not128.11 = icmp eq i32 %280, -1
  br i1 %.not128.11, label %.preheader133.12, label %.loopexit

.preheader133.12:                                 ; preds = %.preheader133.11
  %281 = tail call i32 @RotateLeft(i32 noundef %278, i8 noundef zeroext 32)
  %282 = load i32, ptr %162, align 4, !tbaa !5
  %283 = xor i32 %281, %282
  %.not128.12 = icmp eq i32 %283, -1
  br i1 %.not128.12, label %.preheader133.13, label %.loopexit

.preheader133.13:                                 ; preds = %.preheader133.12
  %284 = tail call i32 @RotateLeft(i32 noundef %281, i8 noundef zeroext 32)
  %285 = load i32, ptr %163, align 4, !tbaa !5
  %286 = xor i32 %284, %285
  %.not128.13 = icmp eq i32 %286, -1
  br i1 %.not128.13, label %.preheader133.14, label %.loopexit

.preheader133.14:                                 ; preds = %.preheader133.13
  %287 = tail call i32 @RotateLeft(i32 noundef %284, i8 noundef zeroext 32)
  %288 = load i32, ptr %164, align 4, !tbaa !5
  %289 = xor i32 %287, %288
  %.not128.14 = icmp eq i32 %289, -1
  br i1 %.not128.14, label %.preheader133.15, label %.loopexit

.preheader133.15:                                 ; preds = %.preheader133.14
  %290 = tail call i32 @RotateLeft(i32 noundef %287, i8 noundef zeroext 32)
  %291 = load i32, ptr %165, align 4, !tbaa !5
  %292 = xor i32 %290, %291
  %.not128.15 = icmp eq i32 %292, -1
  br i1 %.not128.15, label %.preheader133.16, label %.loopexit

.preheader133.16:                                 ; preds = %.preheader133.15
  %293 = tail call i32 @RotateLeft(i32 noundef %290, i8 noundef zeroext 32)
  %294 = load i32, ptr %166, align 4, !tbaa !5
  %295 = xor i32 %293, %294
  %.not128.16 = icmp eq i32 %295, -1
  br i1 %.not128.16, label %.preheader133.17, label %.loopexit

.preheader133.17:                                 ; preds = %.preheader133.16
  %296 = tail call i32 @RotateLeft(i32 noundef %293, i8 noundef zeroext 32)
  %297 = load i32, ptr %167, align 4, !tbaa !5
  %298 = xor i32 %296, %297
  %.not128.17 = icmp eq i32 %298, -1
  br i1 %.not128.17, label %.preheader133.18, label %.loopexit

.preheader133.18:                                 ; preds = %.preheader133.17
  %299 = tail call i32 @RotateLeft(i32 noundef %296, i8 noundef zeroext 32)
  %300 = load i32, ptr %168, align 4, !tbaa !5
  %301 = xor i32 %299, %300
  %.not128.18 = icmp eq i32 %301, -1
  br i1 %.not128.18, label %.preheader133.19, label %.loopexit

.preheader133.19:                                 ; preds = %.preheader133.18
  %302 = tail call i32 @RotateLeft(i32 noundef %299, i8 noundef zeroext 32)
  %303 = load i32, ptr %169, align 4, !tbaa !5
  %304 = xor i32 %302, %303
  %.not128.19 = icmp eq i32 %304, -1
  br i1 %.not128.19, label %.preheader133.20, label %.loopexit

.preheader133.20:                                 ; preds = %.preheader133.19
  %305 = tail call i32 @RotateLeft(i32 noundef %302, i8 noundef zeroext 32)
  %306 = load i32, ptr %170, align 4, !tbaa !5
  %307 = xor i32 %305, %306
  %.not128.20 = icmp eq i32 %307, -1
  br i1 %.not128.20, label %.preheader133.21, label %.loopexit

.preheader133.21:                                 ; preds = %.preheader133.20
  %308 = tail call i32 @RotateLeft(i32 noundef %305, i8 noundef zeroext 32)
  %309 = load i32, ptr %171, align 4, !tbaa !5
  %310 = xor i32 %308, %309
  %.not128.21 = icmp eq i32 %310, -1
  br i1 %.not128.21, label %.preheader133.22, label %.loopexit

.preheader133.22:                                 ; preds = %.preheader133.21
  %311 = tail call i32 @RotateLeft(i32 noundef %308, i8 noundef zeroext 32)
  %312 = load i32, ptr %172, align 4, !tbaa !5
  %313 = xor i32 %311, %312
  %.not128.22 = icmp eq i32 %313, -1
  br i1 %.not128.22, label %.preheader133.23, label %.loopexit

.preheader133.23:                                 ; preds = %.preheader133.22
  %314 = tail call i32 @RotateLeft(i32 noundef %311, i8 noundef zeroext 32)
  %315 = load i32, ptr %173, align 4, !tbaa !5
  %316 = xor i32 %314, %315
  %.not128.23 = icmp eq i32 %316, -1
  br i1 %.not128.23, label %.preheader133.24, label %.loopexit

.preheader133.24:                                 ; preds = %.preheader133.23
  %317 = tail call i32 @RotateLeft(i32 noundef %314, i8 noundef zeroext 32)
  %318 = load i32, ptr %174, align 4, !tbaa !5
  %319 = xor i32 %317, %318
  %.not128.24 = icmp eq i32 %319, -1
  br i1 %.not128.24, label %.preheader133.25, label %.loopexit

.preheader133.25:                                 ; preds = %.preheader133.24
  %320 = tail call i32 @RotateLeft(i32 noundef %317, i8 noundef zeroext 32)
  %321 = load i32, ptr %175, align 4, !tbaa !5
  %322 = xor i32 %320, %321
  %.not128.25 = icmp eq i32 %322, -1
  br i1 %.not128.25, label %.preheader133.26, label %.loopexit

.preheader133.26:                                 ; preds = %.preheader133.25
  %323 = tail call i32 @RotateLeft(i32 noundef %320, i8 noundef zeroext 32)
  %324 = load i32, ptr %176, align 4, !tbaa !5
  %325 = xor i32 %323, %324
  %.not128.26 = icmp eq i32 %325, -1
  br i1 %.not128.26, label %.preheader133.27, label %.loopexit

.preheader133.27:                                 ; preds = %.preheader133.26
  %326 = tail call i32 @RotateLeft(i32 noundef %323, i8 noundef zeroext 32)
  %327 = load i32, ptr %177, align 4, !tbaa !5
  %328 = xor i32 %326, %327
  %.not128.27 = icmp eq i32 %328, -1
  br i1 %.not128.27, label %.preheader133.28, label %.loopexit

.preheader133.28:                                 ; preds = %.preheader133.27
  %329 = tail call i32 @RotateLeft(i32 noundef %326, i8 noundef zeroext 32)
  %330 = load i32, ptr %178, align 4, !tbaa !5
  %331 = xor i32 %329, %330
  %.not128.28 = icmp eq i32 %331, -1
  br i1 %.not128.28, label %.preheader133.29, label %.loopexit

.preheader133.29:                                 ; preds = %.preheader133.28
  %332 = tail call i32 @RotateLeft(i32 noundef %329, i8 noundef zeroext 32)
  %333 = load i32, ptr %179, align 4, !tbaa !5
  %334 = xor i32 %332, %333
  %.not128.29 = icmp eq i32 %334, -1
  br i1 %.not128.29, label %.preheader133.30, label %.loopexit

.preheader133.30:                                 ; preds = %.preheader133.29
  %335 = tail call i32 @RotateLeft(i32 noundef %332, i8 noundef zeroext 32)
  %336 = load i32, ptr %180, align 4, !tbaa !5
  %337 = xor i32 %335, %336
  %.not128.30 = icmp eq i32 %337, -1
  br i1 %.not128.30, label %.preheader133.31, label %.loopexit

.preheader133.31:                                 ; preds = %.preheader133.30
  %338 = tail call i32 @RotateLeft(i32 noundef %335, i8 noundef zeroext 32)
  %339 = load i32, ptr %181, align 4, !tbaa !5
  %340 = xor i32 %338, %339
  %.not128.31 = icmp eq i32 %340, -1
  br i1 %.not128.31, label %341, label %.loopexit

341:                                              ; preds = %.preheader133.31
  %342 = tail call i32 @RotateLeft(i32 noundef %338, i8 noundef zeroext 32)
  %343 = add nuw nsw i32 %.1113154, 1
  %exitcond186.not = icmp eq i32 %343, 32
  br i1 %exitcond186.not, label %344, label %.preheader133.preheader, !llvm.loop !16

344:                                              ; preds = %341
  switch i8 %3, label %.loopexit [
    i8 4, label %345
    i8 0, label %345
    i8 5, label %388
  ]

345:                                              ; preds = %.loopexit138, %149, %344, %344
  %umax = tail call i32 @llvm.umax.i32(i32 %1, i32 1)
  %wide.trip.count190 = zext i32 %umax to i64
  %min.iters.check220 = icmp ult i32 %1, 8
  br i1 %min.iters.check220, label %scalar.ph219.preheader, label %vector.ph221

vector.ph221:                                     ; preds = %345
  %n.vec223 = and i64 %wide.trip.count190, 4294967288
  br label %vector.body225

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

middle.block218:                                  ; preds = %vector.body225
  %cmp.n228 = icmp eq i64 %n.vec223, %wide.trip.count190
  br i1 %cmp.n228, label %.preheader131.preheader, label %scalar.ph219.preheader

scalar.ph219.preheader:                           ; preds = %middle.block218, %345
  %indvars.iv187.ph = phi i64 [ 0, %345 ], [ %n.vec223, %middle.block218 ]
  br label %scalar.ph219

scalar.ph219:                                     ; preds = %scalar.ph219.preheader, %scalar.ph219
  %indvars.iv187 = phi i64 [ %indvars.iv.next188, %scalar.ph219 ], [ %indvars.iv187.ph, %scalar.ph219.preheader ]
  %377 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv187
  %378 = ptrtoint ptr %377 to i64
  %379 = trunc i64 %378 to i32
  %380 = xor i32 %379, -1
  store i32 %380, ptr %377, align 4, !tbaa !5
  %indvars.iv.next188 = add nuw nsw i64 %indvars.iv187, 1
  %exitcond191.not = icmp eq i64 %indvars.iv.next188, %wide.trip.count190
  br i1 %exitcond191.not, label %.preheader131.preheader, label %scalar.ph219, !llvm.loop !18

.preheader131.preheader:                          ; preds = %scalar.ph219, %middle.block218
  br label %.preheader131

381:                                              ; preds = %.preheader131
  %indvars.iv.next193 = add nuw nsw i64 %indvars.iv192, 1
  %exitcond196.not = icmp eq i64 %indvars.iv.next193, %wide.trip.count190
  br i1 %exitcond196.not, label %387, label %.preheader131, !llvm.loop !19

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

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

388:                                              ; preds = %.loopexit138, %149, %344, %387, %387
  %389 = icmp eq i32 %2, 0
  %. = select i1 %389, i32 -559038737, i32 %2
  %umax200 = tail call i32 @llvm.umax.i32(i32 %1, i32 1)
  %wide.trip.count201 = zext i32 %umax200 to i64
  %min.iters.check231 = icmp ult i32 %1, 8
  br i1 %min.iters.check231, label %scalar.ph230.preheader, label %vector.ph232

vector.ph232:                                     ; preds = %388
  %n.vec234 = and i64 %wide.trip.count201, 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.body236

vector.body236:                                   ; preds = %vector.body236, %vector.ph232
  %index237 = phi i64 [ 0, %vector.ph232 ], [ %index.next238, %vector.body236 ]
  %390 = getelementptr inbounds i32, ptr %0, i64 %index237
  %391 = getelementptr inbounds i8, ptr %390, i64 16
  store <4 x i32> %broadcast.splat, ptr %390, align 4, !tbaa !5
  store <4 x i32> %broadcast.splat, ptr %391, align 4, !tbaa !5
  %index.next238 = add nuw i64 %index237, 8
  %392 = icmp eq i64 %index.next238, %n.vec234
  br i1 %392, label %middle.block229, label %vector.body236, !llvm.loop !20

middle.block229:                                  ; preds = %vector.body236
  %cmp.n239 = icmp eq i64 %n.vec234, %wide.trip.count201
  br i1 %cmp.n239, label %.preheader.preheader, label %scalar.ph230.preheader

scalar.ph230.preheader:                           ; preds = %middle.block229, %388
  %indvars.iv197.ph = phi i64 [ 0, %388 ], [ %n.vec234, %middle.block229 ]
  br label %scalar.ph230

scalar.ph230:                                     ; preds = %scalar.ph230.preheader, %scalar.ph230
  %indvars.iv197 = phi i64 [ %indvars.iv.next198, %scalar.ph230 ], [ %indvars.iv197.ph, %scalar.ph230.preheader ]
  %393 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv197
  store i32 %., ptr %393, align 4, !tbaa !5
  %indvars.iv.next198 = add nuw nsw i64 %indvars.iv197, 1
  %exitcond202.not = icmp eq i64 %indvars.iv.next198, %wide.trip.count201
  br i1 %exitcond202.not, label %.preheader.preheader, label %scalar.ph230, !llvm.loop !21

.preheader.preheader:                             ; preds = %scalar.ph230, %middle.block229
  br label %.preheader

394:                                              ; preds = %.preheader
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %exitcond207.not = icmp eq i64 %indvars.iv.next204, %wide.trip.count201
  br i1 %exitcond207.not, label %.loopexit, label %.preheader, !llvm.loop !22

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

.loopexit.sink.split:                             ; preds = %7, %5, %4
  %.sink = phi i32 [ 98, %4 ], [ 99, %5 ], [ 100, %7 ]
  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 = %.preheader137, %.preheader135.preheader, %.preheader135.1, %.preheader135.2, %.preheader135.3, %.preheader135.4, %.preheader135.5, %.preheader135.6, %.preheader135.7, %.preheader135.8, %.preheader135.9, %.preheader135.10, %.preheader135.11, %.preheader135.12, %.preheader135.13, %.preheader135.14, %.preheader135.15, %.preheader135.16, %.preheader135.17, %.preheader135.18, %.preheader135.19, %.preheader135.20, %.preheader135.21, %.preheader135.22, %.preheader135.23, %.preheader135.24, %.preheader135.25, %.preheader135.26, %.preheader135.27, %.preheader135.28, %.preheader135.29, %.preheader135.30, %.preheader135.31, %.preheader133.preheader, %.preheader133.1, %.preheader133.2, %.preheader133.3, %.preheader133.4, %.preheader133.5, %.preheader133.6, %.preheader133.7, %.preheader133.8, %.preheader133.9, %.preheader133.10, %.preheader133.11, %.preheader133.12, %.preheader133.13, %.preheader133.14, %.preheader133.15, %.preheader133.16, %.preheader133.17, %.preheader133.18, %.preheader133.19, %.preheader133.20, %.preheader133.21, %.preheader133.22, %.preheader133.23, %.preheader133.24, %.preheader133.25, %.preheader133.26, %.preheader133.27, %.preheader133.28, %.preheader133.29, %.preheader133.30, %.preheader133.31, %.preheader131, %394, %.preheader, %.loopexit.sink.split, %.loopexit138, %149, %344, %387
  %.0110 = phi i32 [ 0, %387 ], [ 0, %344 ], [ 0, %149 ], [ 0, %.loopexit138 ], [ 0, %.loopexit.sink.split ], [ -1, %.preheader ], [ 0, %394 ], [ -1, %.preheader131 ], [ -1, %.preheader133.31 ], [ -1, %.preheader133.30 ], [ -1, %.preheader133.29 ], [ -1, %.preheader133.28 ], [ -1, %.preheader133.27 ], [ -1, %.preheader133.26 ], [ -1, %.preheader133.25 ], [ -1, %.preheader133.24 ], [ -1, %.preheader133.23 ], [ -1, %.preheader133.22 ], [ -1, %.preheader133.21 ], [ -1, %.preheader133.20 ], [ -1, %.preheader133.19 ], [ -1, %.preheader133.18 ], [ -1, %.preheader133.17 ], [ -1, %.preheader133.16 ], [ -1, %.preheader133.15 ], [ -1, %.preheader133.14 ], [ -1, %.preheader133.13 ], [ -1, %.preheader133.12 ], [ -1, %.preheader133.11 ], [ -1, %.preheader133.10 ], [ -1, %.preheader133.9 ], [ -1, %.preheader133.8 ], [ -1, %.preheader133.7 ], [ -1, %.preheader133.6 ], [ -1, %.preheader133.5 ], [ -1, %.preheader133.4 ], [ -1, %.preheader133.3 ], [ -1, %.preheader133.2 ], [ -1, %.preheader133.1 ], [ -1, %.preheader133.preheader ], [ -1, %.preheader135.31 ], [ -1, %.preheader135.30 ], [ -1, %.preheader135.29 ], [ -1, %.preheader135.28 ], [ -1, %.preheader135.27 ], [ -1, %.preheader135.26 ], [ -1, %.preheader135.25 ], [ -1, %.preheader135.24 ], [ -1, %.preheader135.23 ], [ -1, %.preheader135.22 ], [ -1, %.preheader135.21 ], [ -1, %.preheader135.20 ], [ -1, %.preheader135.19 ], [ -1, %.preheader135.18 ], [ -1, %.preheader135.17 ], [ -1, %.preheader135.16 ], [ -1, %.preheader135.15 ], [ -1, %.preheader135.14 ], [ -1, %.preheader135.13 ], [ -1, %.preheader135.12 ], [ -1, %.preheader135.11 ], [ -1, %.preheader135.10 ], [ -1, %.preheader135.9 ], [ -1, %.preheader135.8 ], [ -1, %.preheader135.7 ], [ -1, %.preheader135.6 ], [ -1, %.preheader135.5 ], [ -1, %.preheader135.4 ], [ -1, %.preheader135.3 ], [ -1, %.preheader135.2 ], [ -1, %.preheader135.1 ], [ -1, %.preheader135.preheader ], [ -1, %.preheader137 ]
  ret i32 %.0110
}

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