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

%struct.roaring_uint32_iterator_s = type { ptr, i32, i32, i32, i32, i8, ptr, i8, i32 }

@.str.2 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [30 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

declare void @roaring_bitmap_free(ptr noundef) #1

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

declare ptr @roaring_bitmap_create() #1

declare void @_assert_true(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1

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

declare zeroext i1 @roaring_advance_uint32_iterator(ptr noundef) #1

declare zeroext i1 @roaring_bitmap_run_optimize(ptr noundef) #1

declare ptr @roaring_create_iterator(ptr noundef) #1

declare void @roaring_free_uint32_iterator(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @test_uint32_iterator(i1 noundef zeroext %0) #2 {
  %2 = alloca i8, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %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
  %19 = alloca i32, align 4
  %20 = zext i1 %0 to i8
  store i8 %20, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %21 = call ptr @roaring_bitmap_create()
  store ptr %21, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !11
  br label %22

22:                                               ; preds = %29, %1
  %23 = load i32, ptr %4, align 4, !tbaa !11
  %24 = icmp ult i32 %23, 66000
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %32

26:                                               ; preds = %22
  %27 = load ptr, ptr %3, align 8, !tbaa !9
  %28 = load i32, ptr %4, align 4, !tbaa !11
  call void @roaring_bitmap_add(ptr noundef %27, i32 noundef %28)
  br label %29

29:                                               ; preds = %26
  %30 = load i32, ptr %4, align 4, !tbaa !11
  %31 = add i32 %30, 3
  store i32 %31, ptr %4, align 4, !tbaa !11
  br label %22, !llvm.loop !13

32:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 100000, ptr %5, align 4, !tbaa !11
  br label %33

33:                                               ; preds = %40, %32
  %34 = load i32, ptr %5, align 4, !tbaa !11
  %35 = icmp ult i32 %34, 200000
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %43

37:                                               ; preds = %33
  %38 = load ptr, ptr %3, align 8, !tbaa !9
  %39 = load i32, ptr %5, align 4, !tbaa !11
  call void @roaring_bitmap_add(ptr noundef %38, i32 noundef %39)
  br label %40

40:                                               ; preds = %37
  %41 = load i32, ptr %5, align 4, !tbaa !11
  %42 = add i32 %41, 1
  store i32 %42, ptr %5, align 4, !tbaa !11
  br label %33, !llvm.loop !15

43:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 300000, ptr %6, align 4, !tbaa !11
  br label %44

44:                                               ; preds = %51, %43
  %45 = load i32, ptr %6, align 4, !tbaa !11
  %46 = icmp ult i32 %45, 500000
  br i1 %46, label %48, label %47

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

48:                                               ; preds = %44
  %49 = load ptr, ptr %3, align 8, !tbaa !9
  %50 = load i32, ptr %6, align 4, !tbaa !11
  call void @roaring_bitmap_add(ptr noundef %49, i32 noundef %50)
  br label %51

51:                                               ; preds = %48
  %52 = load i32, ptr %6, align 4, !tbaa !11
  %53 = add i32 %52, 100
  store i32 %53, ptr %6, align 4, !tbaa !11
  br label %44, !llvm.loop !16

54:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 600000, ptr %7, align 4, !tbaa !11
  br label %55

55:                                               ; preds = %62, %54
  %56 = load i32, ptr %7, align 4, !tbaa !11
  %57 = icmp ult i32 %56, 700000
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %65

59:                                               ; preds = %55
  %60 = load ptr, ptr %3, align 8, !tbaa !9
  %61 = load i32, ptr %7, align 4, !tbaa !11
  call void @roaring_bitmap_add(ptr noundef %60, i32 noundef %61)
  br label %62

62:                                               ; preds = %59
  %63 = load i32, ptr %7, align 4, !tbaa !11
  %64 = add i32 %63, 1
  store i32 %64, ptr %7, align 4, !tbaa !11
  br label %55, !llvm.loop !17

65:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 800000, ptr %8, align 4, !tbaa !11
  br label %66

66:                                               ; preds = %73, %65
  %67 = load i32, ptr %8, align 4, !tbaa !11
  %68 = icmp ult i32 %67, 900000
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %76

70:                                               ; preds = %66
  %71 = load ptr, ptr %3, align 8, !tbaa !9
  %72 = load i32, ptr %8, align 4, !tbaa !11
  call void @roaring_bitmap_add(ptr noundef %71, i32 noundef %72)
  br label %73

73:                                               ; preds = %70
  %74 = load i32, ptr %8, align 4, !tbaa !11
  %75 = add i32 %74, 7
  store i32 %75, ptr %8, align 4, !tbaa !11
  br label %66, !llvm.loop !18

76:                                               ; preds = %69
  %77 = load i8, ptr %2, align 1, !tbaa !5, !range !19, !noundef !20
  %78 = trunc i8 %77 to i1
  br i1 %78, label %79, label %82

79:                                               ; preds = %76
  %80 = load ptr, ptr %3, align 8, !tbaa !9
  %81 = call zeroext i1 @roaring_bitmap_run_optimize(ptr noundef %80)
  br label %82

82:                                               ; preds = %79, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %83 = load ptr, ptr %3, align 8, !tbaa !9
  %84 = call ptr @roaring_create_iterator(ptr noundef %83)
  store ptr %84, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %85

85:                                               ; preds = %119, %82
  %86 = load i32, ptr %10, align 4, !tbaa !11
  %87 = icmp ult i32 %86, 66000
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %122

89:                                               ; preds = %85
  %90 = load ptr, ptr %9, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %90, i32 0, i32 5
  %92 = load i8, ptr %91, align 8, !tbaa !21, !range !19, !noundef !20
  %93 = trunc i8 %92 to i1
  %94 = zext i1 %93 to i64
  call void @_assert_true(i64 noundef %94, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 638)
  %95 = load ptr, ptr %9, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %95, i32 0, i32 4
  %97 = load i32, ptr %96, align 4, !tbaa !23
  %98 = load i32, ptr %10, align 4, !tbaa !11
  %99 = icmp eq i32 %97, %98
  %100 = zext i1 %99 to i32
  %101 = sext i32 %100 to i64
  call void @_assert_true(i64 noundef %101, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 639)
  %102 = load ptr, ptr %9, align 8, !tbaa !9
  %103 = load i32, ptr %10, align 4, !tbaa !11
  %104 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %102, i32 noundef %103)
  %105 = load ptr, ptr %9, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %105, i32 0, i32 5
  %107 = load i8, ptr %106, align 8, !tbaa !21, !range !19, !noundef !20
  %108 = trunc i8 %107 to i1
  %109 = zext i1 %108 to i64
  call void @_assert_true(i64 noundef %109, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 641)
  %110 = load ptr, ptr %9, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %110, i32 0, i32 4
  %112 = load i32, ptr %111, align 4, !tbaa !23
  %113 = load i32, ptr %10, align 4, !tbaa !11
  %114 = icmp eq i32 %112, %113
  %115 = zext i1 %114 to i32
  %116 = sext i32 %115 to i64
  call void @_assert_true(i64 noundef %116, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 642)
  %117 = load ptr, ptr %9, align 8, !tbaa !9
  %118 = call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef %117)
  br label %119

119:                                              ; preds = %89
  %120 = load i32, ptr %10, align 4, !tbaa !11
  %121 = add i32 %120, 3
  store i32 %121, ptr %10, align 4, !tbaa !11
  br label %85, !llvm.loop !24

122:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 100000, ptr %11, align 4, !tbaa !11
  br label %123

123:                                              ; preds = %157, %122
  %124 = load i32, ptr %11, align 4, !tbaa !11
  %125 = icmp ult i32 %124, 200000
  br i1 %125, label %127, label %126

126:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %160

127:                                              ; preds = %123
  %128 = load ptr, ptr %9, align 8, !tbaa !9
  %129 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %128, i32 0, i32 5
  %130 = load i8, ptr %129, align 8, !tbaa !21, !range !19, !noundef !20
  %131 = trunc i8 %130 to i1
  %132 = zext i1 %131 to i64
  call void @_assert_true(i64 noundef %132, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 646)
  %133 = load ptr, ptr %9, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %133, i32 0, i32 4
  %135 = load i32, ptr %134, align 4, !tbaa !23
  %136 = load i32, ptr %11, align 4, !tbaa !11
  %137 = icmp eq i32 %135, %136
  %138 = zext i1 %137 to i32
  %139 = sext i32 %138 to i64
  call void @_assert_true(i64 noundef %139, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 647)
  %140 = load ptr, ptr %9, align 8, !tbaa !9
  %141 = load i32, ptr %11, align 4, !tbaa !11
  %142 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %140, i32 noundef %141)
  %143 = load ptr, ptr %9, align 8, !tbaa !9
  %144 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %143, i32 0, i32 5
  %145 = load i8, ptr %144, align 8, !tbaa !21, !range !19, !noundef !20
  %146 = trunc i8 %145 to i1
  %147 = zext i1 %146 to i64
  call void @_assert_true(i64 noundef %147, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 649)
  %148 = load ptr, ptr %9, align 8, !tbaa !9
  %149 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %148, i32 0, i32 4
  %150 = load i32, ptr %149, align 4, !tbaa !23
  %151 = load i32, ptr %11, align 4, !tbaa !11
  %152 = icmp eq i32 %150, %151
  %153 = zext i1 %152 to i32
  %154 = sext i32 %153 to i64
  call void @_assert_true(i64 noundef %154, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 650)
  %155 = load ptr, ptr %9, align 8, !tbaa !9
  %156 = call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef %155)
  br label %157

157:                                              ; preds = %127
  %158 = load i32, ptr %11, align 4, !tbaa !11
  %159 = add i32 %158, 1
  store i32 %159, ptr %11, align 4, !tbaa !11
  br label %123, !llvm.loop !25

160:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 300000, ptr %12, align 4, !tbaa !11
  br label %161

161:                                              ; preds = %195, %160
  %162 = load i32, ptr %12, align 4, !tbaa !11
  %163 = icmp ult i32 %162, 500000
  br i1 %163, label %165, label %164

164:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %198

165:                                              ; preds = %161
  %166 = load ptr, ptr %9, align 8, !tbaa !9
  %167 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %166, i32 0, i32 5
  %168 = load i8, ptr %167, align 8, !tbaa !21, !range !19, !noundef !20
  %169 = trunc i8 %168 to i1
  %170 = zext i1 %169 to i64
  call void @_assert_true(i64 noundef %170, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 654)
  %171 = load ptr, ptr %9, align 8, !tbaa !9
  %172 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %171, i32 0, i32 4
  %173 = load i32, ptr %172, align 4, !tbaa !23
  %174 = load i32, ptr %12, align 4, !tbaa !11
  %175 = icmp eq i32 %173, %174
  %176 = zext i1 %175 to i32
  %177 = sext i32 %176 to i64
  call void @_assert_true(i64 noundef %177, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 655)
  %178 = load ptr, ptr %9, align 8, !tbaa !9
  %179 = load i32, ptr %12, align 4, !tbaa !11
  %180 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %178, i32 noundef %179)
  %181 = load ptr, ptr %9, align 8, !tbaa !9
  %182 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %181, i32 0, i32 5
  %183 = load i8, ptr %182, align 8, !tbaa !21, !range !19, !noundef !20
  %184 = trunc i8 %183 to i1
  %185 = zext i1 %184 to i64
  call void @_assert_true(i64 noundef %185, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 657)
  %186 = load ptr, ptr %9, align 8, !tbaa !9
  %187 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %186, i32 0, i32 4
  %188 = load i32, ptr %187, align 4, !tbaa !23
  %189 = load i32, ptr %12, align 4, !tbaa !11
  %190 = icmp eq i32 %188, %189
  %191 = zext i1 %190 to i32
  %192 = sext i32 %191 to i64
  call void @_assert_true(i64 noundef %192, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 658)
  %193 = load ptr, ptr %9, align 8, !tbaa !9
  %194 = call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef %193)
  br label %195

195:                                              ; preds = %165
  %196 = load i32, ptr %12, align 4, !tbaa !11
  %197 = add i32 %196, 100
  store i32 %197, ptr %12, align 4, !tbaa !11
  br label %161, !llvm.loop !26

198:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 600000, ptr %13, align 4, !tbaa !11
  br label %199

199:                                              ; preds = %233, %198
  %200 = load i32, ptr %13, align 4, !tbaa !11
  %201 = icmp ult i32 %200, 700000
  br i1 %201, label %203, label %202

202:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %236

203:                                              ; preds = %199
  %204 = load ptr, ptr %9, align 8, !tbaa !9
  %205 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %204, i32 0, i32 5
  %206 = load i8, ptr %205, align 8, !tbaa !21, !range !19, !noundef !20
  %207 = trunc i8 %206 to i1
  %208 = zext i1 %207 to i64
  call void @_assert_true(i64 noundef %208, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 662)
  %209 = load ptr, ptr %9, align 8, !tbaa !9
  %210 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %209, i32 0, i32 4
  %211 = load i32, ptr %210, align 4, !tbaa !23
  %212 = load i32, ptr %13, align 4, !tbaa !11
  %213 = icmp eq i32 %211, %212
  %214 = zext i1 %213 to i32
  %215 = sext i32 %214 to i64
  call void @_assert_true(i64 noundef %215, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 663)
  %216 = load ptr, ptr %9, align 8, !tbaa !9
  %217 = load i32, ptr %13, align 4, !tbaa !11
  %218 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %216, i32 noundef %217)
  %219 = load ptr, ptr %9, align 8, !tbaa !9
  %220 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %219, i32 0, i32 5
  %221 = load i8, ptr %220, align 8, !tbaa !21, !range !19, !noundef !20
  %222 = trunc i8 %221 to i1
  %223 = zext i1 %222 to i64
  call void @_assert_true(i64 noundef %223, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 665)
  %224 = load ptr, ptr %9, align 8, !tbaa !9
  %225 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %224, i32 0, i32 4
  %226 = load i32, ptr %225, align 4, !tbaa !23
  %227 = load i32, ptr %13, align 4, !tbaa !11
  %228 = icmp eq i32 %226, %227
  %229 = zext i1 %228 to i32
  %230 = sext i32 %229 to i64
  call void @_assert_true(i64 noundef %230, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 666)
  %231 = load ptr, ptr %9, align 8, !tbaa !9
  %232 = call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef %231)
  br label %233

233:                                              ; preds = %203
  %234 = load i32, ptr %13, align 4, !tbaa !11
  %235 = add i32 %234, 1
  store i32 %235, ptr %13, align 4, !tbaa !11
  br label %199, !llvm.loop !27

236:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 800000, ptr %14, align 4, !tbaa !11
  br label %237

237:                                              ; preds = %271, %236
  %238 = load i32, ptr %14, align 4, !tbaa !11
  %239 = icmp ult i32 %238, 900000
  br i1 %239, label %241, label %240

240:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %274

241:                                              ; preds = %237
  %242 = load ptr, ptr %9, align 8, !tbaa !9
  %243 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %242, i32 0, i32 5
  %244 = load i8, ptr %243, align 8, !tbaa !21, !range !19, !noundef !20
  %245 = trunc i8 %244 to i1
  %246 = zext i1 %245 to i64
  call void @_assert_true(i64 noundef %246, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 670)
  %247 = load ptr, ptr %9, align 8, !tbaa !9
  %248 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %247, i32 0, i32 4
  %249 = load i32, ptr %248, align 4, !tbaa !23
  %250 = load i32, ptr %14, align 4, !tbaa !11
  %251 = icmp eq i32 %249, %250
  %252 = zext i1 %251 to i32
  %253 = sext i32 %252 to i64
  call void @_assert_true(i64 noundef %253, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 671)
  %254 = load ptr, ptr %9, align 8, !tbaa !9
  %255 = load i32, ptr %14, align 4, !tbaa !11
  %256 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %254, i32 noundef %255)
  %257 = load ptr, ptr %9, align 8, !tbaa !9
  %258 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %257, i32 0, i32 5
  %259 = load i8, ptr %258, align 8, !tbaa !21, !range !19, !noundef !20
  %260 = trunc i8 %259 to i1
  %261 = zext i1 %260 to i64
  call void @_assert_true(i64 noundef %261, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 673)
  %262 = load ptr, ptr %9, align 8, !tbaa !9
  %263 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %262, i32 0, i32 4
  %264 = load i32, ptr %263, align 4, !tbaa !23
  %265 = load i32, ptr %14, align 4, !tbaa !11
  %266 = icmp eq i32 %264, %265
  %267 = zext i1 %266 to i32
  %268 = sext i32 %267 to i64
  call void @_assert_true(i64 noundef %268, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 674)
  %269 = load ptr, ptr %9, align 8, !tbaa !9
  %270 = call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef %269)
  br label %271

271:                                              ; preds = %241
  %272 = load i32, ptr %14, align 4, !tbaa !11
  %273 = add i32 %272, 7
  store i32 %273, ptr %14, align 4, !tbaa !11
  br label %237, !llvm.loop !28

