; LLVM IR from jermp/2i_bench :: external/CRoaring/tests (toplevel_unit)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.2 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__.test_iterator_generate_data = external hidden unnamed_addr constant [58 x i8], align 1

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

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

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @test_iterator_generate_data(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %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
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i64 1000000, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %19 = call noalias ptr @malloc(i64 noundef 4000000) #6
  store ptr %19, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1234, ptr %8, align 4, !tbaa !11
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = load i32, ptr %7, align 4, !tbaa !11
  %22 = add i32 %21, 1
  store i32 %22, ptr %7, align 4, !tbaa !11
  %23 = zext i32 %21 to i64
  %24 = getelementptr inbounds i32, ptr %20, i64 %23
  store i32 0, ptr %24, align 4, !tbaa !11
  %25 = load i32, ptr %8, align 4, !tbaa !11
  %26 = mul i32 %25, 65536
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = load i32, ptr %7, align 4, !tbaa !11
  %29 = add i32 %28, 1
  store i32 %29, ptr %7, align 4, !tbaa !11
  %30 = zext i32 %28 to i64
  %31 = getelementptr inbounds i32, ptr %27, i64 %30
  store i32 %26, ptr %31, align 4, !tbaa !11
  %32 = load i32, ptr %8, align 4, !tbaa !11
  %33 = add i32 %32, 2
  store i32 %33, ptr %8, align 4, !tbaa !11
  %34 = load i32, ptr %8, align 4, !tbaa !11
  %35 = mul i32 %34, 65536
  %36 = add i32 %35, 65535
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = load i32, ptr %7, align 4, !tbaa !11
  %39 = add i32 %38, 1
  store i32 %39, ptr %7, align 4, !tbaa !11
  %40 = zext i32 %38 to i64
  %41 = getelementptr inbounds i32, ptr %37, i64 %40
  store i32 %36, ptr %41, align 4, !tbaa !11
  %42 = load i32, ptr %8, align 4, !tbaa !11
  %43 = add i32 %42, 2
  store i32 %43, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %44

44:                                               ; preds = %58, %2
  %45 = load i32, ptr %9, align 4, !tbaa !11
  %46 = icmp ult i32 %45, 65536
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %61

48:                                               ; preds = %44
  %49 = load i32, ptr %8, align 4, !tbaa !11
  %50 = mul i32 %49, 65536
  %51 = load i32, ptr %9, align 4, !tbaa !11
  %52 = add i32 %50, %51
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load i32, ptr %7, align 4, !tbaa !11
  %55 = add i32 %54, 1
  store i32 %55, ptr %7, align 4, !tbaa !11
  %56 = zext i32 %54 to i64
  %57 = getelementptr inbounds i32, ptr %53, i64 %56
  store i32 %52, ptr %57, align 4, !tbaa !11
  br label %58

58:                                               ; preds = %48
  %59 = load i32, ptr %9, align 4, !tbaa !11
  %60 = add i32 %59, 1
  store i32 %60, ptr %9, align 4, !tbaa !11
  br label %44, !llvm.loop !13

61:                                               ; preds = %47
  %62 = load i32, ptr %8, align 4, !tbaa !11
  %63 = add i32 %62, 2
  store i32 %63, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %64

64:                                               ; preds = %78, %61
  %65 = load i32, ptr %10, align 4, !tbaa !11
  %66 = icmp ult i32 %65, 65536
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %81

68:                                               ; preds = %64
  %69 = load i32, ptr %8, align 4, !tbaa !11
  %70 = mul i32 %69, 65536
  %71 = load i32, ptr %10, align 4, !tbaa !11
  %72 = add i32 %70, %71
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load i32, ptr %7, align 4, !tbaa !11
  %75 = add i32 %74, 1
  store i32 %75, ptr %7, align 4, !tbaa !11
  %76 = zext i32 %74 to i64
  %77 = getelementptr inbounds i32, ptr %73, i64 %76
  store i32 %72, ptr %77, align 4, !tbaa !11
  br label %78

78:                                               ; preds = %68
  %79 = load i32, ptr %10, align 4, !tbaa !11
  %80 = add i32 %79, 2
  store i32 %80, ptr %10, align 4, !tbaa !11
  br label %64, !llvm.loop !15

81:                                               ; preds = %67
  %82 = load i32, ptr %8, align 4, !tbaa !11
  %83 = add i32 %82, 2
  store i32 %83, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !11
  br label %84

84:                                               ; preds = %98, %81
  %85 = load i32, ptr %11, align 4, !tbaa !11
  %86 = icmp ult i32 %85, 65536
  br i1 %86, label %88, label %87

87:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %101

88:                                               ; preds = %84
  %89 = load i32, ptr %8, align 4, !tbaa !11
  %90 = mul i32 %89, 65536
  %91 = load i32, ptr %11, align 4, !tbaa !11
  %92 = add i32 %90, %91
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = load i32, ptr %7, align 4, !tbaa !11
  %95 = add i32 %94, 1
  store i32 %95, ptr %7, align 4, !tbaa !11
  %96 = zext i32 %94 to i64
  %97 = getelementptr inbounds i32, ptr %93, i64 %96
  store i32 %92, ptr %97, align 4, !tbaa !11
  br label %98

98:                                               ; preds = %88
  %99 = load i32, ptr %11, align 4, !tbaa !11
  %100 = add i32 %99, 2
  store i32 %100, ptr %11, align 4, !tbaa !11
  br label %84, !llvm.loop !16

101:                                              ; preds = %87
  %102 = load i32, ptr %8, align 4, !tbaa !11
  %103 = add i32 %102, 2
  store i32 %103, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %104

104:                                              ; preds = %118, %101
  %105 = load i32, ptr %12, align 4, !tbaa !11
  %106 = icmp ult i32 %105, 65536
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %121

108:                                              ; preds = %104
  %109 = load i32, ptr %8, align 4, !tbaa !11
  %110 = mul i32 %109, 65536
  %111 = load i32, ptr %12, align 4, !tbaa !11
  %112 = add i32 %110, %111
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load i32, ptr %7, align 4, !tbaa !11
  %115 = add i32 %114, 1
  store i32 %115, ptr %7, align 4, !tbaa !11
  %116 = zext i32 %114 to i64
  %117 = getelementptr inbounds i32, ptr %113, i64 %116
  store i32 %112, ptr %117, align 4, !tbaa !11
  br label %118

118:                                              ; preds = %108
  %119 = load i32, ptr %12, align 4, !tbaa !11
  %120 = add i32 %119, 65
  store i32 %120, ptr %12, align 4, !tbaa !11
  br label %104, !llvm.loop !17

121:                                              ; preds = %107
  %122 = load i32, ptr %8, align 4, !tbaa !11
  %123 = add i32 %122, 2
  store i32 %123, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %124

124:                                              ; preds = %152, %121
  %125 = load i32, ptr %13, align 4, !tbaa !11
  %126 = icmp ult i32 %125, 65536
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %155

128:                                              ; preds = %124
  %129 = load i32, ptr %13, align 4, !tbaa !11
  %130 = load i32, ptr %14, align 4, !tbaa !11
  %131 = add i32 %130, 1
  %132 = load i32, ptr %14, align 4, !tbaa !11
  %133 = add i32 %132, 2
  %134 = mul i32 %131, %133
  %135 = udiv i32 %134, 2
  %136 = sub i32 %135, 1
  %137 = icmp ne i32 %129, %136
  br i1 %137, label %138, label %148

138:                                              ; preds = %128
  %139 = load i32, ptr %8, align 4, !tbaa !11
  %140 = mul i32 %139, 65536
  %141 = load i32, ptr %13, align 4, !tbaa !11
  %142 = add i32 %140, %141
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = load i32, ptr %7, align 4, !tbaa !11
  %145 = add i32 %144, 1
  store i32 %145, ptr %7, align 4, !tbaa !11
  %146 = zext i32 %144 to i64
  %147 = getelementptr inbounds i32, ptr %143, i64 %146
  store i32 %142, ptr %147, align 4, !tbaa !11
  br label %151

148:                                              ; preds = %128
  %149 = load i32, ptr %14, align 4, !tbaa !11
  %150 = add i32 %149, 1
  store i32 %150, ptr %14, align 4, !tbaa !11
  br label %151

151:                                              ; preds = %148, %138
  br label %152

152:                                              ; preds = %151
  %153 = load i32, ptr %13, align 4, !tbaa !11
  %154 = add i32 %153, 1
  store i32 %154, ptr %13, align 4, !tbaa !11
  br label %124, !llvm.loop !18

155:                                              ; preds = %127
  %156 = load i32, ptr %8, align 4, !tbaa !11
  %157 = add i32 %156, 2
  store i32 %157, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 65436, ptr %15, align 4, !tbaa !11
  br label %158

158:                                              ; preds = %172, %155
  %159 = load i32, ptr %15, align 4, !tbaa !11
  %160 = icmp ult i32 %159, 65536
  br i1 %160, label %162, label %161

161:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %175

162:                                              ; preds = %158
  %163 = load i32, ptr %8, align 4, !tbaa !11
  %164 = mul i32 %163, 65536
  %165 = load i32, ptr %15, align 4, !tbaa !11
  %166 = add i32 %164, %165
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = load i32, ptr %7, align 4, !tbaa !11
  %169 = add i32 %168, 1
  store i32 %169, ptr %7, align 4, !tbaa !11
  %170 = zext i32 %168 to i64
  %171 = getelementptr inbounds i32, ptr %167, i64 %170
  store i32 %166, ptr %171, align 4, !tbaa !11
  br label %172

172:                                              ; preds = %162
  %173 = load i32, ptr %15, align 4, !tbaa !11
  %174 = add i32 %173, 1
  store i32 %174, ptr %15, align 4, !tbaa !11
  br label %158, !llvm.loop !19

175:                                              ; preds = %161
  %176 = load i32, ptr %8, align 4, !tbaa !11
  %177 = add i32 %176, 1
  store i32 %177, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %178

178:                                              ; preds = %192, %175
  %179 = load i32, ptr %16, align 4, !tbaa !11
  %180 = icmp ult i32 %179, 65536
  br i1 %180, label %182, label %181

181:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %195

182:                                              ; preds = %178
  %183 = load i32, ptr %8, align 4, !tbaa !11
  %184 = mul i32 %183, 65536
  %185 = load i32, ptr %16, align 4, !tbaa !11
  %186 = add i32 %184, %185
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = load i32, ptr %7, align 4, !tbaa !11
  %189 = add i32 %188, 1
  store i32 %189, ptr %7, align 4, !tbaa !11
  %190 = zext i32 %188 to i64
  %191 = getelementptr inbounds i32, ptr %187, i64 %190
  store i32 %186, ptr %191, align 4, !tbaa !11
  br label %192

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

195:                                              ; preds = %181
  %196 = load i32, ptr %8, align 4, !tbaa !11
  %197 = add i32 %196, 1
  store i32 %197, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %198

198:                                              ; preds = %212, %195
  %199 = load i32, ptr %17, align 4, !tbaa !11
  %200 = icmp ult i32 %199, 100
  br i1 %200, label %202, label %201

201:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %215

202:                                              ; preds = %198
  %203 = load i32, ptr %8, align 4, !tbaa !11
  %204 = mul i32 %203, 65536
  %205 = load i32, ptr %17, align 4, !tbaa !11
  %206 = add i32 %204, %205
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = load i32, ptr %7, align 4, !tbaa !11
  %209 = add i32 %208, 1
  store i32 %209, ptr %7, align 4, !tbaa !11
  %210 = zext i32 %208 to i64
  %211 = getelementptr inbounds i32, ptr %207, i64 %210
  store i32 %206, ptr %211, align 4, !tbaa !11
  br label %212

212:                                              ; preds = %202
  %213 = load i32, ptr %17, align 4, !tbaa !11
  %214 = add i32 %213, 1
  store i32 %214, ptr %17, align 4, !tbaa !11
  br label %198, !llvm.loop !21

215:                                              ; preds = %201
  %216 = load i32, ptr %8, align 4, !tbaa !11
  %217 = add i32 %216, 2
  store i32 %217, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %218

218:                                              ; preds = %232, %215
  %219 = load i32, ptr %18, align 4, !tbaa !11
  %220 = icmp slt i32 %219, 65536
  br i1 %220, label %222, label %221

221:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %238

222:                                              ; preds = %218
  %223 = load i32, ptr %8, align 4, !tbaa !11
  %224 = mul i32 %223, 65536
  %225 = load i32, ptr %18, align 4, !tbaa !11
  %226 = add i32 %224, %225
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = load i32, ptr %7, align 4, !tbaa !11
  %229 = add i32 %228, 1
  store i32 %229, ptr %7, align 4, !tbaa !11
  %230 = zext i32 %228 to i64
  %231 = getelementptr inbounds i32, ptr %227, i64 %230
  store i32 %226, ptr %231, align 4, !tbaa !11
  br label %232

232:                                              ; preds = %222
  %233 = call i32 @our_rand()
  %234 = urem i32 %233, 10
  %235 = add i32 %234, 1
  %236 = load i32, ptr %18, align 4, !tbaa !11
  %237 = add i32 %236, %235
  store i32 %237, ptr %18, align 4, !tbaa !11
  br label %218, !llvm.loop !22

238:                                              ; preds = %221
  %239 = load i32, ptr %8, align 4, !tbaa !11
  %240 = add i32 %239, 2
  store i32 %240, ptr %8, align 4, !tbaa !11
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = load i32, ptr %7, align 4, !tbaa !11
  %243 = add i32 %242, 1
  store i32 %243, ptr %7, align 4, !tbaa !11
  %244 = zext i32 %242 to i64
  %245 = getelementptr inbounds i32, ptr %241, i64 %244
  store i32 -1, ptr %245, align 4, !tbaa !11
  %246 = load i32, ptr %7, align 4, !tbaa !11
  %247 = zext i32 %246 to i64
  %248 = icmp ule i64 %247, 1000000
  br i1 %248, label %249, label %250

249:                                              ; preds = %238
  br label %251

250:                                              ; preds = %238
  call void @__assert_fail(ptr noundef @.str.138, ptr noundef @.str.2, i32 noundef 3386, ptr noundef @__PRETTY_FUNCTION__.test_iterator_generate_data) #7
  unreachable

251:                                              ; preds = %249
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %252, ptr %253, align 8, !tbaa !5
  %254 = load i32, ptr %7, align 4, !tbaa !11
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  store i32 %254, ptr %255, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @our_rand() #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.2 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__.test_iterator_generate_data = external hidden unnamed_addr constant [58 x i8], align 1

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @test_iterator_generate_data(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #2 {
vector.ph:
  %2 = tail call noalias dereferenceable_or_null(4000000) ptr @malloc(i64 noundef 4000000) #4
  store i32 0, ptr %2, align 4, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 80871424, ptr %3, align 4, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %2, i64 8
  store i32 81068031, ptr %4, align 4, !tbaa !5
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next.1, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next.1, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %offset.idx = or disjoint i64 %index, 3
  %5 = or disjoint <4 x i32> %vec.ind, <i32 81133568, i32 81133568, i32 81133568, i32 81133568>
  %6 = or disjoint <4 x i32> %step.add, <i32 81133568, i32 81133568, i32 81133568, i32 81133568>
  %7 = getelementptr inbounds i32, ptr %2, i64 %offset.idx
  %8 = getelementptr inbounds i8, ptr %7, i64 16
  store <4 x i32> %5, ptr %7, align 4, !tbaa !5
  store <4 x i32> %6, ptr %8, align 4, !tbaa !5
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %step.add.1 = add <4 x i32> %vec.ind, <i32 12, i32 12, i32 12, i32 12>
  %offset.idx.1 = or disjoint i64 %index, 11
  %9 = or disjoint <4 x i32> %vec.ind.next, <i32 81133568, i32 81133568, i32 81133568, i32 81133568>
  %10 = or disjoint <4 x i32> %step.add.1, <i32 81133568, i32 81133568, i32 81133568, i32 81133568>
  %11 = getelementptr inbounds i32, ptr %2, i64 %offset.idx.1
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  store <4 x i32> %9, ptr %11, align 4, !tbaa !5
  store <4 x i32> %10, ptr %12, align 4, !tbaa !5
  %index.next.1 = add nuw nsw i64 %index, 16
  %vec.ind.next.1 = add <4 x i32> %vec.ind, <i32 16, i32 16, i32 16, i32 16>
  %13 = icmp eq i64 %index.next.1, 65536
  br i1 %13, label %vector.body157, label %vector.body, !llvm.loop !9

vector.body157:                                   ; preds = %vector.body, %vector.body157
  %index158 = phi i64 [ %index.next164.1, %vector.body157 ], [ 0, %vector.body ]
  %vec.ind159 = phi <4 x i32> [ %vec.ind.next162.1, %vector.body157 ], [ <i32 0, i32 2, i32 4, i32 6>, %vector.body ]
  %step.add160 = add <4 x i32> %vec.ind159, <i32 8, i32 8, i32 8, i32 8>
  %14 = or disjoint <4 x i32> %vec.ind159, <i32 81264640, i32 81264640, i32 81264640, i32 81264640>
  %15 = or disjoint <4 x i32> %step.add160, <i32 81264640, i32 81264640, i32 81264640, i32 81264640>
  %16 = getelementptr i32, ptr %2, i64 %index158
  %17 = getelementptr i8, ptr %16, i64 262156
  %18 = getelementptr i8, ptr %16, i64 262172
  store <4 x i32> %14, ptr %17, align 4, !tbaa !5
  store <4 x i32> %15, ptr %18, align 4, !tbaa !5
  %index.next164 = or disjoint i64 %index158, 8
  %vec.ind.next162 = add <4 x i32> %vec.ind159, <i32 16, i32 16, i32 16, i32 16>
  %step.add160.1 = add <4 x i32> %vec.ind159, <i32 24, i32 24, i32 24, i32 24>
  %19 = or disjoint <4 x i32> %vec.ind.next162, <i32 81264640, i32 81264640, i32 81264640, i32 81264640>
  %20 = or disjoint <4 x i32> %step.add160.1, <i32 81264640, i32 81264640, i32 81264640, i32 81264640>
  %21 = getelementptr i32, ptr %2, i64 %index.next164
  %22 = getelementptr i8, ptr %21, i64 262156
  %23 = getelementptr i8, ptr %21, i64 262172
  store <4 x i32> %19, ptr %22, align 4, !tbaa !5
  store <4 x i32> %20, ptr %23, align 4, !tbaa !5
  %index.next164.1 = add nuw nsw i64 %index158, 16
  %vec.ind.next162.1 = add <4 x i32> %vec.ind159, <i32 32, i32 32, i32 32, i32 32>
  %24 = icmp eq i64 %index.next164.1, 32768
  br i1 %24, label %vector.body170, label %vector.body157, !llvm.loop !13

vector.body170:                                   ; preds = %vector.body157, %vector.body170
  %index171 = phi i64 [ %index.next177.1, %vector.body170 ], [ 0, %vector.body157 ]
  %vec.ind172 = phi <4 x i32> [ %vec.ind.next175.1, %vector.body170 ], [ <i32 1, i32 3, i32 5, i32 7>, %vector.body157 ]
  %step.add173 = add <4 x i32> %vec.ind172, <i32 8, i32 8, i32 8, i32 8>
  %25 = or disjoint <4 x i32> %vec.ind172, <i32 81395712, i32 81395712, i32 81395712, i32 81395712>
  %26 = or disjoint <4 x i32> %step.add173, <i32 81395712, i32 81395712, i32 81395712, i32 81395712>
  %27 = getelementptr i32, ptr %2, i64 %index171
  %28 = getelementptr i8, ptr %27, i64 393228
  %29 = getelementptr i8, ptr %27, i64 393244
  store <4 x i32> %25, ptr %28, align 4, !tbaa !5
  store <4 x i32> %26, ptr %29, align 4, !tbaa !5
  %index.next177 = or disjoint i64 %index171, 8
  %vec.ind.next175 = add <4 x i32> %vec.ind172, <i32 16, i32 16, i32 16, i32 16>
  %step.add173.1 = add <4 x i32> %vec.ind172, <i32 24, i32 24, i32 24, i32 24>
  %30 = or disjoint <4 x i32> %vec.ind.next175, <i32 81395712, i32 81395712, i32 81395712, i32 81395712>
  %31 = or disjoint <4 x i32> %step.add173.1, <i32 81395712, i32 81395712, i32 81395712, i32 81395712>
  %32 = getelementptr i32, ptr %2, i64 %index.next177
  %33 = getelementptr i8, ptr %32, i64 393228
  %34 = getelementptr i8, ptr %32, i64 393244
  store <4 x i32> %30, ptr %33, align 4, !tbaa !5
  store <4 x i32> %31, ptr %34, align 4, !tbaa !5
  %index.next177.1 = add nuw nsw i64 %index171, 16
  %vec.ind.next175.1 = add <4 x i32> %vec.ind172, <i32 32, i32 32, i32 32, i32 32>
  %35 = icmp eq i64 %index.next177.1, 32768
  br i1 %35, label %vector.body183, label %vector.body170, !llvm.loop !14

vector.body183:                                   ; preds = %vector.body170, %vector.body183
  %index184 = phi i64 [ %index.next190.2, %vector.body183 ], [ 0, %vector.body170 ]
  %vec.ind185 = phi <4 x i32> [ %vec.ind.next188.2, %vector.body183 ], [ <i32 0, i32 65, i32 130, i32 195>, %vector.body170 ]
  %step.add186 = add <4 x i32> %vec.ind185, <i32 260, i32 260, i32 260, i32 260>
  %36 = or disjoint <4 x i32> %vec.ind185, <i32 81526784, i32 81526784, i32 81526784, i32 81526784>
  %37 = or disjoint <4 x i32> %step.add186, <i32 81526784, i32 81526784, i32 81526784, i32 81526784>
  %38 = getelementptr i32, ptr %2, i64 %index184
  %39 = getelementptr i8, ptr %38, i64 524300
  %40 = getelementptr i8, ptr %38, i64 524316
  store <4 x i32> %36, ptr %39, align 4, !tbaa !5
  store <4 x i32> %37, ptr %40, align 4, !tbaa !5
  %vec.ind.next188 = add <4 x i32> %vec.ind185, <i32 520, i32 520, i32 520, i32 520>
  %step.add186.1 = add <4 x i32> %vec.ind185, <i32 780, i32 780, i32 780, i32 780>
  %41 = or disjoint <4 x i32> %vec.ind.next188, <i32 81526784, i32 81526784, i32 81526784, i32 81526784>
  %42 = or disjoint <4 x i32> %step.add186.1, <i32 81526784, i32 81526784, i32 81526784, i32 81526784>
  %43 = getelementptr i32, ptr %2, i64 %index184
  %44 = getelementptr i8, ptr %43, i64 524332
  %45 = getelementptr i8, ptr %43, i64 524348
  store <4 x i32> %41, ptr %44, align 4, !tbaa !5
  store <4 x i32> %42, ptr %45, align 4, !tbaa !5
  %vec.ind.next188.1 = add <4 x i32> %vec.ind185, <i32 1040, i32 1040, i32 1040, i32 1040>
  %step.add186.2 = add <4 x i32> %vec.ind185, <i32 1300, i32 1300, i32 1300, i32 1300>
  %46 = or disjoint <4 x i32> %vec.ind.next188.1, <i32 81526784, i32 81526784, i32 81526784, i32 81526784>
  %47 = or disjoint <4 x i32> %step.add186.2, <i32 81526784, i32 81526784, i32 81526784, i32 81526784>
  %48 = getelementptr i32, ptr %2, i64 %index184
  %49 = getelementptr i8, ptr %48, i64 524364
  %50 = getelementptr i8, ptr %48, i64 524380
  store <4 x i32> %46, ptr %49, align 4, !tbaa !5
  store <4 x i32> %47, ptr %50, align 4, !tbaa !5
  %index.next190.2 = add nuw nsw i64 %index184, 24
  %vec.ind.next188.2 = add <4 x i32> %vec.ind185, <i32 1560, i32 1560, i32 1560, i32 1560>
  %51 = icmp eq i64 %index.next190.2, 1008
  br i1 %51, label %.preheader98, label %vector.body183, !llvm.loop !15

.preheader98:                                     ; preds = %vector.body183
  %52 = getelementptr inbounds i8, ptr %2, i64 528332
  store i32 81592304, ptr %52, align 4, !tbaa !5
  br label %.preheader97

.preheader97:                                     ; preds = %73, %.preheader98
  %.086111 = phi i32 [ 0, %.preheader98 ], [ %.1.1, %73 ]
  %.087110 = phi i32 [ 0, %.preheader98 ], [ %74, %73 ]
  %.4109 = phi i32 [ 132084, %.preheader98 ], [ %.5.1, %73 ]
  %53 = add i32 %.086111, 1
  %54 = add i32 %.086111, 2
  %55 = mul i32 %53, %54
  %56 = lshr i32 %55, 1
  %57 = add nsw i32 %56, -1
  %.not = icmp eq i32 %.087110, %57
  br i1 %.not, label %.preheader97.1, label %58

58:                                               ; preds = %.preheader97
  %59 = or disjoint i32 %.087110, 81657856
  %60 = add i32 %.4109, 1
  %61 = zext i32 %.4109 to i64
  %62 = getelementptr inbounds i32, ptr %2, i64 %61
  store i32 %59, ptr %62, align 4, !tbaa !5
  br label %.preheader97.1

.preheader97.1:                                   ; preds = %.preheader97, %58
  %.5 = phi i32 [ %60, %58 ], [ %.4109, %.preheader97 ]
  %.1 = phi i32 [ %.086111, %58 ], [ %53, %.preheader97 ]
  %63 = add i32 %.1, 1
  %64 = add i32 %.1, 2
  %65 = mul i32 %63, %64
  %66 = lshr i32 %65, 1
  %67 = add nsw i32 %66, -2
  %.not.1 = icmp eq i32 %.087110, %67
  br i1 %.not.1, label %73, label %68

68:                                               ; preds = %.preheader97.1
  %69 = or i32 %.087110, 81657857
  %70 = add i32 %.5, 1
  %71 = zext i32 %.5 to i64
  %72 = getelementptr inbounds i32, ptr %2, i64 %71
  store i32 %69, ptr %72, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %68, %.preheader97.1
  %.5.1 = phi i32 [ %70, %68 ], [ %.5, %.preheader97.1 ]
  %.1.1 = phi i32 [ %.1, %68 ], [ %63, %.preheader97.1 ]
  %74 = add nuw nsw i32 %.087110, 2
  %exitcond140.not.1 = icmp eq i32 %74, 65536
  br i1 %exitcond140.not.1, label %vector.scevcheck, label %.preheader97, !llvm.loop !16

vector.scevcheck:                                 ; preds = %73
  %75 = icmp ugt i32 %.5.1, -100
  br i1 %75, label %.preheader96.preheader, label %vector.body196

vector.body196:                                   ; preds = %vector.scevcheck
  %ind.end = add i32 %.5.1, 96
  %76 = zext i32 %.5.1 to i64
  %77 = getelementptr inbounds i32, ptr %2, i64 %76
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  store <4 x i32> <i32 81854364, i32 81854365, i32 81854366, i32 81854367>, ptr %77, align 4, !tbaa !5
  store <4 x i32> <i32 81854368, i32 81854369, i32 81854370, i32 81854371>, ptr %78, align 4, !tbaa !5
  %offset.idx202.1 = add i32 %.5.1, 8
  %79 = zext i32 %offset.idx202.1 to i64
  %80 = getelementptr inbounds i32, ptr %2, i64 %79
  %81 = getelementptr inbounds i8, ptr %80, i64 16
  store <4 x i32> <i32 81854372, i32 81854373, i32 81854374, i32 81854375>, ptr %80, align 4, !tbaa !5
  store <4 x i32> <i32 81854376, i32 81854377, i32 81854378, i32 81854379>, ptr %81, align 4, !tbaa !5
  %offset.idx202.2 = add i32 %.5.1, 16
  %82 = zext i32 %offset.idx202.2 to i64
  %83 = getelementptr inbounds i32, ptr %2, i64 %82
  %84 = getelementptr inbounds i8, ptr %83, i64 16
  store <4 x i32> <i32 81854380, i32 81854381, i32 81854382, i32 81854383>, ptr %83, align 4, !tbaa !5
  store <4 x i32> <i32 81854384, i32 81854385, i32 81854386, i32 81854387>, ptr %84, align 4, !tbaa !5
  %offset.idx202.3 = add i32 %.5.1, 24
  %85 = zext i32 %offset.idx202.3 to i64
  %86 = getelementptr inbounds i32, ptr %2, i64 %85
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  store <4 x i32> <i32 81854388, i32 81854389, i32 81854390, i32 81854391>, ptr %86, align 4, !tbaa !5
  store <4 x i32> <i32 81854392, i32 81854393, i32 81854394, i32 81854395>, ptr %87, align 4, !tbaa !5
  %offset.idx202.4 = add i32 %.5.1, 32
  %88 = zext i32 %offset.idx202.4 to i64
  %89 = getelementptr inbounds i32, ptr %2, i64 %88
  %90 = getelementptr inbounds i8, ptr %89, i64 16
  store <4 x i32> <i32 81854396, i32 81854397, i32 81854398, i32 81854399>, ptr %89, align 4, !tbaa !5
  store <4 x i32> <i32 81854400, i32 81854401, i32 81854402, i32 81854403>, ptr %90, align 4, !tbaa !5
  %offset.idx202.5 = add i32 %.5.1, 40
  %91 = zext i32 %offset.idx202.5 to i64
  %92 = getelementptr inbounds i32, ptr %2, i64 %91
  %93 = getelementptr inbounds i8, ptr %92, i64 16
  store <4 x i32> <i32 81854404, i32 81854405, i32 81854406, i32 81854407>, ptr %92, align 4, !tbaa !5
  store <4 x i32> <i32 81854408, i32 81854409, i32 81854410, i32 81854411>, ptr %93, align 4, !tbaa !5
  %offset.idx202.6 = add i32 %.5.1, 48
  %94 = zext i32 %offset.idx202.6 to i64
  %95 = getelementptr inbounds i32, ptr %2, i64 %94
  %96 = getelementptr inbounds i8, ptr %95, i64 16
  store <4 x i32> <i32 81854412, i32 81854413, i32 81854414, i32 81854415>, ptr %95, align 4, !tbaa !5
  store <4 x i32> <i32 81854416, i32 81854417, i32 81854418, i32 81854419>, ptr %96, align 4, !tbaa !5
  %offset.idx202.7 = add i32 %.5.1, 56
  %97 = zext i32 %offset.idx202.7 to i64
  %98 = getelementptr inbounds i32, ptr %2, i64 %97
  %99 = getelementptr inbounds i8, ptr %98, i64 16
  store <4 x i32> <i32 81854420, i32 81854421, i32 81854422, i32 81854423>, ptr %98, align 4, !tbaa !5
  store <4 x i32> <i32 81854424, i32 81854425, i32 81854426, i32 81854427>, ptr %99, align 4, !tbaa !5
  %offset.idx202.8 = add i32 %.5.1, 64
  %100 = zext i32 %offset.idx202.8 to i64
  %101 = getelementptr inbounds i32, ptr %2, i64 %100
  %102 = getelementptr inbounds i8, ptr %101, i64 16
  store <4 x i32> <i32 81854428, i32 81854429, i32 81854430, i32 81854431>, ptr %101, align 4, !tbaa !5
  store <4 x i32> <i32 81854432, i32 81854433, i32 81854434, i32 81854435>, ptr %102, align 4, !tbaa !5
  %offset.idx202.9 = add i32 %.5.1, 72
  %103 = zext i32 %offset.idx202.9 to i64
  %104 = getelementptr inbounds i32, ptr %2, i64 %103
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  store <4 x i32> <i32 81854436, i32 81854437, i32 81854438, i32 81854439>, ptr %104, align 4, !tbaa !5
  store <4 x i32> <i32 81854440, i32 81854441, i32 81854442, i32 81854443>, ptr %105, align 4, !tbaa !5
  %offset.idx202.10 = add i32 %.5.1, 80
  %106 = zext i32 %offset.idx202.10 to i64
  %107 = getelementptr inbounds i32, ptr %2, i64 %106
  %108 = getelementptr inbounds i8, ptr %107, i64 16
  store <4 x i32> <i32 81854444, i32 81854445, i32 81854446, i32 81854447>, ptr %107, align 4, !tbaa !5
  store <4 x i32> <i32 81854448, i32 81854449, i32 81854450, i32 81854451>, ptr %108, align 4, !tbaa !5
  %offset.idx202.11 = add i32 %.5.1, 88
  %109 = zext i32 %offset.idx202.11 to i64
  %110 = getelementptr inbounds i32, ptr %2, i64 %109
  %111 = getelementptr inbounds i8, ptr %110, i64 16
  store <4 x i32> <i32 81854452, i32 81854453, i32 81854454, i32 81854455>, ptr %110, align 4, !tbaa !5
  store <4 x i32> <i32 81854456, i32 81854457, i32 81854458, i32 81854459>, ptr %111, align 4, !tbaa !5
  br label %.preheader96.preheader

.preheader96.preheader:                           ; preds = %vector.body196, %vector.scevcheck
  %.085113.ph = phi i32 [ 65436, %vector.scevcheck ], [ 65532, %vector.body196 ]
  %.6112.ph = phi i32 [ %.5.1, %vector.scevcheck ], [ %ind.end, %vector.body196 ]
  br label %.preheader96

.preheader96:                                     ; preds = %.preheader96, %.preheader96.preheader
  %.085113 = phi i32 [ %.085113.ph, %.preheader96.preheader ], [ %128, %.preheader96 ]
  %.6112 = phi i32 [ %.6112.ph, %.preheader96.preheader ], [ %125, %.preheader96 ]
  %112 = or disjoint i32 %.085113, 81788928
  %113 = add i32 %.6112, 1
  %114 = zext i32 %.6112 to i64
  %115 = getelementptr inbounds i32, ptr %2, i64 %114
  store i32 %112, ptr %115, align 4, !tbaa !5
  %116 = or i32 %.085113, 81788929
  %117 = add i32 %.6112, 2
  %118 = zext i32 %113 to i64
  %119 = getelementptr inbounds i32, ptr %2, i64 %118
  store i32 %116, ptr %119, align 4, !tbaa !5
  %120 = or i32 %.085113, 81788930
  %121 = add i32 %.6112, 3
  %122 = zext i32 %117 to i64
  %123 = getelementptr inbounds i32, ptr %2, i64 %122
  store i32 %120, ptr %123, align 4, !tbaa !5
  %124 = or i32 %.085113, 81788931
  %125 = add i32 %.6112, 4
  %126 = zext i32 %121 to i64
  %127 = getelementptr inbounds i32, ptr %2, i64 %126
  store i32 %124, ptr %127, align 4, !tbaa !5
  %128 = add nuw nsw i32 %.085113, 4
  %exitcond141.not.3 = icmp eq i32 %128, 65536
  br i1 %exitcond141.not.3, label %vector.scevcheck204, label %.preheader96, !llvm.loop !17

vector.scevcheck204:                              ; preds = %.preheader96
  %129 = icmp ugt i32 %125, -65536
  br i1 %129, label %.preheader95, label %vector.ph207

vector.ph207:                                     ; preds = %vector.scevcheck204
  %ind.end209 = add i32 %.6112, 65540
  br label %vector.body211

vector.body211:                                   ; preds = %vector.body211, %vector.ph207
  %index212 = phi i32 [ 0, %vector.ph207 ], [ %index.next218.1, %vector.body211 ]
  %vec.ind213 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph207 ], [ %vec.ind.next216.1, %vector.body211 ]
  %step.add214 = add <4 x i32> %vec.ind213, <i32 4, i32 4, i32 4, i32 4>
  %offset.idx217 = add i32 %125, %index212
  %130 = or disjoint <4 x i32> %vec.ind213, <i32 81854464, i32 81854464, i32 81854464, i32 81854464>
  %131 = or disjoint <4 x i32> %step.add214, <i32 81854464, i32 81854464, i32 81854464, i32 81854464>
  %132 = zext i32 %offset.idx217 to i64
  %133 = getelementptr inbounds i32, ptr %2, i64 %132
  %134 = getelementptr inbounds i8, ptr %133, i64 16
  store <4 x i32> %130, ptr %133, align 4, !tbaa !5
  store <4 x i32> %131, ptr %134, align 4, !tbaa !5
  %index.next218 = or disjoint i32 %index212, 8
  %vec.ind.next216 = add <4 x i32> %vec.ind213, <i32 8, i32 8, i32 8, i32 8>
  %step.add214.1 = add <4 x i32> %vec.ind213, <i32 12, i32 12, i32 12, i32 12>
  %offset.idx217.1 = add i32 %125, %index.next218
  %135 = or disjoint <4 x i32> %vec.ind.next216, <i32 81854464, i32 81854464, i32 81854464, i32 81854464>
  %136 = or disjoint <4 x i32> %step.add214.1, <i32 81854464, i32 81854464, i32 81854464, i32 81854464>
  %137 = zext i32 %offset.idx217.1 to i64
  %138 = getelementptr inbounds i32, ptr %2, i64 %137
  %139 = getelementptr inbounds i8, ptr %138, i64 16
  store <4 x i32> %135, ptr %138, align 4, !tbaa !5
  store <4 x i32> %136, ptr %139, align 4, !tbaa !5
  %index.next218.1 = add nuw nsw i32 %index212, 16
  %vec.ind.next216.1 = add <4 x i32> %vec.ind213, <i32 16, i32 16, i32 16, i32 16>
  %140 = icmp eq i32 %index.next218.1, 65536
  br i1 %140, label %vector.scevcheck219, label %vector.body211, !llvm.loop !18

.preheader95:                                     ; preds = %vector.scevcheck204, %.preheader95
  %.084115 = phi i32 [ %157, %.preheader95 ], [ 0, %vector.scevcheck204 ]
  %.7114 = phi i32 [ %154, %.preheader95 ], [ %125, %vector.scevcheck204 ]
  %141 = or disjoint i32 %.084115, 81854464
  %142 = add i32 %.7114, 1
  %143 = zext i32 %.7114 to i64
  %144 = getelementptr inbounds i32, ptr %2, i64 %143
  store i32 %141, ptr %144, align 4, !tbaa !5
  %145 = or i32 %.084115, 81854465
  %146 = add i32 %.7114, 2
  %147 = zext i32 %142 to i64
  %148 = getelementptr inbounds i32, ptr %2, i64 %147
  store i32 %145, ptr %148, align 4, !tbaa !5
  %149 = or i32 %.084115, 81854466
  %150 = add i32 %.7114, 3
  %151 = zext i32 %146 to i64
  %152 = getelementptr inbounds i32, ptr %2, i64 %151
  store i32 %149, ptr %152, align 4, !tbaa !5
  %153 = or i32 %.084115, 81854467
  %154 = add i32 %.7114, 4
  %155 = zext i32 %150 to i64
  %156 = getelementptr inbounds i32, ptr %2, i64 %155
  store i32 %153, ptr %156, align 4, !tbaa !5
  %157 = add nuw nsw i32 %.084115, 4
  %exitcond142.not.3 = icmp eq i32 %157, 65536
  br i1 %exitcond142.not.3, label %vector.scevcheck219, label %.preheader95, !llvm.loop !19

vector.scevcheck219:                              ; preds = %vector.body211, %.preheader95
  %.lcssa148 = phi i32 [ %154, %.preheader95 ], [ %ind.end209, %vector.body211 ]
  %158 = icmp ugt i32 %.lcssa148, -100
  br i1 %158, label %.preheader94.preheader, label %vector.body226

vector.body226:                                   ; preds = %vector.scevcheck219
  %ind.end224 = add i32 %.lcssa148, 96
  %159 = zext i32 %.lcssa148 to i64
  %160 = getelementptr inbounds i32, ptr %2, i64 %159
  %161 = getelementptr inbounds i8, ptr %160, i64 16
  store <4 x i32> <i32 81920000, i32 81920001, i32 81920002, i32 81920003>, ptr %160, align 4, !tbaa !5
  store <4 x i32> <i32 81920004, i32 81920005, i32 81920006, i32 81920007>, ptr %161, align 4, !tbaa !5
  %offset.idx232.1 = add i32 %.lcssa148, 8
  %162 = zext i32 %offset.idx232.1 to i64
  %163 = getelementptr inbounds i32, ptr %2, i64 %162
  %164 = getelementptr inbounds i8, ptr %163, i64 16
  store <4 x i32> <i32 81920008, i32 81920009, i32 81920010, i32 81920011>, ptr %163, align 4, !tbaa !5
  store <4 x i32> <i32 81920012, i32 81920013, i32 81920014, i32 81920015>, ptr %164, align 4, !tbaa !5
  %offset.idx232.2 = add i32 %.lcssa148, 16
  %165 = zext i32 %offset.idx232.2 to i64
  %166 = getelementptr inbounds i32, ptr %2, i64 %165
  %167 = getelementptr inbounds i8, ptr %166, i64 16
  store <4 x i32> <i32 81920016, i32 81920017, i32 81920018, i32 81920019>, ptr %166, align 4, !tbaa !5
  store <4 x i32> <i32 81920020, i32 81920021, i32 81920022, i32 81920023>, ptr %167, align 4, !tbaa !5
  %offset.idx232.3 = add i32 %.lcssa148, 24
  %168 = zext i32 %offset.idx232.3 to i64
  %169 = getelementptr inbounds i32, ptr %2, i64 %168
  %170 = getelementptr inbounds i8, ptr %169, i64 16
  store <4 x i32> <i32 81920024, i32 81920025, i32 81920026, i32 81920027>, ptr %169, align 4, !tbaa !5
  store <4 x i32> <i32 81920028, i32 81920029, i32 81920030, i32 81920031>, ptr %170, align 4, !tbaa !5
  %offset.idx232.4 = add i32 %.lcssa148, 32
  %171 = zext i32 %offset.idx232.4 to i64
  %172 = getelementptr inbounds i32, ptr %2, i64 %171
  %173 = getelementptr inbounds i8, ptr %172, i64 16
  store <4 x i32> <i32 81920032, i32 81920033, i32 81920034, i32 81920035>, ptr %172, align 4, !tbaa !5
  store <4 x i32> <i32 81920036, i32 81920037, i32 81920038, i32 81920039>, ptr %173, align 4, !tbaa !5
  %offset.idx232.5 = add i32 %.lcssa148, 40
  %174 = zext i32 %offset.idx232.5 to i64
  %175 = getelementptr inbounds i32, ptr %2, i64 %174
  %176 = getelementptr inbounds i8, ptr %175, i64 16
  store <4 x i32> <i32 81920040, i32 81920041, i32 81920042, i32 81920043>, ptr %175, align 4, !tbaa !5
  store <4 x i32> <i32 81920044, i32 81920045, i32 81920046, i32 81920047>, ptr %176, align 4, !tbaa !5
  %offset.idx232.6 = add i32 %.lcssa148, 48
  %177 = zext i32 %offset.idx232.6 to i64
  %178 = getelementptr inbounds i32, ptr %2, i64 %177
  %179 = getelementptr inbounds i8, ptr %178, i64 16
  store <4 x i32> <i32 81920048, i32 81920049, i32 81920050, i32 81920051>, ptr %178, align 4, !tbaa !5
  store <4 x i32> <i32 81920052, i32 81920053, i32 81920054, i32 81920055>, ptr %179, align 4, !tbaa !5
  %offset.idx232.7 = add i32 %.lcssa148, 56
  %180 = zext i32 %offset.idx232.7 to i64
  %181 = getelementptr inbounds i32, ptr %2, i64 %180
  %182 = getelementptr inbounds i8, ptr %181, i64 16
  store <4 x i32> <i32 81920056, i32 81920057, i32 81920058, i32 81920059>, ptr %181, align 4, !tbaa !5
  store <4 x i32> <i32 81920060, i32 81920061, i32 81920062, i32 81920063>, ptr %182, align 4, !tbaa !5
  %offset.idx232.8 = add i32 %.lcssa148, 64
  %183 = zext i32 %offset.idx232.8 to i64
  %184 = getelementptr inbounds i32, ptr %2, i64 %183
  %185 = getelementptr inbounds i8, ptr %184, i64 16
  store <4 x i32> <i32 81920064, i32 81920065, i32 81920066, i32 81920067>, ptr %184, align 4, !tbaa !5
  store <4 x i32> <i32 81920068, i32 81920069, i32 81920070, i32 81920071>, ptr %185, align 4, !tbaa !5
  %offset.idx232.9 = add i32 %.lcssa148, 72
  %186 = zext i32 %offset.idx232.9 to i64
  %187 = getelementptr inbounds i32, ptr %2, i64 %186
  %188 = getelementptr inbounds i8, ptr %187, i64 16
  store <4 x i32> <i32 81920072, i32 81920073, i32 81920074, i32 81920075>, ptr %187, align 4, !tbaa !5
  store <4 x i32> <i32 81920076, i32 81920077, i32 81920078, i32 81920079>, ptr %188, align 4, !tbaa !5
  %offset.idx232.10 = add i32 %.lcssa148, 80
  %189 = zext i32 %offset.idx232.10 to i64
  %190 = getelementptr inbounds i32, ptr %2, i64 %189
  %191 = getelementptr inbounds i8, ptr %190, i64 16
  store <4 x i32> <i32 81920080, i32 81920081, i32 81920082, i32 81920083>, ptr %190, align 4, !tbaa !5
  store <4 x i32> <i32 81920084, i32 81920085, i32 81920086, i32 81920087>, ptr %191, align 4, !tbaa !5
  %offset.idx232.11 = add i32 %.lcssa148, 88
  %192 = zext i32 %offset.idx232.11 to i64
  %193 = getelementptr inbounds i32, ptr %2, i64 %192
  %194 = getelementptr inbounds i8, ptr %193, i64 16
  store <4 x i32> <i32 81920088, i32 81920089, i32 81920090, i32 81920091>, ptr %193, align 4, !tbaa !5
  store <4 x i32> <i32 81920092, i32 81920093, i32 81920094, i32 81920095>, ptr %194, align 4, !tbaa !5
  br label %.preheader94.preheader

.preheader94.preheader:                           ; preds = %vector.body226, %vector.scevcheck219
  %.083117.ph = phi i32 [ 0, %vector.scevcheck219 ], [ 96, %vector.body226 ]
  %.8116.ph = phi i32 [ %.lcssa148, %vector.scevcheck219 ], [ %ind.end224, %vector.body226 ]
  br label %.preheader94

.preheader94:                                     ; preds = %.preheader94, %.preheader94.preheader
  %.083117 = phi i32 [ %.083117.ph, %.preheader94.preheader ], [ %211, %.preheader94 ]
  %.8116 = phi i32 [ %.8116.ph, %.preheader94.preheader ], [ %208, %.preheader94 ]
  %195 = or disjoint i32 %.083117, 81920000
  %196 = add i32 %.8116, 1
  %197 = zext i32 %.8116 to i64
  %198 = getelementptr inbounds i32, ptr %2, i64 %197
  store i32 %195, ptr %198, align 4, !tbaa !5
  %199 = or i32 %.083117, 81920001
  %200 = add i32 %.8116, 2
  %201 = zext i32 %196 to i64
  %202 = getelementptr inbounds i32, ptr %2, i64 %201
  store i32 %199, ptr %202, align 4, !tbaa !5
  %203 = or i32 %.083117, 81920002
  %204 = add i32 %.8116, 3
  %205 = zext i32 %200 to i64
  %206 = getelementptr inbounds i32, ptr %2, i64 %205
  store i32 %203, ptr %206, align 4, !tbaa !5
  %207 = or i32 %.083117, 81920003
  %208 = add i32 %.8116, 4
  %209 = zext i32 %204 to i64
  %210 = getelementptr inbounds i32, ptr %2, i64 %209
  store i32 %207, ptr %210, align 4, !tbaa !5
  %211 = add nuw nsw i32 %.083117, 4
  %exitcond143.not.3 = icmp eq i32 %211, 100
  br i1 %exitcond143.not.3, label %.preheader, label %.preheader94, !llvm.loop !20

212:                                              ; preds = %.preheader
  %213 = add i32 %.9118, 2
  %214 = zext i32 %218 to i64
  %215 = getelementptr inbounds i32, ptr %2, i64 %214
  store i32 -1, ptr %215, align 4, !tbaa !5
  %216 = icmp ult i32 %213, 1000001
  br i1 %216, label %227, label %226

.preheader:                                       ; preds = %.preheader94, %.preheader
  %.0119 = phi i32 [ %224, %.preheader ], [ 0, %.preheader94 ]
  %.9118 = phi i32 [ %218, %.preheader ], [ %208, %.preheader94 ]
  %217 = or disjoint i32 %.0119, 82051072
  %218 = add i32 %.9118, 1
  %219 = zext i32 %.9118 to i64
  %220 = getelementptr inbounds i32, ptr %2, i64 %219
  store i32 %217, ptr %220, align 4, !tbaa !5
  %221 = tail call i32 @our_rand()
  %222 = urem i32 %221, 10
  %223 = add nuw nsw i32 %.0119, 1
  %224 = add nuw nsw i32 %223, %222
  %225 = icmp ult i32 %224, 65536
  br i1 %225, label %.preheader, label %212, !llvm.loop !21

226:                                              ; preds = %212
  tail call void @__assert_fail(ptr noundef nonnull @.str.138, ptr noundef nonnull @.str.2, i32 noundef 3386, ptr noundef nonnull @__PRETTY_FUNCTION__.test_iterator_generate_data) #5
  unreachable

227:                                              ; preds = %212
  store ptr %2, ptr %0, align 8, !tbaa !22
  store i32 %213, ptr %1, align 4, !tbaa !5
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @our_rand() local_unnamed_addr #3

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind allocsize(0) }
attributes #5 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !11, !12}
!14 = distinct !{!14, !10, !11, !12}
!15 = distinct !{!15, !10, !11, !12}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10, !11}
!18 = distinct !{!18, !10, !11, !12}
!19 = distinct !{!19, !10, !11}
!20 = distinct !{!20, !10, !11}
!21 = distinct !{!21, !10}
!22 = !{!23, !23, i64 0}
!23 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass