; LLVM IR from jermp/2i_bench :: external/CRoaring/tests/cpp_unit.ll (Z16test_example_cppb)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.Roaring = type { %struct.roaring_bitmap_s }
%struct.roaring_bitmap_s = type { %struct.roaring_array_s }
%struct.roaring_array_s = type { i32, i32, ptr, ptr, ptr, i8 }
%class.RoaringSetBitForwardIterator = type { %struct.roaring_uint32_iterator_s }
%struct.roaring_uint32_iterator_s = type { ptr, i32, i32, i32, i32, i8, ptr, i8, i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@__const._Z16test_example_cppb.values = external hidden unnamed_addr constant [3 x i32], align 4
@.str.22 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [27 x i8], align 1
@__const._Z16test_example_cppb.manyvalues = external hidden unnamed_addr constant [5 x i32], align 16
@.str.30 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z23roaring_iterator_sumalljPv(i32 noundef, ptr noundef) #0

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring5writeEPcb(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring4readEPKcb(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef, i1 noundef zeroext) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

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

declare i32 @printf(ptr noundef, ...) #5

declare void @_assert_int_equal(i64 noundef, i64 noundef, ptr noundef, i32 noundef) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16test_example_cppb(i1 noundef zeroext %0) #3 personality ptr @__gxx_personality_v0 {
  %2 = alloca i8, align 1
  %3 = alloca %class.Roaring, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca %class.Roaring, align 8
  %11 = alloca i32, align 4
  %12 = alloca [3 x i32], align 4
  %13 = alloca %class.Roaring, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %class.Roaring, align 8
  %17 = alloca %class.Roaring, align 8
  %18 = alloca %class.Roaring, align 8
  %19 = alloca [3 x ptr], align 16
  %20 = alloca %class.Roaring, align 8
  %21 = alloca %class.Roaring, align 8
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %class.Roaring, align 8
  %25 = alloca %class.Roaring, align 8
  %26 = alloca i32, align 4
  %27 = alloca %class.RoaringSetBitForwardIterator, align 8
  %28 = alloca %class.RoaringSetBitForwardIterator, align 8
  %29 = alloca [5 x i32], align 16
  %30 = alloca %class.Roaring, align 8
  %31 = alloca %class.RoaringSetBitForwardIterator, align 8
  %32 = alloca %class.Roaring, align 8
  %33 = alloca %class.Roaring, align 8
  %34 = alloca %class.Roaring, align 8
  %35 = alloca %class.Roaring, align 8
  %36 = alloca %class.Roaring, align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = zext i1 %0 to i8
  store i8 %38, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %3) #9
  call void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3)
  %39 = load i8, ptr %2, align 1, !tbaa !5, !range !9, !noundef !10
  %40 = trunc i8 %39 to i1
  invoke void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %3, i1 noundef zeroext %40)
          to label %41 unwind label %46

41:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 100, ptr %6, align 4, !tbaa !11
  br label %42

42:                                               ; preds = %53, %41
  %43 = load i32, ptr %6, align 4, !tbaa !11
  %44 = icmp ult i32 %43, 1000
  br i1 %44, label %50, label %45

45:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %60

46:                                               ; preds = %62, %60, %1
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %4, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %5, align 4
  br label %489

50:                                               ; preds = %42
  %51 = load i32, ptr %6, align 4, !tbaa !11
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %3, i32 noundef %51)
          to label %52 unwind label %56

52:                                               ; preds = %50
  br label %53

53:                                               ; preds = %52
  %54 = load i32, ptr %6, align 4, !tbaa !11
  %55 = add i32 %54, 1
  store i32 %55, ptr %6, align 4, !tbaa !11
  br label %42, !llvm.loop !13

56:                                               ; preds = %50
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %4, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %489

60:                                               ; preds = %45
  %61 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %3, i32 noundef 500)
          to label %62 unwind label %46

62:                                               ; preds = %60
  %63 = zext i1 %61 to i64
  invoke void @_assert_true(i64 noundef %63, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 160)
          to label %64 unwind label %46

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %65 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %66 unwind label %218

66:                                               ; preds = %64
  store i64 %65, ptr %7, align 8, !tbaa !15
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
          to label %68 unwind label %218

68:                                               ; preds = %66
  %69 = load i64, ptr %7, align 8, !tbaa !15
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %67, i64 noundef %69)
          to label %71 unwind label %218

71:                                               ; preds = %68
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %73 unwind label %218

73:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %74 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %3, i1 noundef zeroext true)
          to label %75 unwind label %222

75:                                               ; preds = %73
  store i64 %74, ptr %8, align 8, !tbaa !15
  %76 = invoke noundef zeroext i1 @_ZN7Roaring11runOptimizeEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %77 unwind label %222

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %78 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %3, i1 noundef zeroext true)
          to label %79 unwind label %226

79:                                               ; preds = %77
  store i64 %78, ptr %9, align 8, !tbaa !15
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.15)
          to label %81 unwind label %226

81:                                               ; preds = %79
  %82 = load i64, ptr %8, align 8, !tbaa !15
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %80, i64 noundef %82)
          to label %84 unwind label %226

84:                                               ; preds = %81
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef @.str.16)
          to label %86 unwind label %226

86:                                               ; preds = %84
  %87 = load i64, ptr %9, align 8, !tbaa !15
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %85, i64 noundef %87)
          to label %89 unwind label %226

89:                                               ; preds = %86
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef @.str.17)
          to label %91 unwind label %226

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %93 unwind label %226

93:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #9
  invoke void (ptr, i64, ...) @_ZN7Roaring8bitmapOfEmz(ptr dead_on_unwind writable sret(%class.Roaring) align 8 %10, i64 noundef 5, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 5, i32 noundef 6)
          to label %94 unwind label %230

94:                                               ; preds = %93
  invoke void @_ZNK7Roaring6printfEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %95 unwind label %234

95:                                               ; preds = %94
  %96 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6)
          to label %97 unwind label %234

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %98 = invoke noundef zeroext i1 @_ZNK7Roaring6selectEjPj(ptr noundef nonnull align 8 dereferenceable(40) %10, i32 noundef 3, ptr noundef %11)
          to label %99 unwind label %238

99:                                               ; preds = %97
  %100 = load i32, ptr %11, align 4, !tbaa !11
  %101 = icmp eq i32 %100, 5
  %102 = zext i1 %101 to i64
  invoke void @_assert_true(i64 noundef %102, ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 184)
          to label %103 unwind label %238

103:                                              ; preds = %99
  %104 = invoke noundef i32 @_ZNK7Roaring7minimumEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %105 unwind label %238

105:                                              ; preds = %103
  %106 = icmp eq i32 %104, 1
  %107 = zext i1 %106 to i64
  invoke void @_assert_true(i64 noundef %107, ptr noundef @.str.19, ptr noundef @.str.1, i32 noundef 186)
          to label %108 unwind label %238

108:                                              ; preds = %105
  %109 = invoke noundef i32 @_ZNK7Roaring7maximumEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %110 unwind label %238

110:                                              ; preds = %108
  %111 = icmp eq i32 %109, 6
  %112 = zext i1 %111 to i64
  invoke void @_assert_true(i64 noundef %112, ptr noundef @.str.20, ptr noundef @.str.1, i32 noundef 188)
          to label %113 unwind label %238

113:                                              ; preds = %110
  %114 = invoke noundef i64 @_ZNK7Roaring4rankEj(ptr noundef nonnull align 8 dereferenceable(40) %10, i32 noundef 4)
          to label %115 unwind label %238

115:                                              ; preds = %113
  %116 = icmp eq i64 %114, 3
  %117 = zext i1 %116 to i64
  invoke void @_assert_true(i64 noundef %117, ptr noundef @.str.21, ptr noundef @.str.1, i32 noundef 190)
          to label %118 unwind label %238

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 @__const._Z16test_example_cppb.values, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #9
  %119 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0
  invoke void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef 3, ptr noundef %119)
          to label %120 unwind label %242

120:                                              ; preds = %118
  %121 = load i8, ptr %2, align 1, !tbaa !5, !range !9, !noundef !10
  %122 = trunc i8 %121 to i1
  invoke void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %13, i1 noundef zeroext %122)
          to label %123 unwind label %246

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %124 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %125 unwind label %250

125:                                              ; preds = %123
  store i64 %124, ptr %14, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %126 = load i64, ptr %14, align 8, !tbaa !15
  %127 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %126, i64 4)
  %128 = extractvalue { i64, i1 } %127, 1
  %129 = extractvalue { i64, i1 } %127, 0
  %130 = select i1 %128, i64 -1, i64 %129
  %131 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %130) #10
          to label %132 unwind label %254

132:                                              ; preds = %125
  store ptr %131, ptr %15, align 8, !tbaa !17
  %133 = load ptr, ptr %15, align 8, !tbaa !17
  %134 = icmp ne ptr %133, null
  %135 = zext i1 %134 to i64
  invoke void @_assert_true(i64 noundef %135, ptr noundef @.str.22, ptr noundef @.str.1, i32 noundef 200)
          to label %136 unwind label %254

136:                                              ; preds = %132
  %137 = load ptr, ptr %15, align 8, !tbaa !17
  invoke void @_ZNK7Roaring13toUint32ArrayEPj(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %137)
          to label %138 unwind label %254

138:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #9
  %139 = load i64, ptr %14, align 8, !tbaa !15
  %140 = load ptr, ptr %15, align 8, !tbaa !17
  invoke void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40) %16, i64 noundef %139, ptr noundef %140)
          to label %141 unwind label %258

141:                                              ; preds = %138
  %142 = load ptr, ptr %15, align 8, !tbaa !17
  %143 = icmp eq ptr %142, null
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  call void @_ZdaPv(ptr noundef %142) #11
  br label %145

145:                                              ; preds = %144, %141
  %146 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %147 unwind label %262

147:                                              ; preds = %145
  %148 = zext i1 %146 to i64
  invoke void @_assert_true(i64 noundef %148, ptr noundef @.str.23, ptr noundef @.str.1, i32 noundef 206)
          to label %149 unwind label %262

149:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #9
  invoke void @_ZN7RoaringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %150 unwind label %266

150:                                              ; preds = %149
  %151 = load i8, ptr %2, align 1, !tbaa !5, !range !9, !noundef !10
  %152 = trunc i8 %151 to i1
  invoke void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %17, i1 noundef zeroext %152)
          to label %153 unwind label %270

153:                                              ; preds = %150
  %154 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %155 unwind label %270

155:                                              ; preds = %153
  %156 = zext i1 %154 to i64
  invoke void @_assert_true(i64 noundef %156, ptr noundef @.str.24, ptr noundef @.str.1, i32 noundef 211)
          to label %157 unwind label %270

157:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #9
  invoke void @_ZNK7RoaringorERKS_(ptr dead_on_unwind writable sret(%class.Roaring) align 8 %18, ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %158 unwind label %274

158:                                              ; preds = %157
  %159 = load i8, ptr %2, align 1, !tbaa !5, !range !9, !noundef !10
  %160 = trunc i8 %159 to i1
  invoke void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %18, i1 noundef zeroext %160)
          to label %161 unwind label %278

161:                                              ; preds = %158
  %162 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringoRERKS_(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %163 unwind label %278

163:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #9
  store ptr %3, ptr %19, align 8, !tbaa !17
  %164 = getelementptr inbounds ptr, ptr %19, i64 1
  store ptr %10, ptr %164, align 8, !tbaa !17
  %165 = getelementptr inbounds ptr, ptr %19, i64 2
  store ptr %13, ptr %165, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #9
  %166 = getelementptr inbounds [3 x ptr], ptr %19, i64 0, i64 0
  invoke void @_ZN7Roaring9fastunionEmPPKS_(ptr dead_on_unwind writable sret(%class.Roaring) align 8 %20, i64 noundef 3, ptr noundef %166)
          to label %167 unwind label %282

167:                                              ; preds = %163
  %168 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %169 unwind label %286

169:                                              ; preds = %167
  %170 = zext i1 %168 to i64
  invoke void @_assert_true(i64 noundef %170, ptr noundef @.str.25, ptr noundef @.str.1, i32 noundef 221)
          to label %171 unwind label %286

171:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #9
  invoke void @_ZNK7RoaringanERKS_(ptr dead_on_unwind writable sret(%class.Roaring) align 8 %21, ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %172 unwind label %290

172:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %173 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %3, i1 noundef zeroext true)
          to label %174 unwind label %294

174:                                              ; preds = %172
  store i64 %173, ptr %22, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %175 = load i64, ptr %22, align 8, !tbaa !15
  %176 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %175) #10
          to label %177 unwind label %298

177:                                              ; preds = %174
  store ptr %176, ptr %23, align 8, !tbaa !17
  %178 = load ptr, ptr %23, align 8, !tbaa !17
  %179 = invoke noundef i64 @_ZNK7Roaring5writeEPcb(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %178, i1 noundef zeroext true)
          to label %180 unwind label %298

180:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #9
  %181 = load ptr, ptr %23, align 8, !tbaa !17
  invoke void @_ZN7Roaring4readEPKcb(ptr dead_on_unwind writable sret(%class.Roaring) align 8 %24, ptr noundef %181, i1 noundef zeroext true)
          to label %182 unwind label %302

182:                                              ; preds = %180
  %183 = load i64, ptr %22, align 8, !tbaa !15
  %184 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %24, i1 noundef zeroext true)
          to label %185 unwind label %306

185:                                              ; preds = %182
  %186 = icmp eq i64 %183, %184
  %187 = zext i1 %186 to i64
  invoke void @_assert_true(i64 noundef %187, ptr noundef @.str.26, ptr noundef @.str.1, i32 noundef 231)
          to label %188 unwind label %306

188:                                              ; preds = %185
  %189 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %190 unwind label %306

190:                                              ; preds = %188
  %191 = zext i1 %189 to i64
  invoke void @_assert_true(i64 noundef %191, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 232)
          to label %192 unwind label %306

192:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #9
  %193 = load ptr, ptr %23, align 8, !tbaa !17
  %194 = load i64, ptr %22, align 8, !tbaa !15
  invoke void @_ZN7Roaring8readSafeEPKcm(ptr dead_on_unwind writable sret(%class.Roaring) align 8 %25, ptr noundef %193, i64 noundef %194)
          to label %195 unwind label %310

195:                                              ; preds = %192
  %196 = load i64, ptr %22, align 8, !tbaa !15
  %197 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %25, i1 noundef zeroext true)
          to label %198 unwind label %314

198:                                              ; preds = %195
  %199 = icmp eq i64 %196, %197
  %200 = zext i1 %199 to i64
  invoke void @_assert_true(i64 noundef %200, ptr noundef @.str.27, ptr noundef @.str.1, i32 noundef 235)
          to label %201 unwind label %314

201:                                              ; preds = %198
  %202 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %203 unwind label %314

203:                                              ; preds = %201
  %204 = zext i1 %202 to i64
  invoke void @_assert_true(i64 noundef %204, ptr noundef @.str.28, ptr noundef @.str.1, i32 noundef 236)
          to label %205 unwind label %314

205:                                              ; preds = %203
  %206 = load ptr, ptr %23, align 8, !tbaa !17
  %207 = icmp eq ptr %206, null
  br i1 %207, label %209, label %208

208:                                              ; preds = %205
  call void @_ZdaPv(ptr noundef %206) #11
  br label %209

209:                                              ; preds = %208, %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 0, ptr %26, align 4, !tbaa !11
  invoke void @_ZNK7Roaring7iterateEPFbjPvES0_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef @_Z23roaring_iterator_sumalljPv, ptr noundef %26)
          to label %210 unwind label %318

210:                                              ; preds = %209
  store i32 0, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #9
  invoke void @_ZNK7Roaring5beginEv(ptr dead_on_unwind writable sret(%class.RoaringSetBitForwardIterator) align 8 %27, ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %211 unwind label %322

211:                                              ; preds = %210
  br label %212

212:                                              ; preds = %330, %211
  %213 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7Roaring3endEv(ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %214 unwind label %322

214:                                              ; preds = %212
  %215 = invoke noundef zeroext i1 @_ZNK28RoaringSetBitForwardIteratorneERKS_(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 8 dereferenceable(48) %213)
          to label %216 unwind label %322

216:                                              ; preds = %214
  br i1 %215, label %326, label %217

217:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #9
  br label %336

218:                                              ; preds = %71, %68, %66, %64
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %4, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %5, align 4
  br label %488

222:                                              ; preds = %75, %73
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %4, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %5, align 4
  br label %487

226:                                              ; preds = %91, %89, %86, %84, %81, %79, %77
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %4, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %5, align 4
  br label %486

230:                                              ; preds = %93
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %4, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %5, align 4
  br label %485

234:                                              ; preds = %95, %94
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %4, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %5, align 4
  br label %484

238:                                              ; preds = %115, %113, %110, %108, %105, %103, %99, %97
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %4, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %5, align 4
  br label %483

242:                                              ; preds = %118
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %4, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %5, align 4
  br label %482

246:                                              ; preds = %120
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %4, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %5, align 4
  br label %481

250:                                              ; preds = %123
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %4, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %5, align 4
  br label %480

254:                                              ; preds = %136, %132, %125
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %4, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %5, align 4
  br label %479

258:                                              ; preds = %138
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %4, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %5, align 4
  br label %478

262:                                              ; preds = %147, %145
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %4, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %5, align 4
  br label %477

266:                                              ; preds = %149
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %4, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %5, align 4
  br label %476

270:                                              ; preds = %155, %153, %150
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %4, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %5, align 4
  br label %475

274:                                              ; preds = %157
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %4, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %5, align 4
  br label %474

278:                                              ; preds = %161, %158
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %4, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %5, align 4
  br label %473

282:                                              ; preds = %163
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %4, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %5, align 4
  br label %472

286:                                              ; preds = %169, %167
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %4, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %5, align 4
  br label %471

290:                                              ; preds = %171
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %4, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %5, align 4
  br label %470

294:                                              ; preds = %172
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %4, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %5, align 4
  br label %469

298:                                              ; preds = %177, %174
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %4, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %5, align 4
  br label %468

302:                                              ; preds = %180
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %4, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %5, align 4
  br label %467

306:                                              ; preds = %190, %188, %185, %182
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %4, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %5, align 4
  br label %466

310:                                              ; preds = %192
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %4, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %5, align 4
  br label %465

314:                                              ; preds = %203, %201, %198, %195
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %4, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %5, align 4
  br label %464

318:                                              ; preds = %340, %336, %209
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %4, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %5, align 4
  br label %463

322:                                              ; preds = %214, %212, %210
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %4, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %5, align 4
  br label %335

326:                                              ; preds = %216
  %327 = load i32, ptr %26, align 4, !tbaa !11
  %328 = add i32 %327, 1
  store i32 %328, ptr %26, align 4, !tbaa !11
  br label %329

329:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #9
  invoke void @_ZN28RoaringSetBitForwardIteratorppEi(ptr dead_on_unwind writable sret(%class.RoaringSetBitForwardIterator) align 8 %28, ptr noundef nonnull align 8 dereferenceable(48) %27, i32 noundef 0)
          to label %330 unwind label %331

330:                                              ; preds = %329
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #9
  br label %212, !llvm.loop !19

331:                                              ; preds = %329
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %4, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #9
  br label %335

335:                                              ; preds = %331, %322
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #9
  br label %463

336:                                              ; preds = %217
  %337 = load i32, ptr %26, align 4, !tbaa !11
  %338 = zext i32 %337 to i64
  %339 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %340 unwind label %318

340:                                              ; preds = %336
  %341 = icmp eq i64 %338, %339
  %342 = zext i1 %341 to i64
  invoke void @_assert_true(i64 noundef %342, ptr noundef @.str.29, ptr noundef @.str.1, i32 noundef 254)
          to label %343 unwind label %318

343:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 20, ptr %29) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 @__const._Z16test_example_cppb.manyvalues, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #9
  %344 = getelementptr inbounds [5 x i32], ptr %29, i64 0, i64 0
  invoke void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40) %30, i64 noundef 5, ptr noundef %344)
          to label %345 unwind label %401

345:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #9
  invoke void @_ZNK7Roaring5beginEv(ptr dead_on_unwind writable sret(%class.RoaringSetBitForwardIterator) align 8 %31, ptr noundef nonnull align 8 dereferenceable(40) %30)
          to label %346 unwind label %405

346:                                              ; preds = %345
  invoke void @_ZN28RoaringSetBitForwardIterator13equalorlargerEj(ptr noundef nonnull align 8 dereferenceable(48) %31, i32 noundef 4)
          to label %347 unwind label %405

347:                                              ; preds = %346
  %348 = invoke noundef i32 @_ZNK28RoaringSetBitForwardIteratordeEv(ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %349 unwind label %405

349:                                              ; preds = %347
  %350 = icmp eq i32 %348, 4
  %351 = zext i1 %350 to i64
  invoke void @_assert_true(i64 noundef %351, ptr noundef @.str.30, ptr noundef @.str.1, i32 noundef 261)
          to label %352 unwind label %405

352:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32)
          to label %353 unwind label %409

353:                                              ; preds = %352
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 10)
          to label %354 unwind label %413

354:                                              ; preds = %353
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 20)
          to label %355 unwind label %413

355:                                              ; preds = %354
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #9
  call void @_ZN7RoaringC2EOS_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  %356 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %357 unwind label %417

357:                                              ; preds = %355
  %358 = icmp eq i64 %356, 2
  %359 = zext i1 %358 to i64
  invoke void @_assert_true(i64 noundef %359, ptr noundef @.str.31, ptr noundef @.str.1, i32 noundef 271)
          to label %360 unwind label %417

360:                                              ; preds = %357
  %361 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %33, i32 noundef 10)
          to label %362 unwind label %417

362:                                              ; preds = %360
  %363 = zext i1 %361 to i64
  invoke void @_assert_true(i64 noundef %363, ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 272)
          to label %364 unwind label %417

364:                                              ; preds = %362
  %365 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %33, i32 noundef 20)
          to label %366 unwind label %417

366:                                              ; preds = %364
  %367 = zext i1 %365 to i64
  invoke void @_assert_true(i64 noundef %367, ptr noundef @.str.33, ptr noundef @.str.1, i32 noundef 273)
          to label %368 unwind label %417

368:                                              ; preds = %366
  %369 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %32)
          to label %370 unwind label %417

370:                                              ; preds = %368
  %371 = icmp eq i64 %369, 0
  %372 = zext i1 %371 to i64
  invoke void @_assert_true(i64 noundef %372, ptr noundef @.str.34, ptr noundef @.str.1, i32 noundef 276)
          to label %373 unwind label %417

373:                                              ; preds = %370
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %34) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %374 unwind label %423

374:                                              ; preds = %373
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %34, i32 noundef 10)
          to label %375 unwind label %427

375:                                              ; preds = %374
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %34, i32 noundef 20)
          to label %376 unwind label %427

376:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35)
          to label %377 unwind label %431

377:                                              ; preds = %376
  %378 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringaSEOS_(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 8 dereferenceable(40) %34) #9
  %379 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %35)
          to label %380 unwind label %435

380:                                              ; preds = %377
  invoke void @_assert_int_equal(i64 noundef 2, i64 noundef %379, ptr noundef @.str.1, i32 noundef 288)
          to label %381 unwind label %435

381:                                              ; preds = %380
  %382 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %35, i32 noundef 10)
          to label %383 unwind label %435

383:                                              ; preds = %381
  %384 = zext i1 %382 to i64
  invoke void @_assert_true(i64 noundef %384, ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 289)
          to label %385 unwind label %435

385:                                              ; preds = %383
  %386 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %35, i32 noundef 20)
          to label %387 unwind label %435

387:                                              ; preds = %385
  %388 = zext i1 %386 to i64
  invoke void @_assert_true(i64 noundef %388, ptr noundef @.str.33, ptr noundef @.str.1, i32 noundef 290)
          to label %389 unwind label %435

389:                                              ; preds = %387
  %390 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %391 unwind label %435

391:                                              ; preds = %389
  invoke void @_assert_int_equal(i64 noundef 0, i64 noundef %390, ptr noundef @.str.1, i32 noundef 293)
          to label %392 unwind label %435

392:                                              ; preds = %391
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %36)
          to label %393 unwind label %442

393:                                              ; preds = %392
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %36, i32 noundef 1)
          to label %394 unwind label %446

394:                                              ; preds = %393
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %36, i32 noundef 2)
          to label %395 unwind label %446

395:                                              ; preds = %394
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %36, i32 noundef 3)
          to label %396 unwind label %446

396:                                              ; preds = %395
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %36, i32 noundef 4)
          to label %397 unwind label %446

397:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #9
  invoke void @_ZNK7Roaring8toStringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %37, ptr noundef nonnull align 8 dereferenceable(40) %36)
          to label %398 unwind label %450

398:                                              ; preds = %397
  %399 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  invoke void @_assert_string_equal(ptr noundef @.str.35, ptr noundef %399, ptr noundef @.str.1, i32 noundef 304)
          to label %400 unwind label %454

400:                                              ; preds = %398
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %36) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %3) #9
  ret void

401:                                              ; preds = %343
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %4, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %5, align 4
  br label %462

405:                                              ; preds = %349, %347, %346, %345
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %4, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %5, align 4
  br label %461

409:                                              ; preds = %352
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %4, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %5, align 4
  br label %422

413:                                              ; preds = %354, %353
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %4, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %5, align 4
  br label %421

417:                                              ; preds = %370, %368, %366, %364, %362, %360, %357, %355
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %4, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %5, align 4
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #9
  br label %421

421:                                              ; preds = %417, %413
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  br label %422

422:                                              ; preds = %421, %409
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #9
  br label %461

423:                                              ; preds = %373
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %4, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %5, align 4
  br label %441

427:                                              ; preds = %375, %374
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %4, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %5, align 4
  br label %440

431:                                              ; preds = %376
  %432 = landingpad { ptr, i32 }
          cleanup
  %433 = extractvalue { ptr, i32 } %432, 0
  store ptr %433, ptr %4, align 8
  %434 = extractvalue { ptr, i32 } %432, 1
  store i32 %434, ptr %5, align 4
  br label %439

435:                                              ; preds = %391, %389, %387, %385, %383, %381, %380, %377
  %436 = landingpad { ptr, i32 }
          cleanup
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %4, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %5, align 4
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #9
  br label %439

439:                                              ; preds = %435, %431
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #9
  br label %440

440:                                              ; preds = %439, %427
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #9
  br label %441

441:                                              ; preds = %440, %423
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #9
  br label %461

442:                                              ; preds = %392
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %4, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %5, align 4
  br label %460

446:                                              ; preds = %396, %395, %394, %393
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %4, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %5, align 4
  br label %459

450:                                              ; preds = %397
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %4, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %5, align 4
  br label %458

454:                                              ; preds = %398
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %4, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %458

458:                                              ; preds = %454, %450
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  br label %459

459:                                              ; preds = %458, %446
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %36) #9
  br label %460

460:                                              ; preds = %459, %442
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #9
  br label %461

461:                                              ; preds = %460, %441, %422, %405
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #9
  br label %462

462:                                              ; preds = %461, %401
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr %29) #9
  br label %463

463:                                              ; preds = %462, %335, %318
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %464

464:                                              ; preds = %463, %314
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #9
  br label %465

465:                                              ; preds = %464, %310
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #9
  br label %466

466:                                              ; preds = %465, %306
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  br label %467

467:                                              ; preds = %466, %302
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #9
  br label %468

468:                                              ; preds = %467, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %469

469:                                              ; preds = %468, %294
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #9
  br label %470

470:                                              ; preds = %469, %290
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #9
  br label %471

471:                                              ; preds = %470, %286
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #9
  br label %472

472:                                              ; preds = %471, %282
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  br label %473

473:                                              ; preds = %472, %278
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #9
  br label %474

474:                                              ; preds = %473, %274
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #9
  br label %475

475:                                              ; preds = %474, %270
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #9
  br label %476

476:                                              ; preds = %475, %266
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #9
  br label %477

477:                                              ; preds = %476, %262
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #9
  br label %478

478:                                              ; preds = %477, %258
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #9
  br label %479

479:                                              ; preds = %478, %254
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %480

480:                                              ; preds = %479, %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %481

481:                                              ; preds = %480, %246
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #9
  br label %482

482:                                              ; preds = %481, %242
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #9
  br label %483

483:                                              ; preds = %482, %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  br label %484

484:                                              ; preds = %483, %234
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #9
  br label %485

485:                                              ; preds = %484, %230
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #9
  br label %486

486:                                              ; preds = %485, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %487

487:                                              ; preds = %486, %222
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %488

488:                                              ; preds = %487, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %489

489:                                              ; preds = %488, %56, %46
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %3) #9
  br label %490

490:                                              ; preds = %489
  %491 = load ptr, ptr %4, align 8
  %492 = load i32, ptr %5, align 4
  %493 = insertvalue { ptr, i32 } poison, ptr %491, 0
  %494 = insertvalue { ptr, i32 } %493, i32 %492, 1
  resume { ptr, i32 } %494
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7Roaring11runOptimizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring8bitmapOfEmz(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, i64 noundef, ...) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring6printfEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7Roaring6selectEjPj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7Roaring7minimumEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7Roaring7maximumEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring4rankEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring13toUint32ArrayEPj(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RoaringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7RoaringorERKS_(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringoRERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring9fastunionEmPPKS_(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, i64 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7RoaringanERKS_(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring8readSafeEPKcm(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef, i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring7iterateEPFbjPvES0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK7Roaring5beginEv(ptr dead_on_unwind noalias writable sret(%class.RoaringSetBitForwardIterator) align 8, ptr noundef nonnull align 8 dereferenceable(40)) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK28RoaringSetBitForwardIteratorneERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7Roaring3endEv(ptr noundef nonnull align 8 dereferenceable(40)) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN28RoaringSetBitForwardIteratorppEi(ptr dead_on_unwind noalias writable sret(%class.RoaringSetBitForwardIterator) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN28RoaringSetBitForwardIterator13equalorlargerEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK28RoaringSetBitForwardIteratordeEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7RoaringC2EOS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringaSEOS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

declare void @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring8toStringB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { nobuiltin 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 #5 = { "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 #6 = { nobuiltin 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { inlinehint mustprogress 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = distinct !{!19, !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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.Roaring = type { %struct.roaring_bitmap_s }
%struct.roaring_bitmap_s = type { %struct.roaring_array_s }
%struct.roaring_array_s = type { i32, i32, ptr, ptr, ptr, i8 }
%class.RoaringSetBitForwardIterator = type { %struct.roaring_uint32_iterator_s }
%struct.roaring_uint32_iterator_s = type { ptr, i32, i32, i32, i32, i8, ptr, i8, i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@__const._Z16test_example_cppb.values = external hidden unnamed_addr constant [3 x i32], align 4
@.str.22 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [27 x i8], align 1
@__const._Z16test_example_cppb.manyvalues = external hidden unnamed_addr constant [5 x i32], align 16
@.str.30 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z23roaring_iterator_sumalljPv(i32 noundef, ptr noundef) #0

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) local_unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring5writeEPcb(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring4readEPKcb(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #7

declare void @_assert_int_equal(i64 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16test_example_cppb(i1 noundef zeroext %0) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.Roaring, align 8
  %3 = alloca %class.Roaring, align 8
  %4 = alloca i32, align 4
  %5 = alloca [3 x i32], align 4
  %6 = alloca %class.Roaring, align 8
  %7 = alloca %class.Roaring, align 8
  %8 = alloca %class.Roaring, align 8
  %9 = alloca %class.Roaring, align 8
  %10 = alloca [3 x ptr], align 16
  %11 = alloca %class.Roaring, align 8
  %12 = alloca %class.Roaring, align 8
  %13 = alloca %class.Roaring, align 8
  %14 = alloca %class.Roaring, align 8
  %15 = alloca i32, align 4
  %16 = alloca %class.RoaringSetBitForwardIterator, align 8
  %17 = alloca %class.RoaringSetBitForwardIterator, align 8
  %18 = alloca [5 x i32], align 16
  %19 = alloca %class.Roaring, align 8
  %20 = alloca %class.RoaringSetBitForwardIterator, align 8
  %21 = alloca %class.Roaring, align 8
  %22 = alloca %class.Roaring, align 8
  %23 = alloca %class.Roaring, align 8
  %24 = alloca %class.Roaring, align 8
  %25 = alloca %class.Roaring, align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #9
  call void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2)
  call void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %2, i1 noundef zeroext %0)
  br label %31

27:                                               ; preds = %32
  %28 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %2, i32 noundef 500)
          to label %36 unwind label %29

29:                                               ; preds = %36, %27
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %327

31:                                               ; preds = %1, %32
  %.062104 = phi i32 [ 100, %1 ], [ %33, %32 ]
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %2, i32 noundef %.062104)
          to label %32 unwind label %34

32:                                               ; preds = %31
  %33 = add nuw nsw i32 %.062104, 1
  %exitcond.not = icmp eq i32 %33, 1000
  br i1 %exitcond.not, label %27, label %31, !llvm.loop !5

34:                                               ; preds = %31
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %327

36:                                               ; preds = %27
  %37 = zext i1 %28 to i64
  invoke void @_assert_true(i64 noundef %37, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 160)
          to label %38 unwind label %29

38:                                               ; preds = %36
  %39 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %40 unwind label %154

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.14)
          to label %42 unwind label %154

42:                                               ; preds = %40
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %41, i64 noundef %39)
          to label %44 unwind label %154

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %46 unwind label %154

46:                                               ; preds = %44
  %47 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %2, i1 noundef zeroext true)
          to label %48 unwind label %156

48:                                               ; preds = %46
  %49 = invoke noundef zeroext i1 @_ZN7Roaring11runOptimizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %50 unwind label %156

50:                                               ; preds = %48
  %51 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %2, i1 noundef zeroext true)
          to label %52 unwind label %158

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.15)
          to label %54 unwind label %158

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %53, i64 noundef %47)
          to label %56 unwind label %158

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull @.str.16)
          to label %58 unwind label %158

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %57, i64 noundef %51)
          to label %60 unwind label %158

60:                                               ; preds = %58
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull @.str.17)
          to label %62 unwind label %158

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %64 unwind label %158

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #9
  invoke void (ptr, i64, ...) @_ZN7Roaring8bitmapOfEmz(ptr dead_on_unwind nonnull writable sret(%class.Roaring) align 8 %3, i64 noundef 5, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 5, i32 noundef 6)
          to label %65 unwind label %160

65:                                               ; preds = %64
  invoke void @_ZNK7Roaring6printfEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %66 unwind label %162

66:                                               ; preds = %65
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  %68 = invoke noundef zeroext i1 @_ZNK7Roaring6selectEjPj(ptr noundef nonnull align 8 dereferenceable(40) %3, i32 noundef 3, ptr noundef nonnull %4)
          to label %69 unwind label %164

69:                                               ; preds = %66
  %70 = load i32, ptr %4, align 4, !tbaa !7
  %71 = icmp eq i32 %70, 5
  %72 = zext i1 %71 to i64
  invoke void @_assert_true(i64 noundef %72, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.1, i32 noundef 184)
          to label %73 unwind label %164