274:                                              ; preds = %240
  %275 = load ptr, ptr %9, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %275, i32 0, i32 5
  %277 = load i8, ptr %276, align 8, !tbaa !21, !range !19, !noundef !20
  %278 = trunc i8 %277 to i1
  %279 = xor i1 %278, true
  %280 = zext i1 %279 to i32
  %281 = sext i32 %280 to i64
  call void @_assert_true(i64 noundef %281, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 677)
  %282 = load ptr, ptr %9, align 8, !tbaa !9
  %283 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %282, i32 noundef 0)
  %284 = load ptr, ptr %9, align 8, !tbaa !9
  %285 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %284, i32 0, i32 5
  %286 = load i8, ptr %285, align 8, !tbaa !21, !range !19, !noundef !20
  %287 = trunc i8 %286 to i1
  %288 = zext i1 %287 to i64
  call void @_assert_true(i64 noundef %288, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 679)
  %289 = load ptr, ptr %9, align 8, !tbaa !9
  %290 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %289, i32 0, i32 4
  %291 = load i32, ptr %290, align 4, !tbaa !23
  %292 = icmp eq i32 %291, 0
  %293 = zext i1 %292 to i32
  %294 = sext i32 %293 to i64
  call void @_assert_true(i64 noundef %294, ptr noundef @.str.63, ptr noundef @.str.2, i32 noundef 680)
  %295 = load ptr, ptr %9, align 8, !tbaa !9
  %296 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %295, i32 noundef 66000)
  %297 = load ptr, ptr %9, align 8, !tbaa !9
  %298 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %297, i32 0, i32 5
  %299 = load i8, ptr %298, align 8, !tbaa !21, !range !19, !noundef !20
  %300 = trunc i8 %299 to i1
  %301 = zext i1 %300 to i64
  call void @_assert_true(i64 noundef %301, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 682)
  %302 = load ptr, ptr %9, align 8, !tbaa !9
  %303 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %302, i32 0, i32 4
  %304 = load i32, ptr %303, align 4, !tbaa !23
  %305 = icmp eq i32 %304, 100000
  %306 = zext i1 %305 to i32
  %307 = sext i32 %306 to i64
  call void @_assert_true(i64 noundef %307, ptr noundef @.str.64, ptr noundef @.str.2, i32 noundef 683)
  %308 = load ptr, ptr %9, align 8, !tbaa !9
  %309 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %308, i32 noundef 100000)
  %310 = load ptr, ptr %9, align 8, !tbaa !9
  %311 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %310, i32 0, i32 5
  %312 = load i8, ptr %311, align 8, !tbaa !21, !range !19, !noundef !20
  %313 = trunc i8 %312 to i1
  %314 = zext i1 %313 to i64
  call void @_assert_true(i64 noundef %314, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 685)
  %315 = load ptr, ptr %9, align 8, !tbaa !9
  %316 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %315, i32 0, i32 4
  %317 = load i32, ptr %316, align 4, !tbaa !23
  %318 = icmp eq i32 %317, 100000
  %319 = zext i1 %318 to i32
  %320 = sext i32 %319 to i64
  call void @_assert_true(i64 noundef %320, ptr noundef @.str.64, ptr noundef @.str.2, i32 noundef 686)
  %321 = load ptr, ptr %9, align 8, !tbaa !9
  %322 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %321, i32 noundef 200000)
  %323 = load ptr, ptr %9, align 8, !tbaa !9
  %324 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %323, i32 0, i32 5
  %325 = load i8, ptr %324, align 8, !tbaa !21, !range !19, !noundef !20
  %326 = trunc i8 %325 to i1
  %327 = zext i1 %326 to i64
  call void @_assert_true(i64 noundef %327, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 688)
  %328 = load ptr, ptr %9, align 8, !tbaa !9
  %329 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %328, i32 0, i32 4
  %330 = load i32, ptr %329, align 4, !tbaa !23
  %331 = icmp eq i32 %330, 300000
  %332 = zext i1 %331 to i32
  %333 = sext i32 %332 to i64
  call void @_assert_true(i64 noundef %333, ptr noundef @.str.65, ptr noundef @.str.2, i32 noundef 689)
  %334 = load ptr, ptr %9, align 8, !tbaa !9
  %335 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %334, i32 noundef 300000)
  %336 = load ptr, ptr %9, align 8, !tbaa !9
  %337 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %336, i32 0, i32 5
  %338 = load i8, ptr %337, align 8, !tbaa !21, !range !19, !noundef !20
  %339 = trunc i8 %338 to i1
  %340 = zext i1 %339 to i64
  call void @_assert_true(i64 noundef %340, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 691)
  %341 = load ptr, ptr %9, align 8, !tbaa !9
  %342 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %341, i32 0, i32 4
  %343 = load i32, ptr %342, align 4, !tbaa !23
  %344 = icmp eq i32 %343, 300000
  %345 = zext i1 %344 to i32
  %346 = sext i32 %345 to i64
  call void @_assert_true(i64 noundef %346, ptr noundef @.str.65, ptr noundef @.str.2, i32 noundef 692)
  %347 = load ptr, ptr %9, align 8, !tbaa !9
  %348 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %347, i32 noundef 500000)
  %349 = load ptr, ptr %9, align 8, !tbaa !9
  %350 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %349, i32 0, i32 5
  %351 = load i8, ptr %350, align 8, !tbaa !21, !range !19, !noundef !20
  %352 = trunc i8 %351 to i1
  %353 = zext i1 %352 to i64
  call void @_assert_true(i64 noundef %353, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 694)
  %354 = load ptr, ptr %9, align 8, !tbaa !9
  %355 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %354, i32 0, i32 4
  %356 = load i32, ptr %355, align 4, !tbaa !23
  %357 = icmp eq i32 %356, 600000
  %358 = zext i1 %357 to i32
  %359 = sext i32 %358 to i64
  call void @_assert_true(i64 noundef %359, ptr noundef @.str.66, ptr noundef @.str.2, i32 noundef 695)
  %360 = load ptr, ptr %9, align 8, !tbaa !9
  %361 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %360, i32 noundef 600000)
  %362 = load ptr, ptr %9, align 8, !tbaa !9
  %363 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %362, i32 0, i32 5
  %364 = load i8, ptr %363, align 8, !tbaa !21, !range !19, !noundef !20
  %365 = trunc i8 %364 to i1
  %366 = zext i1 %365 to i64
  call void @_assert_true(i64 noundef %366, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 697)
  %367 = load ptr, ptr %9, align 8, !tbaa !9
  %368 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %367, i32 0, i32 4
  %369 = load i32, ptr %368, align 4, !tbaa !23
  %370 = icmp eq i32 %369, 600000
  %371 = zext i1 %370 to i32
  %372 = sext i32 %371 to i64
  call void @_assert_true(i64 noundef %372, ptr noundef @.str.66, ptr noundef @.str.2, i32 noundef 698)
  %373 = load ptr, ptr %9, align 8, !tbaa !9
  %374 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %373, i32 noundef 700000)
  %375 = load ptr, ptr %9, align 8, !tbaa !9
  %376 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %375, i32 0, i32 5
  %377 = load i8, ptr %376, align 8, !tbaa !21, !range !19, !noundef !20
  %378 = trunc i8 %377 to i1
  %379 = zext i1 %378 to i64
  call void @_assert_true(i64 noundef %379, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 700)
  %380 = load ptr, ptr %9, align 8, !tbaa !9
  %381 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %380, i32 0, i32 4
  %382 = load i32, ptr %381, align 4, !tbaa !23
  %383 = icmp eq i32 %382, 800000
  %384 = zext i1 %383 to i32
  %385 = sext i32 %384 to i64
  call void @_assert_true(i64 noundef %385, ptr noundef @.str.67, ptr noundef @.str.2, i32 noundef 701)
  %386 = load ptr, ptr %9, align 8, !tbaa !9
  %387 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %386, i32 noundef 800000)
  %388 = load ptr, ptr %9, align 8, !tbaa !9
  %389 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %388, i32 0, i32 5
  %390 = load i8, ptr %389, align 8, !tbaa !21, !range !19, !noundef !20
  %391 = trunc i8 %390 to i1
  %392 = zext i1 %391 to i64
  call void @_assert_true(i64 noundef %392, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 703)
  %393 = load ptr, ptr %9, align 8, !tbaa !9
  %394 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %393, i32 0, i32 4
  %395 = load i32, ptr %394, align 4, !tbaa !23
  %396 = icmp eq i32 %395, 800000
  %397 = zext i1 %396 to i32
  %398 = sext i32 %397 to i64
  call void @_assert_true(i64 noundef %398, ptr noundef @.str.67, ptr noundef @.str.2, i32 noundef 704)
  %399 = load ptr, ptr %9, align 8, !tbaa !9
  %400 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %399, i32 noundef 900000)
  %401 = load ptr, ptr %9, align 8, !tbaa !9
  %402 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %401, i32 0, i32 5
  %403 = load i8, ptr %402, align 8, !tbaa !21, !range !19, !noundef !20
  %404 = trunc i8 %403 to i1
  %405 = xor i1 %404, true
  %406 = zext i1 %405 to i32
  %407 = sext i32 %406 to i64
  call void @_assert_true(i64 noundef %407, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 706)
  %408 = load ptr, ptr %9, align 8, !tbaa !9
  %409 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %408, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %410

410:                                              ; preds = %431, %274
  %411 = load i32, ptr %15, align 4, !tbaa !11
  %412 = icmp ult i32 %411, 66000
  br i1 %412, label %414, label %413

413:                                              ; preds = %410
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %434

414:                                              ; preds = %410
  %415 = load ptr, ptr %9, align 8, !tbaa !9
  %416 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %415, i32 0, i32 5
  %417 = load i8, ptr %416, align 8, !tbaa !21, !range !19, !noundef !20
  %418 = trunc i8 %417 to i1
  %419 = zext i1 %418 to i64
  call void @_assert_true(i64 noundef %419, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 709)
  %420 = load ptr, ptr %9, align 8, !tbaa !9
  %421 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %420, i32 0, i32 4
  %422 = load i32, ptr %421, align 4, !tbaa !23
  %423 = load i32, ptr %15, align 4, !tbaa !11
  %424 = icmp eq i32 %422, %423
  %425 = zext i1 %424 to i32
  %426 = sext i32 %425 to i64
  call void @_assert_true(i64 noundef %426, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 710)
  %427 = load ptr, ptr %9, align 8, !tbaa !9
  %428 = load i32, ptr %15, align 4, !tbaa !11
  %429 = add i32 %428, 1
  %430 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %427, i32 noundef %429)
  br label %431

431:                                              ; preds = %414
  %432 = load i32, ptr %15, align 4, !tbaa !11
  %433 = add i32 %432, 3
  store i32 %433, ptr %15, align 4, !tbaa !11
  br label %410, !llvm.loop !29

434:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  store i32 100000, ptr %16, align 4, !tbaa !11
  br label %435

435:                                              ; preds = %456, %434
  %436 = load i32, ptr %16, align 4, !tbaa !11
  %437 = icmp ult i32 %436, 200000
  br i1 %437, label %439, label %438

438:                                              ; preds = %435
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %459

439:                                              ; preds = %435
  %440 = load ptr, ptr %9, align 8, !tbaa !9
  %441 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %440, i32 0, i32 5
  %442 = load i8, ptr %441, align 8, !tbaa !21, !range !19, !noundef !20
  %443 = trunc i8 %442 to i1
  %444 = zext i1 %443 to i64
  call void @_assert_true(i64 noundef %444, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 714)
  %445 = load ptr, ptr %9, align 8, !tbaa !9
  %446 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %445, i32 0, i32 4
  %447 = load i32, ptr %446, align 4, !tbaa !23
  %448 = load i32, ptr %16, align 4, !tbaa !11
  %449 = icmp eq i32 %447, %448
  %450 = zext i1 %449 to i32
  %451 = sext i32 %450 to i64
  call void @_assert_true(i64 noundef %451, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 715)
  %452 = load ptr, ptr %9, align 8, !tbaa !9
  %453 = load i32, ptr %16, align 4, !tbaa !11
  %454 = add i32 %453, 1
  %455 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %452, i32 noundef %454)
  br label %456

456:                                              ; preds = %439
  %457 = load i32, ptr %16, align 4, !tbaa !11
  %458 = add i32 %457, 1
  store i32 %458, ptr %16, align 4, !tbaa !11
  br label %435, !llvm.loop !30

459:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 300000, ptr %17, align 4, !tbaa !11
  br label %460

460:                                              ; preds = %481, %459
  %461 = load i32, ptr %17, align 4, !tbaa !11
  %462 = icmp ult i32 %461, 500000
  br i1 %462, label %464, label %463

463:                                              ; preds = %460
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  br label %484

464:                                              ; preds = %460
  %465 = load ptr, ptr %9, align 8, !tbaa !9
  %466 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %465, i32 0, i32 5
  %467 = load i8, ptr %466, align 8, !tbaa !21, !range !19, !noundef !20
  %468 = trunc i8 %467 to i1
  %469 = zext i1 %468 to i64
  call void @_assert_true(i64 noundef %469, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 719)
  %470 = load ptr, ptr %9, align 8, !tbaa !9
  %471 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %470, i32 0, i32 4
  %472 = load i32, ptr %471, align 4, !tbaa !23
  %473 = load i32, ptr %17, align 4, !tbaa !11
  %474 = icmp eq i32 %472, %473
  %475 = zext i1 %474 to i32
  %476 = sext i32 %475 to i64
  call void @_assert_true(i64 noundef %476, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 720)
  %477 = load ptr, ptr %9, align 8, !tbaa !9
  %478 = load i32, ptr %17, align 4, !tbaa !11
  %479 = add i32 %478, 1
  %480 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %477, i32 noundef %479)
  br label %481

481:                                              ; preds = %464
  %482 = load i32, ptr %17, align 4, !tbaa !11
  %483 = add i32 %482, 100
  store i32 %483, ptr %17, align 4, !tbaa !11
  br label %460, !llvm.loop !31

484:                                              ; preds = %463
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 600000, ptr %18, align 4, !tbaa !11
  br label %485

485:                                              ; preds = %506, %484
  %486 = load i32, ptr %18, align 4, !tbaa !11
  %487 = icmp ult i32 %486, 700000
  br i1 %487, label %489, label %488

488:                                              ; preds = %485
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  br label %509

489:                                              ; preds = %485
  %490 = load ptr, ptr %9, align 8, !tbaa !9
  %491 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %490, i32 0, i32 5
  %492 = load i8, ptr %491, align 8, !tbaa !21, !range !19, !noundef !20
  %493 = trunc i8 %492 to i1
  %494 = zext i1 %493 to i64
  call void @_assert_true(i64 noundef %494, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 724)
  %495 = load ptr, ptr %9, align 8, !tbaa !9
  %496 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %495, i32 0, i32 4
  %497 = load i32, ptr %496, align 4, !tbaa !23
  %498 = load i32, ptr %18, align 4, !tbaa !11
  %499 = icmp eq i32 %497, %498
  %500 = zext i1 %499 to i32
  %501 = sext i32 %500 to i64
  call void @_assert_true(i64 noundef %501, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 725)
  %502 = load ptr, ptr %9, align 8, !tbaa !9
  %503 = load i32, ptr %18, align 4, !tbaa !11
  %504 = add i32 %503, 1
  %505 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %502, i32 noundef %504)
  br label %506

506:                                              ; preds = %489
  %507 = load i32, ptr %18, align 4, !tbaa !11
  %508 = add i32 %507, 1
  store i32 %508, ptr %18, align 4, !tbaa !11
  br label %485, !llvm.loop !32

509:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 800000, ptr %19, align 4, !tbaa !11
  br label %510

510:                                              ; preds = %531, %509
  %511 = load i32, ptr %19, align 4, !tbaa !11
  %512 = icmp ult i32 %511, 900000
  br i1 %512, label %514, label %513

513:                                              ; preds = %510
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %534

514:                                              ; preds = %510
  %515 = load ptr, ptr %9, align 8, !tbaa !9
  %516 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %515, i32 0, i32 5
  %517 = load i8, ptr %516, align 8, !tbaa !21, !range !19, !noundef !20
  %518 = trunc i8 %517 to i1
  %519 = zext i1 %518 to i64
  call void @_assert_true(i64 noundef %519, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 729)
  %520 = load ptr, ptr %9, align 8, !tbaa !9
  %521 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %520, i32 0, i32 4
  %522 = load i32, ptr %521, align 4, !tbaa !23
  %523 = load i32, ptr %19, align 4, !tbaa !11
  %524 = icmp eq i32 %522, %523
  %525 = zext i1 %524 to i32
  %526 = sext i32 %525 to i64
  call void @_assert_true(i64 noundef %526, ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 730)
  %527 = load ptr, ptr %9, align 8, !tbaa !9
  %528 = load i32, ptr %19, align 4, !tbaa !11
  %529 = add i32 %528, 1
  %530 = call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %527, i32 noundef %529)
  br label %531