73:                                               ; preds = %69
  %74 = invoke noundef i32 @_ZNK7Roaring7minimumEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %75 unwind label %164

75:                                               ; preds = %73
  %76 = icmp eq i32 %74, 1
  %77 = zext i1 %76 to i64
  invoke void @_assert_true(i64 noundef %77, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.1, i32 noundef 186)
          to label %78 unwind label %164

78:                                               ; preds = %75
  %79 = invoke noundef i32 @_ZNK7Roaring7maximumEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %80 unwind label %164

80:                                               ; preds = %78
  %81 = icmp eq i32 %79, 6
  %82 = zext i1 %81 to i64
  invoke void @_assert_true(i64 noundef %82, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.1, i32 noundef 188)
          to label %83 unwind label %164

83:                                               ; preds = %80
  %84 = invoke noundef i64 @_ZNK7Roaring4rankEj(ptr noundef nonnull align 8 dereferenceable(40) %3, i32 noundef 4)
          to label %85 unwind label %164

85:                                               ; preds = %83
  %86 = icmp eq i64 %84, 3
  %87 = zext i1 %86 to i64
  invoke void @_assert_true(i64 noundef %87, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.1, i32 noundef 190)
          to label %88 unwind label %164

88:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z16test_example_cppb.values, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #9
  invoke void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef 3, ptr noundef nonnull %5)
          to label %89 unwind label %166

89:                                               ; preds = %88
  call void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %6, i1 noundef zeroext %0)
  %90 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %91 unwind label %168

91:                                               ; preds = %89
  %92 = icmp ugt i64 %90, 4611686018427387903
  %93 = shl nuw i64 %90, 2
  %94 = select i1 %92, i64 -1, i64 %93
  %95 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %94) #10
          to label %96 unwind label %170

96:                                               ; preds = %91
  invoke void @_assert_true(i64 noundef 1, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.1, i32 noundef 200)
          to label %97 unwind label %170

97:                                               ; preds = %96
  invoke void @_ZNK7Roaring13toUint32ArrayEPj(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull %95)
          to label %98 unwind label %170

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #9
  invoke void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %90, ptr noundef nonnull %95)
          to label %99 unwind label %172

99:                                               ; preds = %98
  call void @_ZdaPv(ptr noundef nonnull %95) #11
  %100 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %101 unwind label %174

101:                                              ; preds = %99
  %102 = zext i1 %100 to i64
  invoke void @_assert_true(i64 noundef %102, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.1, i32 noundef 206)
          to label %103 unwind label %174

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #9
  invoke void @_ZN7RoaringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %104 unwind label %176

104:                                              ; preds = %103
  call void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %8, i1 noundef zeroext %0)
  %105 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %106 unwind label %178

106:                                              ; preds = %104
  %107 = zext i1 %105 to i64
  invoke void @_assert_true(i64 noundef %107, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.1, i32 noundef 211)
          to label %108 unwind label %178

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #9
  invoke void @_ZNK7RoaringorERKS_(ptr dead_on_unwind nonnull writable sret(%class.Roaring) align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %109 unwind label %180

109:                                              ; preds = %108
  call void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40) %9, i1 noundef zeroext %0)
  %110 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringoRERKS_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %111 unwind label %182

111:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  store ptr %2, ptr %10, align 16, !tbaa !11
  %112 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %3, ptr %112, align 8, !tbaa !11
  %113 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %6, ptr %113, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #9
  invoke void @_ZN7Roaring9fastunionEmPPKS_(ptr dead_on_unwind nonnull writable sret(%class.Roaring) align 8 %11, i64 noundef 3, ptr noundef nonnull %10)
          to label %114 unwind label %184

114:                                              ; preds = %111
  %115 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %116 unwind label %186

116:                                              ; preds = %114
  %117 = zext i1 %115 to i64
  invoke void @_assert_true(i64 noundef %117, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, i32 noundef 221)
          to label %118 unwind label %186

118:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #9
  invoke void @_ZNK7RoaringanERKS_(ptr dead_on_unwind nonnull writable sret(%class.Roaring) align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %119 unwind label %188

119:                                              ; preds = %118
  %120 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %2, i1 noundef zeroext true)
          to label %121 unwind label %190

121:                                              ; preds = %119
  %122 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %120) #10
          to label %123 unwind label %192

123:                                              ; preds = %121
  %124 = invoke noundef i64 @_ZNK7Roaring5writeEPcb(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull %122, i1 noundef zeroext true)
          to label %125 unwind label %192

125:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #9
  invoke void @_ZN7Roaring4readEPKcb(ptr dead_on_unwind nonnull writable sret(%class.Roaring) align 8 %13, ptr noundef nonnull %122, i1 noundef zeroext true)
          to label %126 unwind label %194

126:                                              ; preds = %125
  %127 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %13, i1 noundef zeroext true)
          to label %128 unwind label %196

128:                                              ; preds = %126
  %129 = icmp eq i64 %120, %127
  %130 = zext i1 %129 to i64
  invoke void @_assert_true(i64 noundef %130, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.1, i32 noundef 231)
          to label %131 unwind label %196

131:                                              ; preds = %128
  %132 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %133 unwind label %196

133:                                              ; preds = %131
  %134 = zext i1 %132 to i64
  invoke void @_assert_true(i64 noundef %134, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 232)
          to label %135 unwind label %196

135:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #9
  invoke void @_ZN7Roaring8readSafeEPKcm(ptr dead_on_unwind nonnull writable sret(%class.Roaring) align 8 %14, ptr noundef nonnull %122, i64 noundef %120)
          to label %136 unwind label %198

136:                                              ; preds = %135
  %137 = invoke noundef i64 @_ZNK7Roaring14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(40) %14, i1 noundef zeroext true)
          to label %138 unwind label %200

138:                                              ; preds = %136
  %139 = icmp eq i64 %120, %137
  %140 = zext i1 %139 to i64
  invoke void @_assert_true(i64 noundef %140, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.1, i32 noundef 235)
          to label %141 unwind label %200

141:                                              ; preds = %138
  %142 = invoke noundef zeroext i1 @_ZNK7RoaringeqERKS_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %143 unwind label %200

143:                                              ; preds = %141
  %144 = zext i1 %142 to i64
  invoke void @_assert_true(i64 noundef %144, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.1, i32 noundef 236)
          to label %145 unwind label %200

145:                                              ; preds = %143
  call void @_ZdaPv(ptr noundef nonnull %122) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #9
  store i32 0, ptr %15, align 4, !tbaa !7
  invoke void @_ZNK7Roaring7iterateEPFbjPvES0_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull @_Z23roaring_iterator_sumalljPv, ptr noundef nonnull %15)
          to label %146 unwind label %202

146:                                              ; preds = %145
  store i32 0, ptr %15, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #9
  invoke void @_ZNK7Roaring5beginEv(ptr dead_on_unwind nonnull writable sret(%class.RoaringSetBitForwardIterator) align 8 %16, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %146, %207
  %147 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7Roaring3endEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %148 unwind label %.loopexit

148:                                              ; preds = %.preheader
  %149 = invoke noundef zeroext i1 @_ZNK28RoaringSetBitForwardIteratorneERKS_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(48) %147)
          to label %150 unwind label %.loopexit

150:                                              ; preds = %148
  br i1 %149, label %204, label %151

151:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #9
  %152 = load i32, ptr %15, align 4, !tbaa !7
  %153 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %211 unwind label %202

154:                                              ; preds = %44, %42, %40, %38
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %327

156:                                              ; preds = %48, %46
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %327

158:                                              ; preds = %62, %60, %58, %56, %54, %52, %50
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %327

160:                                              ; preds = %64
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %326

162:                                              ; preds = %65
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %325

164:                                              ; preds = %85, %83, %80, %78, %75, %73, %69, %66
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %324

166:                                              ; preds = %88
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %323

168:                                              ; preds = %89
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %322

170:                                              ; preds = %97, %96, %91
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %322

172:                                              ; preds = %98
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %321

174:                                              ; preds = %101, %99
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %320

176:                                              ; preds = %103
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %319

178:                                              ; preds = %106, %104
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %318

180:                                              ; preds = %108
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %317

182:                                              ; preds = %109
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %316

184:                                              ; preds = %111
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %315

186:                                              ; preds = %116, %114
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %314

188:                                              ; preds = %118
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %313

190:                                              ; preds = %119
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %312

192:                                              ; preds = %123, %121
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %312

194:                                              ; preds = %125
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %311

196:                                              ; preds = %133, %131, %128, %126
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %310

198:                                              ; preds = %135
  %199 = landingpad { ptr, i32 }
          cleanup
  br label %309

200:                                              ; preds = %143, %141, %138, %136
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %308

202:                                              ; preds = %211, %151, %145
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %307

.loopexit:                                        ; preds = %.preheader, %148
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %210

.loopexit.split-lp:                               ; preds = %146
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %210

204:                                              ; preds = %150
  %205 = load i32, ptr %15, align 4, !tbaa !7
  %206 = add i32 %205, 1
  store i32 %206, ptr %15, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #9
  invoke void @_ZN28RoaringSetBitForwardIteratorppEi(ptr dead_on_unwind nonnull writable sret(%class.RoaringSetBitForwardIterator) align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %16, i32 noundef 0)
          to label %207 unwind label %208

207:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #9
  br label %.preheader, !llvm.loop !13

208:                                              ; preds = %204
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #9
  br label %210

210:                                              ; preds = %.loopexit, %.loopexit.split-lp, %208
  %.pn75 = phi { ptr, i32 } [ %209, %208 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #9
  br label %307

211:                                              ; preds = %151
  %212 = zext i32 %152 to i64
  %213 = icmp eq i64 %153, %212
  %214 = zext i1 %213 to i64
  invoke void @_assert_true(i64 noundef %214, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.1, i32 noundef 254)
          to label %215 unwind label %202

215:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %18) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %18, ptr noundef nonnull align 16 dereferenceable(20) @__const._Z16test_example_cppb.manyvalues, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #9
  invoke void @_ZN7RoaringC2EmPKj(ptr noundef nonnull align 8 dereferenceable(40) %19, i64 noundef 5, ptr noundef nonnull %18)
          to label %216 unwind label %271

216:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #9
  invoke void @_ZNK7Roaring5beginEv(ptr dead_on_unwind nonnull writable sret(%class.RoaringSetBitForwardIterator) align 8 %20, ptr noundef nonnull align 8 dereferenceable(40) %19)
          to label %217 unwind label %273

217:                                              ; preds = %216
  invoke void @_ZN28RoaringSetBitForwardIterator13equalorlargerEj(ptr noundef nonnull align 8 dereferenceable(48) %20, i32 noundef 4)
          to label %218 unwind label %273

218:                                              ; preds = %217
  %219 = call noundef i32 @_ZNK28RoaringSetBitForwardIteratordeEv(ptr noundef nonnull align 8 dereferenceable(48) %20)
  %220 = icmp eq i32 %219, 4
  %221 = zext i1 %220 to i64
  invoke void @_assert_true(i64 noundef %221, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.1, i32 noundef 261)
          to label %222 unwind label %273

222:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %223 unwind label %275

223:                                              ; preds = %222
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %21, i32 noundef 10)
          to label %224 unwind label %277

224:                                              ; preds = %223
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %21, i32 noundef 20)
          to label %225 unwind label %277

225:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %22) #9
  call void @_ZN7RoaringC2EOS_(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 8 dereferenceable(40) %21) #9
  %226 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %227 unwind label %279

227:                                              ; preds = %225
  %228 = icmp eq i64 %226, 2
  %229 = zext i1 %228 to i64
  invoke void @_assert_true(i64 noundef %229, ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.1, i32 noundef 271)
          to label %230 unwind label %279

230:                                              ; preds = %227
  %231 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %22, i32 noundef 10)
          to label %232 unwind label %279

232:                                              ; preds = %230
  %233 = zext i1 %231 to i64
  invoke void @_assert_true(i64 noundef %233, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 272)
          to label %234 unwind label %279

234:                                              ; preds = %232
  %235 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %22, i32 noundef 20)
          to label %236 unwind label %279

236:                                              ; preds = %234
  %237 = zext i1 %235 to i64
  invoke void @_assert_true(i64 noundef %237, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.1, i32 noundef 273)
          to label %238 unwind label %279

238:                                              ; preds = %236
  %239 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %240 unwind label %279

240:                                              ; preds = %238
  %241 = icmp eq i64 %239, 0
  %242 = zext i1 %241 to i64
  invoke void @_assert_true(i64 noundef %242, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.1, i32 noundef 276)
          to label %243 unwind label %279

243:                                              ; preds = %240
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %244 unwind label %283

244:                                              ; preds = %243
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %23, i32 noundef 10)
          to label %245 unwind label %285

245:                                              ; preds = %244
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %23, i32 noundef 20)
          to label %246 unwind label %285

246:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %247 unwind label %287

247:                                              ; preds = %246
  %248 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringaSEOS_(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %23) #9
  %249 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %250 unwind label %289

250:                                              ; preds = %247
  invoke void @_assert_int_equal(i64 noundef 2, i64 noundef %249, ptr noundef nonnull @.str.1, i32 noundef 288)
          to label %251 unwind label %289

251:                                              ; preds = %250
  %252 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %24, i32 noundef 10)
          to label %253 unwind label %289

253:                                              ; preds = %251
  %254 = zext i1 %252 to i64
  invoke void @_assert_true(i64 noundef %254, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 289)
          to label %255 unwind label %289

255:                                              ; preds = %253
  %256 = invoke noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40) %24, i32 noundef 20)
          to label %257 unwind label %289

257:                                              ; preds = %255
  %258 = zext i1 %256 to i64
  invoke void @_assert_true(i64 noundef %258, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.1, i32 noundef 290)
          to label %259 unwind label %289

259:                                              ; preds = %257
  %260 = invoke noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %261 unwind label %289

261:                                              ; preds = %259
  invoke void @_assert_int_equal(i64 noundef 0, i64 noundef %260, ptr noundef nonnull @.str.1, i32 noundef 293)
          to label %262 unwind label %289

262:                                              ; preds = %261
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #9
  invoke void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %263 unwind label %294