531:                                              ; preds = %514
  %532 = load i32, ptr %19, align 4, !tbaa !11
  %533 = add i32 %532, 7
  store i32 %533, ptr %19, align 4, !tbaa !11
  br label %510, !llvm.loop !33

534:                                              ; preds = %513
  %535 = load ptr, ptr %9, align 8, !tbaa !9
  %536 = getelementptr inbounds %struct.roaring_uint32_iterator_s, ptr %535, i32 0, i32 5
  %537 = load i8, ptr %536, align 8, !tbaa !21, !range !19, !noundef !20
  %538 = trunc i8 %537 to i1
  %539 = xor i1 %538, true
  %540 = zext i1 %539 to i32
  %541 = sext i32 %540 to i64
  call void @_assert_true(i64 noundef %541, ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 733)
  %542 = load ptr, ptr %9, align 8, !tbaa !9
  call void @roaring_free_uint32_iterator(ptr noundef %542)
  %543 = load ptr, ptr %3, align 8, !tbaa !9
  call void @roaring_bitmap_free(ptr noundef %543)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

declare zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef, i32 noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"_Bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !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 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!22, !6, i64 24}
!22 = !{!"roaring_uint32_iterator_s", !10, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !6, i64 24, !10, i64 32, !7, i64 40, !12, i64 44}
!23 = !{!22, !12, i64 20}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = distinct !{!33, !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.61 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [30 x i8], align 1

declare void @roaring_bitmap_free(ptr noundef) local_unnamed_addr #0

declare ptr @roaring_bitmap_create() local_unnamed_addr #0

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

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

declare zeroext i1 @roaring_advance_uint32_iterator(ptr noundef) local_unnamed_addr #0

declare zeroext i1 @roaring_bitmap_run_optimize(ptr noundef) local_unnamed_addr #0

declare ptr @roaring_create_iterator(ptr noundef) local_unnamed_addr #0

declare void @roaring_free_uint32_iterator(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @test_uint32_iterator(i1 noundef zeroext %0) local_unnamed_addr #1 {
  %2 = tail call ptr @roaring_bitmap_create() #2
  br label %3

3:                                                ; preds = %1, %3
  %.0155171 = phi i32 [ 0, %1 ], [ %4, %3 ]
  tail call void @roaring_bitmap_add(ptr noundef %2, i32 noundef %.0155171) #2
  %4 = add nuw nsw i32 %.0155171, 3
  %5 = icmp ult i32 %.0155171, 65997
  br i1 %5, label %3, label %.preheader170, !llvm.loop !5

.preheader170:                                    ; preds = %3, %.preheader170
  %.0159172 = phi i32 [ %6, %.preheader170 ], [ 100000, %3 ]
  tail call void @roaring_bitmap_add(ptr noundef %2, i32 noundef %.0159172) #2
  %6 = add nuw nsw i32 %.0159172, 1
  %exitcond.not = icmp eq i32 %6, 200000
  br i1 %exitcond.not, label %.preheader169, label %.preheader170, !llvm.loop !7

.preheader169:                                    ; preds = %.preheader170, %.preheader169
  %.0158173 = phi i32 [ %7, %.preheader169 ], [ 300000, %.preheader170 ]
  tail call void @roaring_bitmap_add(ptr noundef %2, i32 noundef %.0158173) #2
  %7 = add nuw nsw i32 %.0158173, 100
  %8 = icmp ult i32 %.0158173, 499900
  br i1 %8, label %.preheader169, label %.preheader168, !llvm.loop !8

.preheader168:                                    ; preds = %.preheader169, %.preheader168
  %.0157174 = phi i32 [ %9, %.preheader168 ], [ 600000, %.preheader169 ]
  tail call void @roaring_bitmap_add(ptr noundef %2, i32 noundef %.0157174) #2
  %9 = add nuw nsw i32 %.0157174, 1
  %exitcond186.not = icmp eq i32 %9, 700000
  br i1 %exitcond186.not, label %.preheader167, label %.preheader168, !llvm.loop !9

10:                                               ; preds = %.preheader167
  br i1 %0, label %13, label %15

.preheader167:                                    ; preds = %.preheader168, %.preheader167
  %.0156175 = phi i32 [ %11, %.preheader167 ], [ 800000, %.preheader168 ]
  tail call void @roaring_bitmap_add(ptr noundef %2, i32 noundef %.0156175) #2
  %11 = add nuw nsw i32 %.0156175, 7
  %12 = icmp ult i32 %.0156175, 899993
  br i1 %12, label %.preheader167, label %10, !llvm.loop !10

13:                                               ; preds = %10
  %14 = tail call zeroext i1 @roaring_bitmap_run_optimize(ptr noundef %2) #2
  br label %15

15:                                               ; preds = %13, %10
  %16 = tail call ptr @roaring_create_iterator(ptr noundef %2) #2
  %17 = getelementptr inbounds i8, ptr %16, i64 24
  %18 = getelementptr inbounds i8, ptr %16, i64 20
  br label %19

19:                                               ; preds = %15, %19
  %.0154176 = phi i32 [ 0, %15 ], [ %32, %19 ]
  %20 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %21 = zext nneg i8 %20 to i64
  tail call void @_assert_true(i64 noundef %21, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 638) #2
  %22 = load i32, ptr %18, align 4, !tbaa !20
  %23 = icmp eq i32 %22, %.0154176
  %24 = zext i1 %23 to i64
  tail call void @_assert_true(i64 noundef %24, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 639) #2
  %25 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef %16, i32 noundef %.0154176) #2
  %26 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %27 = zext nneg i8 %26 to i64
  tail call void @_assert_true(i64 noundef %27, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 641) #2
  %28 = load i32, ptr %18, align 4, !tbaa !20
  %29 = icmp eq i32 %28, %.0154176
  %30 = zext i1 %29 to i64
  tail call void @_assert_true(i64 noundef %30, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 642) #2
  %31 = tail call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef %16) #2
  %32 = add nuw nsw i32 %.0154176, 3
  %33 = icmp ult i32 %.0154176, 65997
  br i1 %33, label %19, label %.preheader166, !llvm.loop !21

.preheader166:                                    ; preds = %19, %.preheader166
  %.0153177 = phi i32 [ %46, %.preheader166 ], [ 100000, %19 ]
  %34 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %35 = zext nneg i8 %34 to i64
  tail call void @_assert_true(i64 noundef %35, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 646) #2
  %36 = load i32, ptr %18, align 4, !tbaa !20
  %37 = icmp eq i32 %36, %.0153177
  %38 = zext i1 %37 to i64
  tail call void @_assert_true(i64 noundef %38, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 647) #2
  %39 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %.0153177) #2
  %40 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %41 = zext nneg i8 %40 to i64
  tail call void @_assert_true(i64 noundef %41, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 649) #2
  %42 = load i32, ptr %18, align 4, !tbaa !20
  %43 = icmp eq i32 %42, %.0153177
  %44 = zext i1 %43 to i64
  tail call void @_assert_true(i64 noundef %44, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 650) #2
  %45 = tail call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef nonnull %16) #2
  %46 = add nuw nsw i32 %.0153177, 1
  %exitcond187.not = icmp eq i32 %46, 200000
  br i1 %exitcond187.not, label %.preheader165, label %.preheader166, !llvm.loop !22

.preheader165:                                    ; preds = %.preheader166, %.preheader165
  %.0152178 = phi i32 [ %59, %.preheader165 ], [ 300000, %.preheader166 ]
  %47 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %48 = zext nneg i8 %47 to i64
  tail call void @_assert_true(i64 noundef %48, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 654) #2
  %49 = load i32, ptr %18, align 4, !tbaa !20
  %50 = icmp eq i32 %49, %.0152178
  %51 = zext i1 %50 to i64
  tail call void @_assert_true(i64 noundef %51, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 655) #2
  %52 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %.0152178) #2
  %53 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %54 = zext nneg i8 %53 to i64
  tail call void @_assert_true(i64 noundef %54, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 657) #2
  %55 = load i32, ptr %18, align 4, !tbaa !20
  %56 = icmp eq i32 %55, %.0152178
  %57 = zext i1 %56 to i64
  tail call void @_assert_true(i64 noundef %57, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 658) #2
  %58 = tail call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef nonnull %16) #2
  %59 = add nuw nsw i32 %.0152178, 100
  %60 = icmp ult i32 %.0152178, 499900
  br i1 %60, label %.preheader165, label %.preheader164, !llvm.loop !23

.preheader164:                                    ; preds = %.preheader165, %.preheader164
  %.0151179 = phi i32 [ %73, %.preheader164 ], [ 600000, %.preheader165 ]
  %61 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %62 = zext nneg i8 %61 to i64
  tail call void @_assert_true(i64 noundef %62, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 662) #2
  %63 = load i32, ptr %18, align 4, !tbaa !20
  %64 = icmp eq i32 %63, %.0151179
  %65 = zext i1 %64 to i64
  tail call void @_assert_true(i64 noundef %65, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 663) #2
  %66 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %.0151179) #2
  %67 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %68 = zext nneg i8 %67 to i64
  tail call void @_assert_true(i64 noundef %68, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 665) #2
  %69 = load i32, ptr %18, align 4, !tbaa !20
  %70 = icmp eq i32 %69, %.0151179
  %71 = zext i1 %70 to i64
  tail call void @_assert_true(i64 noundef %71, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 666) #2
  %72 = tail call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef nonnull %16) #2
  %73 = add nuw nsw i32 %.0151179, 1
  %exitcond188.not = icmp eq i32 %73, 700000
  br i1 %exitcond188.not, label %.preheader163, label %.preheader164, !llvm.loop !24

74:                                               ; preds = %.preheader163
  %75 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %76 = xor i8 %75, 1
  %77 = zext nneg i8 %76 to i64
  tail call void @_assert_true(i64 noundef %77, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 677) #2
  %78 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 0) #2
  %79 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %80 = zext nneg i8 %79 to i64
  tail call void @_assert_true(i64 noundef %80, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 679) #2
  %81 = load i32, ptr %18, align 4, !tbaa !20
  %82 = icmp eq i32 %81, 0
  %83 = zext i1 %82 to i64
  tail call void @_assert_true(i64 noundef %83, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.2, i32 noundef 680) #2
  %84 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 66000) #2
  %85 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %86 = zext nneg i8 %85 to i64
  tail call void @_assert_true(i64 noundef %86, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 682) #2
  %87 = load i32, ptr %18, align 4, !tbaa !20
  %88 = icmp eq i32 %87, 100000
  %89 = zext i1 %88 to i64
  tail call void @_assert_true(i64 noundef %89, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.2, i32 noundef 683) #2
  %90 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 100000) #2
  %91 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %92 = zext nneg i8 %91 to i64
  tail call void @_assert_true(i64 noundef %92, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 685) #2
  %93 = load i32, ptr %18, align 4, !tbaa !20
  %94 = icmp eq i32 %93, 100000
  %95 = zext i1 %94 to i64
  tail call void @_assert_true(i64 noundef %95, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.2, i32 noundef 686) #2
  %96 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 200000) #2
  %97 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %98 = zext nneg i8 %97 to i64
  tail call void @_assert_true(i64 noundef %98, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 688) #2
  %99 = load i32, ptr %18, align 4, !tbaa !20
  %100 = icmp eq i32 %99, 300000
  %101 = zext i1 %100 to i64
  tail call void @_assert_true(i64 noundef %101, ptr noundef nonnull @.str.65, ptr noundef nonnull @.str.2, i32 noundef 689) #2
  %102 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 300000) #2
  %103 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %104 = zext nneg i8 %103 to i64
  tail call void @_assert_true(i64 noundef %104, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 691) #2
  %105 = load i32, ptr %18, align 4, !tbaa !20
  %106 = icmp eq i32 %105, 300000
  %107 = zext i1 %106 to i64
  tail call void @_assert_true(i64 noundef %107, ptr noundef nonnull @.str.65, ptr noundef nonnull @.str.2, i32 noundef 692) #2
  %108 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 500000) #2
  %109 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %110 = zext nneg i8 %109 to i64
  tail call void @_assert_true(i64 noundef %110, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 694) #2
  %111 = load i32, ptr %18, align 4, !tbaa !20
  %112 = icmp eq i32 %111, 600000
  %113 = zext i1 %112 to i64
  tail call void @_assert_true(i64 noundef %113, ptr noundef nonnull @.str.66, ptr noundef nonnull @.str.2, i32 noundef 695) #2
  %114 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 600000) #2
  %115 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %116 = zext nneg i8 %115 to i64
  tail call void @_assert_true(i64 noundef %116, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 697) #2
  %117 = load i32, ptr %18, align 4, !tbaa !20
  %118 = icmp eq i32 %117, 600000
  %119 = zext i1 %118 to i64
  tail call void @_assert_true(i64 noundef %119, ptr noundef nonnull @.str.66, ptr noundef nonnull @.str.2, i32 noundef 698) #2
  %120 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 700000) #2
  %121 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %122 = zext nneg i8 %121 to i64
  tail call void @_assert_true(i64 noundef %122, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 700) #2
  %123 = load i32, ptr %18, align 4, !tbaa !20
  %124 = icmp eq i32 %123, 800000
  %125 = zext i1 %124 to i64
  tail call void @_assert_true(i64 noundef %125, ptr noundef nonnull @.str.67, ptr noundef nonnull @.str.2, i32 noundef 701) #2
  %126 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 800000) #2
  %127 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %128 = zext nneg i8 %127 to i64
  tail call void @_assert_true(i64 noundef %128, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 703) #2
  %129 = load i32, ptr %18, align 4, !tbaa !20
  %130 = icmp eq i32 %129, 800000
  %131 = zext i1 %130 to i64
  tail call void @_assert_true(i64 noundef %131, ptr noundef nonnull @.str.67, ptr noundef nonnull @.str.2, i32 noundef 704) #2
  %132 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 900000) #2
  %133 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %134 = xor i8 %133, 1
  %135 = zext nneg i8 %134 to i64
  tail call void @_assert_true(i64 noundef %135, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 706) #2
  %136 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef 0) #2
  br label %151