263:                                              ; preds = %262
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %25, i32 noundef 1)
          to label %264 unwind label %296

264:                                              ; preds = %263
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %25, i32 noundef 2)
          to label %265 unwind label %296

265:                                              ; preds = %264
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %25, i32 noundef 3)
          to label %266 unwind label %296

266:                                              ; preds = %265
  invoke void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40) %25, i32 noundef 4)
          to label %267 unwind label %296

267:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #9
  invoke void @_ZNK7Roaring8toStringB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %268 unwind label %298

268:                                              ; preds = %267
  %269 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  invoke void @_assert_string_equal(ptr noundef nonnull @.str.35, ptr noundef %269, ptr noundef nonnull @.str.1, i32 noundef 304)
          to label %270 unwind label %300

270:                                              ; preds = %268
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #9
  ret void

271:                                              ; preds = %215
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %306

273:                                              ; preds = %218, %217, %216
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %305

275:                                              ; preds = %222
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %282

277:                                              ; preds = %224, %223
  %278 = landingpad { ptr, i32 }
          cleanup
  br label %281

279:                                              ; preds = %240, %238, %236, %234, %232, %230, %227, %225
  %280 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #9
  br label %281

281:                                              ; preds = %279, %277
  %.pn = phi { ptr, i32 } [ %280, %279 ], [ %278, %277 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #9
  br label %282

282:                                              ; preds = %281, %275
  %.pn.pn = phi { ptr, i32 } [ %.pn, %281 ], [ %276, %275 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #9
  br label %305

283:                                              ; preds = %243
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %293

285:                                              ; preds = %245, %244
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %292

287:                                              ; preds = %246
  %288 = landingpad { ptr, i32 }
          cleanup
  br label %291

289:                                              ; preds = %261, %259, %257, %255, %253, %251, %250, %247
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  br label %291

291:                                              ; preds = %289, %287
  %.pn65 = phi { ptr, i32 } [ %290, %289 ], [ %288, %287 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #9
  br label %292

292:                                              ; preds = %291, %285
  %.pn65.pn = phi { ptr, i32 } [ %.pn65, %291 ], [ %286, %285 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #9
  br label %293

293:                                              ; preds = %292, %283
  %.pn65.pn.pn = phi { ptr, i32 } [ %.pn65.pn, %292 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #9
  br label %305

294:                                              ; preds = %262
  %295 = landingpad { ptr, i32 }
          cleanup
  br label %304

296:                                              ; preds = %266, %265, %264, %263
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %303

298:                                              ; preds = %267
  %299 = landingpad { ptr, i32 }
          cleanup
  br label %302

300:                                              ; preds = %268
  %301 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  br label %302

302:                                              ; preds = %300, %298
  %.pn69 = phi { ptr, i32 } [ %301, %300 ], [ %299, %298 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  br label %303

303:                                              ; preds = %302, %296
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %302 ], [ %297, %296 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #9
  br label %304

304:                                              ; preds = %303, %294
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %303 ], [ %295, %294 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #9
  br label %305

305:                                              ; preds = %304, %293, %282, %273
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %304 ], [ %.pn65.pn.pn, %293 ], [ %.pn.pn, %282 ], [ %274, %273 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #9
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #9
  br label %306

306:                                              ; preds = %305, %271
  %.pn69.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn, %305 ], [ %272, %271 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %18) #9
  br label %307

307:                                              ; preds = %306, %210, %202
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %210 ], [ %.pn69.pn.pn.pn.pn, %306 ], [ %203, %202 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #9
  br label %308

308:                                              ; preds = %307, %200
  %.pn75.pn.pn = phi { ptr, i32 } [ %.pn75.pn, %307 ], [ %201, %200 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #9
  br label %309

309:                                              ; preds = %308, %198
  %.pn75.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn, %308 ], [ %199, %198 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  br label %310

310:                                              ; preds = %309, %196
  %.pn75.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn, %309 ], [ %197, %196 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #9
  br label %311

311:                                              ; preds = %310, %194
  %.pn75.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn, %310 ], [ %195, %194 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #9
  br label %312

312:                                              ; preds = %192, %311, %190
  %.pn75.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %191, %190 ], [ %.pn75.pn.pn.pn.pn.pn, %311 ], [ %193, %192 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #9
  br label %313

313:                                              ; preds = %312, %188
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn, %312 ], [ %189, %188 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #9
  br label %314

314:                                              ; preds = %313, %186
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn, %313 ], [ %187, %186 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #9
  br label %315

315:                                              ; preds = %314, %184
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn, %314 ], [ %185, %184 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %316

316:                                              ; preds = %315, %182
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %315 ], [ %183, %182 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #9
  br label %317

317:                                              ; preds = %316, %180
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %316 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #9
  br label %318

318:                                              ; preds = %317, %178
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %317 ], [ %179, %178 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #9
  br label %319

319:                                              ; preds = %318, %176
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %318 ], [ %177, %176 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #9
  br label %320

320:                                              ; preds = %319, %174
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %319 ], [ %175, %174 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #9
  br label %321

321:                                              ; preds = %320, %172
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %320 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #9
  br label %322

322:                                              ; preds = %170, %321, %168
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %169, %168 ], [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %321 ], [ %171, %170 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #9
  br label %323

323:                                              ; preds = %322, %166
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %322 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #9
  br label %324

324:                                              ; preds = %323, %164
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %323 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  br label %325

325:                                              ; preds = %324, %162
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %324 ], [ %163, %162 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  br label %326

326:                                              ; preds = %325, %160
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %325 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #9
  br label %327

327:                                              ; preds = %154, %158, %326, %156, %34, %29
  %.pn102 = phi { ptr, i32 } [ %35, %34 ], [ %30, %29 ], [ %155, %154 ], [ %157, %156 ], [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %326 ], [ %159, %158 ]
  call void @_ZN7RoaringD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn102
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RoaringC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Roaring14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring3addEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7Roaring8containsEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7Roaring11runOptimizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring8bitmapOfEmz(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, i64 noundef, ...) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring6printfEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7Roaring6selectEjPj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7Roaring7minimumEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7Roaring7maximumEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK7Roaring4rankEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring13toUint32ArrayEPj(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RoaringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7RoaringorERKS_(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringoRERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring9fastunionEmPPKS_(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, i64 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7RoaringanERKS_(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Roaring8readSafeEPKcm(ptr dead_on_unwind noalias writable sret(%class.Roaring) align 8, ptr noundef, i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring7iterateEPFbjPvES0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK7Roaring5beginEv(ptr dead_on_unwind noalias writable sret(%class.RoaringSetBitForwardIterator) align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK28RoaringSetBitForwardIteratorneERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7Roaring3endEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN28RoaringSetBitForwardIteratorppEi(ptr dead_on_unwind noalias writable sret(%class.RoaringSetBitForwardIterator) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN28RoaringSetBitForwardIterator13equalorlargerEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK28RoaringSetBitForwardIteratordeEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7RoaringC2EOS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN7RoaringaSEOS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

declare void @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Roaring8toStringB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { nobuiltin 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 #5 = { "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 #6 = { nobuiltin 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 #7 = { nofree 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 #8 = { inlinehint mustprogress 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = distinct !{!13, !6}


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