.preheader163:                                    ; preds = %.preheader164, %.preheader163
  %.0150180 = phi i32 [ %149, %.preheader163 ], [ 800000, %.preheader164 ]
  %137 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %138 = zext nneg i8 %137 to i64
  tail call void @_assert_true(i64 noundef %138, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 670) #2
  %139 = load i32, ptr %18, align 4, !tbaa !20
  %140 = icmp eq i32 %139, %.0150180
  %141 = zext i1 %140 to i64
  tail call void @_assert_true(i64 noundef %141, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 671) #2
  %142 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %.0150180) #2
  %143 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %144 = zext nneg i8 %143 to i64
  tail call void @_assert_true(i64 noundef %144, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 673) #2
  %145 = load i32, ptr %18, align 4, !tbaa !20
  %146 = icmp eq i32 %145, %.0150180
  %147 = zext i1 %146 to i64
  tail call void @_assert_true(i64 noundef %147, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 674) #2
  %148 = tail call zeroext i1 @roaring_advance_uint32_iterator(ptr noundef nonnull %16) #2
  %149 = add nuw nsw i32 %.0150180, 7
  %150 = icmp ult i32 %.0150180, 899993
  br i1 %150, label %.preheader163, label %74, !llvm.loop !25

151:                                              ; preds = %74, %151
  %.0149181 = phi i32 [ 0, %74 ], [ %159, %151 ]
  %152 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %153 = zext nneg i8 %152 to i64
  tail call void @_assert_true(i64 noundef %153, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 709) #2
  %154 = load i32, ptr %18, align 4, !tbaa !20
  %155 = icmp eq i32 %154, %.0149181
  %156 = zext i1 %155 to i64
  tail call void @_assert_true(i64 noundef %156, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 710) #2
  %157 = add nuw nsw i32 %.0149181, 1
  %158 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %157) #2
  %159 = add nuw nsw i32 %.0149181, 3
  %160 = icmp ult i32 %.0149181, 65997
  br i1 %160, label %151, label %.preheader162, !llvm.loop !26

.preheader162:                                    ; preds = %151, %.preheader162
  %.0148182 = phi i32 [ %166, %.preheader162 ], [ 100000, %151 ]
  %161 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %162 = zext nneg i8 %161 to i64
  tail call void @_assert_true(i64 noundef %162, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 714) #2
  %163 = load i32, ptr %18, align 4, !tbaa !20
  %164 = icmp eq i32 %163, %.0148182
  %165 = zext i1 %164 to i64
  tail call void @_assert_true(i64 noundef %165, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 715) #2
  %166 = add nuw nsw i32 %.0148182, 1
  %167 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %166) #2
  %exitcond189.not = icmp eq i32 %166, 200000
  br i1 %exitcond189.not, label %.preheader161, label %.preheader162, !llvm.loop !27

.preheader161:                                    ; preds = %.preheader162, %.preheader161
  %.0147183 = phi i32 [ %175, %.preheader161 ], [ 300000, %.preheader162 ]
  %168 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %169 = zext nneg i8 %168 to i64
  tail call void @_assert_true(i64 noundef %169, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 719) #2
  %170 = load i32, ptr %18, align 4, !tbaa !20
  %171 = icmp eq i32 %170, %.0147183
  %172 = zext i1 %171 to i64
  tail call void @_assert_true(i64 noundef %172, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 720) #2
  %173 = or disjoint i32 %.0147183, 1
  %174 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %173) #2
  %175 = add nuw nsw i32 %.0147183, 100
  %176 = icmp ult i32 %.0147183, 499900
  br i1 %176, label %.preheader161, label %.preheader160, !llvm.loop !28

.preheader160:                                    ; preds = %.preheader161, %.preheader160
  %.0146184 = phi i32 [ %182, %.preheader160 ], [ 600000, %.preheader161 ]
  %177 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %178 = zext nneg i8 %177 to i64
  tail call void @_assert_true(i64 noundef %178, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 724) #2
  %179 = load i32, ptr %18, align 4, !tbaa !20
  %180 = icmp eq i32 %179, %.0146184
  %181 = zext i1 %180 to i64
  tail call void @_assert_true(i64 noundef %181, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 725) #2
  %182 = add nuw nsw i32 %.0146184, 1
  %183 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %182) #2
  %exitcond190.not = icmp eq i32 %182, 700000
  br i1 %exitcond190.not, label %.preheader, label %.preheader160, !llvm.loop !29

184:                                              ; preds = %.preheader
  %185 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %186 = xor i8 %185, 1
  %187 = zext nneg i8 %186 to i64
  tail call void @_assert_true(i64 noundef %187, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 733) #2
  tail call void @roaring_free_uint32_iterator(ptr noundef nonnull %16) #2
  tail call void @roaring_bitmap_free(ptr noundef %2) #2
  ret void

.preheader:                                       ; preds = %.preheader160, %.preheader
  %.0185 = phi i32 [ %195, %.preheader ], [ 800000, %.preheader160 ]
  %188 = load i8, ptr %17, align 8, !tbaa !11, !range !18, !noundef !19
  %189 = zext nneg i8 %188 to i64
  tail call void @_assert_true(i64 noundef %189, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 729) #2
  %190 = load i32, ptr %18, align 4, !tbaa !20
  %191 = icmp eq i32 %190, %.0185
  %192 = zext i1 %191 to i64
  tail call void @_assert_true(i64 noundef %192, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 730) #2
  %193 = add nuw nsw i32 %.0185, 1
  %194 = tail call zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef nonnull %16, i32 noundef %193) #2
  %195 = add nuw nsw i32 %.0185, 7
  %196 = icmp ult i32 %.0185, 899993
  br i1 %196, label %.preheader, label %184, !llvm.loop !30
}

declare zeroext i1 @roaring_move_uint32_iterator_equalorlarger(ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

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


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