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

; 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.Roaring64Map = type <{ %"class.std::map", i8, [7 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, Roaring>, std::_Select1st<std::pair<const unsigned int, Roaring>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, Roaring>, std::_Select1st<std::pair<const unsigned int, Roaring>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.Roaring64MapSetBitForwardIterator = type { %"struct.std::_Rb_tree_const_iterator", %"struct.std::_Rb_tree_const_iterator", %struct.roaring_uint32_iterator_s }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%struct.roaring_uint32_iterator_s = type { ptr, i32, i32, i32, i32, i8, ptr, i8, i32 }

@.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
@_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.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.29 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [33 x i8], align 1
@__const._Z19test_example_cpp_64b.values = external hidden unnamed_addr constant [3 x i32], align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z25roaring_iterator_sumall64mPv(i64 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

declare i32 @__gxx_personality_v0(...)

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

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

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

; 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, ...) #4

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

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

; 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) #7

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #8 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) #8 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)) #7

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

37:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  store i64 100, ptr %6, align 8, !tbaa !11
  br label %38

38:                                               ; preds = %49, %37
  %39 = load i64, ptr %6, align 8, !tbaa !11
  %40 = icmp ult i64 %39, 1000
  br i1 %40, label %46, label %41

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  br label %56

42:                                               ; preds = %73, %71, %1
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %4, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %5, align 4
  br label %392

46:                                               ; preds = %38
  %47 = load i64, ptr %6, align 8, !tbaa !11
  invoke void @_ZN12Roaring64Map3addEm(ptr noundef nonnull align 8 dereferenceable(49) %3, i64 noundef %47)
          to label %48 unwind label %52

48:                                               ; preds = %46
  br label %49

49:                                               ; preds = %48
  %50 = load i64, ptr %6, align 8, !tbaa !11
  %51 = add i64 %50, 1
  store i64 %51, ptr %6, align 8, !tbaa !11
  br label %38, !llvm.loop !13

52:                                               ; preds = %46
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %4, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  br label %392

56:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store i64 -4446744073709551516, ptr %7, align 8, !tbaa !11
  br label %57

57:                                               ; preds = %64, %56
  %58 = load i64, ptr %7, align 8, !tbaa !11
  %59 = icmp ult i64 %58, -4446744073709550616
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %71

61:                                               ; preds = %57
  %62 = load i64, ptr %7, align 8, !tbaa !11
  invoke void @_ZN12Roaring64Map3addEm(ptr noundef nonnull align 8 dereferenceable(49) %3, i64 noundef %62)
          to label %63 unwind label %67

63:                                               ; preds = %61
  br label %64

64:                                               ; preds = %63
  %65 = load i64, ptr %7, align 8, !tbaa !11
  %66 = add i64 %65, 1
  store i64 %66, ptr %7, align 8, !tbaa !11
  br label %57, !llvm.loop !15

67:                                               ; preds = %61
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %4, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %392

71:                                               ; preds = %60
  %72 = invoke noundef zeroext i1 @_ZNK12Roaring64Map8containsEm(ptr noundef nonnull align 8 dereferenceable(49) %3, i64 noundef -4446744073709551116)
          to label %73 unwind label %42

73:                                               ; preds = %71
  %74 = zext i1 %72 to i64
  invoke void @_assert_true(i64 noundef %74, ptr noundef @.str.36, ptr noundef @.str.1, i32 noundef 322)
          to label %75 unwind label %42

75:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %76 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %77 unwind label %215

77:                                               ; preds = %75
  store i64 %76, ptr %8, align 8, !tbaa !11
  %78 = 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 %79 unwind label %215

79:                                               ; preds = %77
  %80 = load i64, ptr %8, align 8, !tbaa !11
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %78, i64 noundef %80)
          to label %82 unwind label %215

82:                                               ; preds = %79
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %84 unwind label %215

84:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %85 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %3, i1 noundef zeroext true)
          to label %86 unwind label %219

86:                                               ; preds = %84
  store i64 %85, ptr %9, align 8, !tbaa !11
  %87 = invoke noundef zeroext i1 @_ZN12Roaring64Map11runOptimizeEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %88 unwind label %219

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %89 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %3, i1 noundef zeroext true)
          to label %90 unwind label %223

90:                                               ; preds = %88
  store i64 %89, ptr %10, align 8, !tbaa !11
  %91 = 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 %92 unwind label %223

92:                                               ; preds = %90
  %93 = load i64, ptr %9, align 8, !tbaa !11
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %91, i64 noundef %93)
          to label %95 unwind label %223

95:                                               ; preds = %92
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef @.str.16)
          to label %97 unwind label %223

97:                                               ; preds = %95
  %98 = load i64, ptr %10, align 8, !tbaa !11
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %96, i64 noundef %98)
          to label %100 unwind label %223

100:                                              ; preds = %97
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef @.str.17)
          to label %102 unwind label %223

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %104 unwind label %223

104:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 56, ptr %11) #10
  invoke void (ptr, i64, ...) @_ZN12Roaring64Map8bitmapOfEmz(ptr dead_on_unwind writable sret(%class.Roaring64Map) align 8 %11, i64 noundef 5, i64 noundef 1, i64 noundef 2, i64 noundef 234294967296, i64 noundef 195839473298, i64 noundef -4446744073709551516)
          to label %105 unwind label %227

105:                                              ; preds = %104
  invoke void @_ZNK12Roaring64Map6printfEv(ptr noundef nonnull align 8 dereferenceable(49) %11)
          to label %106 unwind label %231

106:                                              ; preds = %105
  %107 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6)
          to label %108 unwind label %231

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %109 = invoke noundef zeroext i1 @_ZNK12Roaring64Map6selectEmPm(ptr noundef nonnull align 8 dereferenceable(49) %11, i64 noundef 4, ptr noundef %12)
          to label %110 unwind label %235

110:                                              ; preds = %108
  %111 = load i64, ptr %12, align 8, !tbaa !11
  %112 = icmp eq i64 %111, -4446744073709551516
  %113 = zext i1 %112 to i64
  invoke void @_assert_true(i64 noundef %113, ptr noundef @.str.37, ptr noundef @.str.1, i32 noundef 348)
          to label %114 unwind label %235

114:                                              ; preds = %110
  %115 = invoke noundef i64 @_ZNK12Roaring64Map7minimumEv(ptr noundef nonnull align 8 dereferenceable(49) %11)
          to label %116 unwind label %235

116:                                              ; preds = %114
  %117 = icmp eq i64 %115, 1
  %118 = zext i1 %117 to i64
  invoke void @_assert_true(i64 noundef %118, ptr noundef @.str.38, ptr noundef @.str.1, i32 noundef 350)
          to label %119 unwind label %235

119:                                              ; preds = %116
  %120 = invoke noundef i64 @_ZNK12Roaring64Map7maximumEv(ptr noundef nonnull align 8 dereferenceable(49) %11)
          to label %121 unwind label %235

121:                                              ; preds = %119
  %122 = icmp eq i64 %120, -4446744073709551516
  %123 = zext i1 %122 to i64
  invoke void @_assert_true(i64 noundef %123, ptr noundef @.str.39, ptr noundef @.str.1, i32 noundef 352)
          to label %124 unwind label %235

124:                                              ; preds = %121
  %125 = invoke noundef i64 @_ZNK12Roaring64Map4rankEm(ptr noundef nonnull align 8 dereferenceable(49) %11, i64 noundef 234294967296)
          to label %126 unwind label %235

126:                                              ; preds = %124
  %127 = icmp eq i64 %125, 4
  %128 = zext i1 %127 to i64
  invoke void @_assert_true(i64 noundef %128, ptr noundef @.str.40, ptr noundef @.str.1, i32 noundef 354)
          to label %129 unwind label %235

129:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 @__const._Z19test_example_cpp_64b.values, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 56, ptr %14) #10
  %130 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
  invoke void @_ZN12Roaring64MapC2EmPKj(ptr noundef nonnull align 8 dereferenceable(49) %14, i64 noundef 3, ptr noundef %130)
          to label %131 unwind label %239

131:                                              ; preds = %129
  %132 = load i8, ptr %2, align 1, !tbaa !5, !range !9, !noundef !10
  %133 = trunc i8 %132 to i1
  invoke void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49) %14, i1 noundef zeroext %133)
          to label %134 unwind label %243

134:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %135 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %136 unwind label %247

136:                                              ; preds = %134
  store i64 %135, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %137 = load i64, ptr %15, align 8, !tbaa !11
  %138 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %137, i64 8)
  %139 = extractvalue { i64, i1 } %138, 1
  %140 = extractvalue { i64, i1 } %138, 0
  %141 = select i1 %139, i64 -1, i64 %140
  %142 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %141) #11
          to label %143 unwind label %251

143:                                              ; preds = %136
  store ptr %142, ptr %16, align 8, !tbaa !16
  %144 = load ptr, ptr %16, align 8, !tbaa !16
  %145 = icmp ne ptr %144, null
  %146 = zext i1 %145 to i64
  invoke void @_assert_true(i64 noundef %146, ptr noundef @.str.22, ptr noundef @.str.1, i32 noundef 364)
          to label %147 unwind label %251

147:                                              ; preds = %143
  %148 = load ptr, ptr %16, align 8, !tbaa !16
  invoke void @_ZNK12Roaring64Map13toUint64ArrayEPm(ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef %148)
          to label %149 unwind label %251

149:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 56, ptr %17) #10
  %150 = load i64, ptr %15, align 8, !tbaa !11
  %151 = load ptr, ptr %16, align 8, !tbaa !16
  invoke void @_ZN12Roaring64MapC2EmPKm(ptr noundef nonnull align 8 dereferenceable(49) %17, i64 noundef %150, ptr noundef %151)
          to label %152 unwind label %255

152:                                              ; preds = %149
  %153 = load ptr, ptr %16, align 8, !tbaa !16
  %154 = icmp eq ptr %153, null
  br i1 %154, label %156, label %155

155:                                              ; preds = %152
  call void @_ZdaPv(ptr noundef %153) #12
  br label %156

156:                                              ; preds = %155, %152
  %157 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef nonnull align 8 dereferenceable(49) %17)
          to label %158 unwind label %259

158:                                              ; preds = %156
  %159 = zext i1 %157 to i64
  invoke void @_assert_true(i64 noundef %159, ptr noundef @.str.23, ptr noundef @.str.1, i32 noundef 370)
          to label %160 unwind label %259

160:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 56, ptr %18) #10
  invoke void @_ZN12Roaring64MapC2ERKS_(ptr noundef nonnull align 8 dereferenceable(49) %18, ptr noundef nonnull align 8 dereferenceable(49) %14)
          to label %161 unwind label %263

161:                                              ; preds = %160
  %162 = load i8, ptr %2, align 1, !tbaa !5, !range !9, !noundef !10
  %163 = trunc i8 %162 to i1
  invoke void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49) %18, i1 noundef zeroext %163)
          to label %164 unwind label %267

164:                                              ; preds = %161
  %165 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %14, ptr noundef nonnull align 8 dereferenceable(49) %18)
          to label %166 unwind label %267

166:                                              ; preds = %164
  %167 = zext i1 %165 to i64
  invoke void @_assert_true(i64 noundef %167, ptr noundef @.str.24, ptr noundef @.str.1, i32 noundef 375)
          to label %168 unwind label %267

168:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 56, ptr %19) #10
  invoke void @_ZNK12Roaring64MaporERKS_(ptr dead_on_unwind writable sret(%class.Roaring64Map) align 8 %19, ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef nonnull align 8 dereferenceable(49) %11)
          to label %169 unwind label %271

169:                                              ; preds = %168
  %170 = load i8, ptr %2, align 1, !tbaa !5, !range !9, !noundef !10
  %171 = trunc i8 %170 to i1
  invoke void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49) %19, i1 noundef zeroext %171)
          to label %172 unwind label %275

172:                                              ; preds = %169
  %173 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN12Roaring64MapoRERKS_(ptr noundef nonnull align 8 dereferenceable(49) %19, ptr noundef nonnull align 8 dereferenceable(49) %14)
          to label %174 unwind label %275

174:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #10
  store ptr %3, ptr %20, align 8, !tbaa !16
  %175 = getelementptr inbounds ptr, ptr %20, i64 1
  store ptr %11, ptr %175, align 8, !tbaa !16
  %176 = getelementptr inbounds ptr, ptr %20, i64 2
  store ptr %14, ptr %176, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 56, ptr %21) #10
  %177 = getelementptr inbounds [3 x ptr], ptr %20, i64 0, i64 0
  invoke void @_ZN12Roaring64Map9fastunionEmPPKS_(ptr dead_on_unwind writable sret(%class.Roaring64Map) align 8 %21, i64 noundef 3, ptr noundef %177)
          to label %178 unwind label %279

178:                                              ; preds = %174
  %179 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %19, ptr noundef nonnull align 8 dereferenceable(49) %21)
          to label %180 unwind label %283

180:                                              ; preds = %178
  %181 = zext i1 %179 to i64
  invoke void @_assert_true(i64 noundef %181, ptr noundef @.str.25, ptr noundef @.str.1, i32 noundef 385)
          to label %182 unwind label %283

182:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 56, ptr %22) #10
  invoke void @_ZNK12Roaring64MapanERKS_(ptr dead_on_unwind writable sret(%class.Roaring64Map) align 8 %22, ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef nonnull align 8 dereferenceable(49) %11)
          to label %183 unwind label %287

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %184 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %3, i1 noundef zeroext true)
          to label %185 unwind label %291

185:                                              ; preds = %183
  store i64 %184, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %186 = load i64, ptr %23, align 8, !tbaa !11
  %187 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %186) #11
          to label %188 unwind label %295

188:                                              ; preds = %185
  store ptr %187, ptr %24, align 8, !tbaa !16
  %189 = load ptr, ptr %24, align 8, !tbaa !16
  %190 = invoke noundef i64 @_ZNK12Roaring64Map5writeEPcb(ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef %189, i1 noundef zeroext true)
          to label %191 unwind label %295

191:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 56, ptr %25) #10
  %192 = load ptr, ptr %24, align 8, !tbaa !16
  invoke void @_ZN12Roaring64Map4readEPKcb(ptr dead_on_unwind writable sret(%class.Roaring64Map) align 8 %25, ptr noundef %192, i1 noundef zeroext true)
          to label %193 unwind label %299

193:                                              ; preds = %191
  %194 = load i64, ptr %23, align 8, !tbaa !11
  %195 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %25, i1 noundef zeroext true)
          to label %196 unwind label %303

196:                                              ; preds = %193
  %197 = icmp eq i64 %194, %195
  %198 = zext i1 %197 to i64
  invoke void @_assert_true(i64 noundef %198, ptr noundef @.str.26, ptr noundef @.str.1, i32 noundef 395)
          to label %199 unwind label %303

199:                                              ; preds = %196
  %200 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef nonnull align 8 dereferenceable(49) %25)
          to label %201 unwind label %303

201:                                              ; preds = %199
  %202 = zext i1 %200 to i64
  invoke void @_assert_true(i64 noundef %202, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 396)
          to label %203 unwind label %303

203:                                              ; preds = %201
  %204 = load ptr, ptr %24, align 8, !tbaa !16
  %205 = icmp eq ptr %204, null
  br i1 %205, label %207, label %206

206:                                              ; preds = %203
  call void @_ZdaPv(ptr noundef %204) #12
  br label %207

207:                                              ; preds = %206, %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  store i64 0, ptr %26, align 8, !tbaa !11
  invoke void @_ZNK12Roaring64Map7iterateEPFbmPvES0_(ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef @_Z25roaring_iterator_sumall64mPv, ptr noundef %26)
          to label %208 unwind label %307

208:                                              ; preds = %207
  store i64 0, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #10
  invoke void @_ZNK12Roaring64Map5beginEv(ptr dead_on_unwind writable sret(%class.Roaring64MapSetBitForwardIterator) align 8 %27, ptr noundef nonnull align 8 dereferenceable(49) %25)
          to label %209 unwind label %311

209:                                              ; preds = %208
  br label %210

210:                                              ; preds = %323, %209
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #10
  invoke void @_ZNK12Roaring64Map3endEv(ptr dead_on_unwind writable sret(%class.Roaring64MapSetBitForwardIterator) align 8 %28, ptr noundef nonnull align 8 dereferenceable(49) %25)
          to label %211 unwind label %315

211:                                              ; preds = %210
  %212 = invoke noundef zeroext i1 @_ZN33Roaring64MapSetBitForwardIteratorneERKS_(ptr noundef nonnull align 8 dereferenceable(64) %27, ptr noundef nonnull align 8 dereferenceable(64) %28)
          to label %213 unwind label %315

213:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  br i1 %212, label %319, label %214

214:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #10
  br label %329

215:                                              ; preds = %82, %79, %77, %75
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %4, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %5, align 4
  br label %391

219:                                              ; preds = %86, %84
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %4, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %5, align 4
  br label %390

223:                                              ; preds = %102, %100, %97, %95, %92, %90, %88
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %4, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %5, align 4
  br label %389

227:                                              ; preds = %104
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %4, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %5, align 4
  br label %388

231:                                              ; preds = %106, %105
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %4, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %5, align 4
  br label %387

235:                                              ; preds = %126, %124, %121, %119, %116, %114, %110, %108
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %4, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %5, align 4
  br label %386

239:                                              ; preds = %129
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %4, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %5, align 4
  br label %385

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

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

251:                                              ; preds = %147, %143, %136
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %4, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %5, align 4
  br label %382

255:                                              ; preds = %149
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %4, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %5, align 4
  br label %381

259:                                              ; preds = %158, %156
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %4, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %5, align 4
  br label %380

263:                                              ; preds = %160
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %4, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %5, align 4
  br label %379

267:                                              ; preds = %166, %164, %161
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %4, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %5, align 4
  br label %378

271:                                              ; preds = %168
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %4, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %5, align 4
  br label %377

275:                                              ; preds = %172, %169
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %4, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %5, align 4
  br label %376

279:                                              ; preds = %174
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %4, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %5, align 4
  br label %375

283:                                              ; preds = %180, %178
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %4, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %5, align 4
  br label %374

287:                                              ; preds = %182
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %4, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %5, align 4
  br label %373

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

295:                                              ; preds = %188, %185
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %4, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %5, align 4
  br label %371

299:                                              ; preds = %191
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %4, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %5, align 4
  br label %370

303:                                              ; preds = %201, %199, %196, %193
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %4, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %5, align 4
  br label %369

307:                                              ; preds = %332, %329, %207
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %4, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %5, align 4
  br label %368

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

315:                                              ; preds = %211, %210
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %4, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  br label %328

319:                                              ; preds = %213
  %320 = load i64, ptr %26, align 8, !tbaa !11
  %321 = add i64 %320, 1
  store i64 %321, ptr %26, align 8, !tbaa !11
  br label %322

322:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #10
  invoke void @_ZN33Roaring64MapSetBitForwardIteratorppEi(ptr dead_on_unwind writable sret(%class.Roaring64MapSetBitForwardIterator) align 8 %29, ptr noundef nonnull align 8 dereferenceable(64) %27, i32 noundef 0)
          to label %323 unwind label %324

323:                                              ; preds = %322
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #10
  br label %210, !llvm.loop !18

324:                                              ; preds = %322
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %4, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #10
  br label %328

328:                                              ; preds = %324, %315, %311
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #10
  br label %368

329:                                              ; preds = %214
  %330 = load i64, ptr %26, align 8, !tbaa !11
  %331 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %25)
          to label %332 unwind label %307

332:                                              ; preds = %329
  %333 = icmp eq i64 %330, %331
  %334 = zext i1 %333 to i64
  invoke void @_assert_true(i64 noundef %334, ptr noundef @.str.29, ptr noundef @.str.1, i32 noundef 413)
          to label %335 unwind label %307

335:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 56, ptr %30) #10
  call void @_ZN12Roaring64MapC2Ev(ptr noundef nonnull align 8 dereferenceable(49) %30) #10
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %30, i32 noundef 1)
          to label %336 unwind label %355

336:                                              ; preds = %335
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %30, i32 noundef 2)
          to label %337 unwind label %355

337:                                              ; preds = %336
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %30, i32 noundef 3)
          to label %338 unwind label %355

338:                                              ; preds = %337
  %339 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %30)
          to label %340 unwind label %355

340:                                              ; preds = %338
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %339, ptr noundef @.str.1, i32 noundef 420)
          to label %341 unwind label %355

341:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 56, ptr %31) #10
  call void @_ZN12Roaring64MapC2EOS_(ptr noundef nonnull align 8 dereferenceable(49) %31, ptr noundef nonnull align 8 dereferenceable(49) %30) #10
  %342 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %31)
          to label %343 unwind label %359

343:                                              ; preds = %341
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %342, ptr noundef @.str.1, i32 noundef 423)
          to label %344 unwind label %359

344:                                              ; preds = %343
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %31) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %30) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr %32) #10
  call void @_ZN12Roaring64MapC2Ev(ptr noundef nonnull align 8 dereferenceable(49) %32) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr %33) #10
  call void @_ZN12Roaring64MapC2Ev(ptr noundef nonnull align 8 dereferenceable(49) %33) #10
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %33, i32 noundef 1)
          to label %345 unwind label %364

345:                                              ; preds = %344
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %33, i32 noundef 2)
          to label %346 unwind label %364

346:                                              ; preds = %345
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %33, i32 noundef 3)
          to label %347 unwind label %364

347:                                              ; preds = %346
  %348 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %33)
          to label %349 unwind label %364

349:                                              ; preds = %347
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %348, ptr noundef @.str.1, i32 noundef 432)
          to label %350 unwind label %364

350:                                              ; preds = %349
  %351 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZN12Roaring64MapaSEOS_(ptr noundef nonnull align 8 dereferenceable(49) %32, ptr noundef nonnull align 8 dereferenceable(49) %33) #10
  %352 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %32)
          to label %353 unwind label %364

353:                                              ; preds = %350
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %352, ptr noundef @.str.1, i32 noundef 435)
          to label %354 unwind label %364

354:                                              ; preds = %353
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %33) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %32) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %25) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %22) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %19) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %18) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %17) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %14) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %11) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #10
  ret void

355:                                              ; preds = %340, %338, %337, %336, %335
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %4, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %5, align 4
  br label %363

359:                                              ; preds = %343, %341
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %4, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %5, align 4
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %31) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #10
  br label %363

363:                                              ; preds = %359, %355
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %30) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %30) #10
  br label %368

364:                                              ; preds = %353, %350, %349, %347, %346, %345, %344
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %4, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %5, align 4
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %33) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %32) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #10
  br label %368

368:                                              ; preds = %364, %363, %328, %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %369

369:                                              ; preds = %368, %303
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %25) #10
  br label %370

370:                                              ; preds = %369, %299
  call void @llvm.lifetime.end.p0(i64 56, ptr %25) #10
  br label %371

371:                                              ; preds = %370, %295
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %372

372:                                              ; preds = %371, %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %22) #10
  br label %373

373:                                              ; preds = %372, %287
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #10
  br label %374

374:                                              ; preds = %373, %283
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  br label %375

375:                                              ; preds = %374, %279
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #10
  br label %376

376:                                              ; preds = %375, %275
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %19) #10
  br label %377

377:                                              ; preds = %376, %271
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #10
  br label %378

378:                                              ; preds = %377, %267
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %18) #10
  br label %379

379:                                              ; preds = %378, %263
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #10
  br label %380

380:                                              ; preds = %379, %259
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %17) #10
  br label %381

381:                                              ; preds = %380, %255
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #10
  br label %382

382:                                              ; preds = %381, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %383

383:                                              ; preds = %382, %247
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %384

384:                                              ; preds = %383, %243
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %14) #10
  br label %385

385:                                              ; preds = %384, %239
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #10
  br label %386

386:                                              ; preds = %385, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  br label %387

387:                                              ; preds = %386, %231
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %11) #10
  br label %388

388:                                              ; preds = %387, %227
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #10
  br label %389

389:                                              ; preds = %388, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  br label %390

390:                                              ; preds = %389, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  br label %391

391:                                              ; preds = %390, %215
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  br label %392

392:                                              ; preds = %391, %67, %52, %42
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #10
  br label %393

393:                                              ; preds = %392
  %394 = load ptr, ptr %4, align 8
  %395 = load i32, ptr %5, align 4
  %396 = insertvalue { ptr, i32 } poison, ptr %394, 0
  %397 = insertvalue { ptr, i32 } %396, i32 %395, 1
  resume { ptr, i32 } %397
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49), i1 noundef zeroext) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12Roaring64Map3addEm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef) #8 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12Roaring64MapC2ERKS_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #7 align 2

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12Roaring64MapC2EOS_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(49) ptr @_ZN12Roaring64MapaSEOS_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) #9 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 = { 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 #4 = { "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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 #8 = { 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 = { inlinehint 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { 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 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = distinct !{!18, !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.Roaring64Map = type <{ %"class.std::map", i8, [7 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, Roaring>, std::_Select1st<std::pair<const unsigned int, Roaring>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, Roaring>, std::_Select1st<std::pair<const unsigned int, Roaring>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.Roaring64MapSetBitForwardIterator = type { %"struct.std::_Rb_tree_const_iterator", %"struct.std::_Rb_tree_const_iterator", %struct.roaring_uint32_iterator_s }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%struct.roaring_uint32_iterator_s = type { ptr, i32, i32, i32, i32, i8, ptr, i8, i32 }

@.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
@_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.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.29 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [33 x i8], align 1
@__const._Z19test_example_cpp_64b.values = external hidden unnamed_addr constant [3 x i32], align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z25roaring_iterator_sumall64mPv(i64 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

declare i32 @__gxx_personality_v0(...)

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

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

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

; 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 #6

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

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

; 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 #8 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 #8 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)) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19test_example_cpp_64b(i1 noundef zeroext %0) local_unnamed_addr #8 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.Roaring64Map, align 8
  %3 = alloca %class.Roaring64Map, align 8
  %4 = alloca i64, align 8
  %5 = alloca [3 x i32], align 4
  %6 = alloca %class.Roaring64Map, align 8
  %7 = alloca %class.Roaring64Map, align 8
  %8 = alloca %class.Roaring64Map, align 8
  %9 = alloca %class.Roaring64Map, align 8
  %10 = alloca [3 x ptr], align 16
  %11 = alloca %class.Roaring64Map, align 8
  %12 = alloca %class.Roaring64Map, align 8
  %13 = alloca %class.Roaring64Map, align 8
  %14 = alloca i64, align 8
  %15 = alloca %class.Roaring64MapSetBitForwardIterator, align 8
  %16 = alloca %class.Roaring64MapSetBitForwardIterator, align 8
  %17 = alloca %class.Roaring64MapSetBitForwardIterator, align 8
  %18 = alloca %class.Roaring64Map, align 8
  %19 = alloca %class.Roaring64Map, align 8
  %20 = alloca %class.Roaring64Map, align 8
  %21 = alloca %class.Roaring64Map, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #10
  call void @_ZN12Roaring64MapC2Ev(ptr noundef nonnull align 8 dereferenceable(49) %2) #10
  invoke void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49) %2, i1 noundef zeroext %0)
          to label %.preheader84 unwind label %22

22:                                               ; preds = %34, %28, %1
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %251

.preheader84:                                     ; preds = %1, %24
  %.05285 = phi i64 [ %25, %24 ], [ 100, %1 ]
  invoke void @_ZN12Roaring64Map3addEm(ptr noundef nonnull align 8 dereferenceable(49) %2, i64 noundef %.05285)
          to label %24 unwind label %26

24:                                               ; preds = %.preheader84
  %25 = add nuw nsw i64 %.05285, 1
  %exitcond.not = icmp eq i64 %25, 1000
  br i1 %exitcond.not, label %.preheader83, label %.preheader84, !llvm.loop !5

26:                                               ; preds = %.preheader84
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %251

28:                                               ; preds = %30
  %29 = invoke noundef zeroext i1 @_ZNK12Roaring64Map8containsEm(ptr noundef nonnull align 8 dereferenceable(49) %2, i64 noundef -4446744073709551116)
          to label %34 unwind label %22

.preheader83:                                     ; preds = %24, %30
  %.05386 = phi i64 [ %31, %30 ], [ -4446744073709551516, %24 ]
  invoke void @_ZN12Roaring64Map3addEm(ptr noundef nonnull align 8 dereferenceable(49) %2, i64 noundef %.05386)
          to label %30 unwind label %32

30:                                               ; preds = %.preheader83
  %31 = add nuw nsw i64 %.05386, 1
  %exitcond87.not = icmp eq i64 %31, -4446744073709550616
  br i1 %exitcond87.not, label %28, label %.preheader83, !llvm.loop !7

32:                                               ; preds = %.preheader83
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %251

34:                                               ; preds = %28
  %35 = zext i1 %29 to i64
  invoke void @_assert_true(i64 noundef %35, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.1, i32 noundef 322)
          to label %36 unwind label %22

36:                                               ; preds = %34
  %37 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %2)
          to label %38 unwind label %144

38:                                               ; preds = %36
  %39 = 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 %40 unwind label %144

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

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

44:                                               ; preds = %42
  %45 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %2, i1 noundef zeroext true)
          to label %46 unwind label %146

46:                                               ; preds = %44
  %47 = invoke noundef zeroext i1 @_ZN12Roaring64Map11runOptimizeEv(ptr noundef nonnull align 8 dereferenceable(49) %2)
          to label %48 unwind label %146

48:                                               ; preds = %46
  %49 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %2, i1 noundef zeroext true)
          to label %50 unwind label %148

50:                                               ; preds = %48
  %51 = 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 %52 unwind label %148

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %51, i64 noundef %45)
          to label %54 unwind label %148

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

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %55, i64 noundef %49)
          to label %58 unwind label %148

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

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

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #10
  invoke void (ptr, i64, ...) @_ZN12Roaring64Map8bitmapOfEmz(ptr dead_on_unwind nonnull writable sret(%class.Roaring64Map) align 8 %3, i64 noundef 5, i64 noundef 1, i64 noundef 2, i64 noundef 234294967296, i64 noundef 195839473298, i64 noundef -4446744073709551516)
          to label %63 unwind label %150

63:                                               ; preds = %62
  invoke void @_ZNK12Roaring64Map6printfEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %64 unwind label %152

64:                                               ; preds = %63
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %66 = invoke noundef zeroext i1 @_ZNK12Roaring64Map6selectEmPm(ptr noundef nonnull align 8 dereferenceable(49) %3, i64 noundef 4, ptr noundef nonnull %4)
          to label %67 unwind label %154

67:                                               ; preds = %64
  %68 = load i64, ptr %4, align 8, !tbaa !8
  %69 = icmp eq i64 %68, -4446744073709551516
  %70 = zext i1 %69 to i64
  invoke void @_assert_true(i64 noundef %70, ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.1, i32 noundef 348)
          to label %71 unwind label %154

71:                                               ; preds = %67
  %72 = invoke noundef i64 @_ZNK12Roaring64Map7minimumEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %73 unwind label %154

73:                                               ; preds = %71
  %74 = icmp eq i64 %72, 1
  %75 = zext i1 %74 to i64
  invoke void @_assert_true(i64 noundef %75, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.1, i32 noundef 350)
          to label %76 unwind label %154

76:                                               ; preds = %73
  %77 = invoke noundef i64 @_ZNK12Roaring64Map7maximumEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %78 unwind label %154

78:                                               ; preds = %76
  %79 = icmp eq i64 %77, -4446744073709551516
  %80 = zext i1 %79 to i64
  invoke void @_assert_true(i64 noundef %80, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.1, i32 noundef 352)
          to label %81 unwind label %154

81:                                               ; preds = %78
  %82 = invoke noundef i64 @_ZNK12Roaring64Map4rankEm(ptr noundef nonnull align 8 dereferenceable(49) %3, i64 noundef 234294967296)
          to label %83 unwind label %154

83:                                               ; preds = %81
  %84 = icmp eq i64 %82, 4
  %85 = zext i1 %84 to i64
  invoke void @_assert_true(i64 noundef %85, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.1, i32 noundef 354)
          to label %86 unwind label %154

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z19test_example_cpp_64b.values, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #10
  invoke void @_ZN12Roaring64MapC2EmPKj(ptr noundef nonnull align 8 dereferenceable(49) %6, i64 noundef 3, ptr noundef nonnull %5)
          to label %87 unwind label %156

87:                                               ; preds = %86
  invoke void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49) %6, i1 noundef zeroext %0)
          to label %88 unwind label %158

88:                                               ; preds = %87
  %89 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %2)
          to label %90 unwind label %160

90:                                               ; preds = %88
  %91 = icmp ugt i64 %89, 2305843009213693951
  %92 = shl nuw i64 %89, 3
  %93 = select i1 %91, i64 -1, i64 %92
  %94 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %93) #11
          to label %95 unwind label %162

95:                                               ; preds = %90
  invoke void @_assert_true(i64 noundef 1, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.1, i32 noundef 364)
          to label %96 unwind label %162

96:                                               ; preds = %95
  invoke void @_ZNK12Roaring64Map13toUint64ArrayEPm(ptr noundef nonnull align 8 dereferenceable(49) %2, ptr noundef nonnull %94)
          to label %97 unwind label %162

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #10
  invoke void @_ZN12Roaring64MapC2EmPKm(ptr noundef nonnull align 8 dereferenceable(49) %7, i64 noundef %89, ptr noundef nonnull %94)
          to label %98 unwind label %164

98:                                               ; preds = %97
  call void @_ZdaPv(ptr noundef nonnull %94) #12
  %99 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %2, ptr noundef nonnull align 8 dereferenceable(49) %7)
          to label %100 unwind label %166

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

102:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #10
  invoke void @_ZN12Roaring64MapC2ERKS_(ptr noundef nonnull align 8 dereferenceable(49) %8, ptr noundef nonnull align 8 dereferenceable(49) %6)
          to label %103 unwind label %168

103:                                              ; preds = %102
  invoke void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49) %8, i1 noundef zeroext %0)
          to label %104 unwind label %170

104:                                              ; preds = %103
  %105 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %6, ptr noundef nonnull align 8 dereferenceable(49) %8)
          to label %106 unwind label %170

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 375)
          to label %108 unwind label %170

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #10
  invoke void @_ZNK12Roaring64MaporERKS_(ptr dead_on_unwind nonnull writable sret(%class.Roaring64Map) align 8 %9, ptr noundef nonnull align 8 dereferenceable(49) %2, ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %109 unwind label %172

109:                                              ; preds = %108
  invoke void @_ZN12Roaring64Map14setCopyOnWriteEb(ptr noundef nonnull align 8 dereferenceable(49) %9, i1 noundef zeroext %0)
          to label %110 unwind label %174

110:                                              ; preds = %109
  %111 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN12Roaring64MapoRERKS_(ptr noundef nonnull align 8 dereferenceable(49) %9, ptr noundef nonnull align 8 dereferenceable(49) %6)
          to label %112 unwind label %174

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #10
  store ptr %2, ptr %10, align 16, !tbaa !12
  %113 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %3, ptr %113, align 8, !tbaa !12
  %114 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %6, ptr %114, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #10
  invoke void @_ZN12Roaring64Map9fastunionEmPPKS_(ptr dead_on_unwind nonnull writable sret(%class.Roaring64Map) align 8 %11, i64 noundef 3, ptr noundef nonnull %10)
          to label %115 unwind label %176

115:                                              ; preds = %112
  %116 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %9, ptr noundef nonnull align 8 dereferenceable(49) %11)
          to label %117 unwind label %178

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

119:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %12) #10
  invoke void @_ZNK12Roaring64MapanERKS_(ptr dead_on_unwind nonnull writable sret(%class.Roaring64Map) align 8 %12, ptr noundef nonnull align 8 dereferenceable(49) %2, ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %120 unwind label %180

120:                                              ; preds = %119
  %121 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %2, i1 noundef zeroext true)
          to label %122 unwind label %182

122:                                              ; preds = %120
  %123 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %121) #11
          to label %124 unwind label %184

124:                                              ; preds = %122
  %125 = invoke noundef i64 @_ZNK12Roaring64Map5writeEPcb(ptr noundef nonnull align 8 dereferenceable(49) %2, ptr noundef nonnull %123, i1 noundef zeroext true)
          to label %126 unwind label %184

126:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %13) #10
  invoke void @_ZN12Roaring64Map4readEPKcb(ptr dead_on_unwind nonnull writable sret(%class.Roaring64Map) align 8 %13, ptr noundef nonnull %123, i1 noundef zeroext true)
          to label %127 unwind label %186

127:                                              ; preds = %126
  %128 = invoke noundef i64 @_ZNK12Roaring64Map14getSizeInBytesEb(ptr noundef nonnull align 8 dereferenceable(49) %13, i1 noundef zeroext true)
          to label %129 unwind label %188

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

132:                                              ; preds = %129
  %133 = invoke noundef zeroext i1 @_ZNK12Roaring64MapeqERKS_(ptr noundef nonnull align 8 dereferenceable(49) %2, ptr noundef nonnull align 8 dereferenceable(49) %13)
          to label %134 unwind label %188

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

136:                                              ; preds = %134
  call void @_ZdaPv(ptr noundef nonnull %123) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  store i64 0, ptr %14, align 8, !tbaa !8
  invoke void @_ZNK12Roaring64Map7iterateEPFbmPvES0_(ptr noundef nonnull align 8 dereferenceable(49) %2, ptr noundef nonnull @_Z25roaring_iterator_sumall64mPv, ptr noundef nonnull %14)
          to label %137 unwind label %190

137:                                              ; preds = %136
  store i64 0, ptr %14, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #10
  invoke void @_ZNK12Roaring64Map5beginEv(ptr dead_on_unwind nonnull writable sret(%class.Roaring64MapSetBitForwardIterator) align 8 %15, ptr noundef nonnull align 8 dereferenceable(49) %13)
          to label %.preheader unwind label %192

.preheader:                                       ; preds = %137, %199
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #10
  invoke void @_ZNK12Roaring64Map3endEv(ptr dead_on_unwind nonnull writable sret(%class.Roaring64MapSetBitForwardIterator) align 8 %16, ptr noundef nonnull align 8 dereferenceable(49) %13)
          to label %138 unwind label %194

138:                                              ; preds = %.preheader
  %139 = invoke noundef zeroext i1 @_ZN33Roaring64MapSetBitForwardIteratorneERKS_(ptr noundef nonnull align 8 dereferenceable(64) %15, ptr noundef nonnull align 8 dereferenceable(64) %16)
          to label %140 unwind label %194

140:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #10
  br i1 %139, label %196, label %141

141:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #10
  %142 = load i64, ptr %14, align 8, !tbaa !8
  %143 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %13)
          to label %203 unwind label %190

144:                                              ; preds = %42, %40, %38, %36
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %251

146:                                              ; preds = %46, %44
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %251

148:                                              ; preds = %60, %58, %56, %54, %52, %50, %48
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %251

150:                                              ; preds = %62
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %250

152:                                              ; preds = %63
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %249

154:                                              ; preds = %83, %81, %78, %76, %73, %71, %67, %64
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %248

156:                                              ; preds = %86
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %247

158:                                              ; preds = %87
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %246

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

162:                                              ; preds = %96, %95, %90
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %246

164:                                              ; preds = %97
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %245

166:                                              ; preds = %100, %98
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %244

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

170:                                              ; preds = %106, %104, %103
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %242

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

174:                                              ; preds = %110, %109
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %240

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

178:                                              ; preds = %117, %115
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %238

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

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

184:                                              ; preds = %124, %122
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %236

186:                                              ; preds = %126
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %235

188:                                              ; preds = %134, %132, %129, %127
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %234

190:                                              ; preds = %203, %141, %136
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %233

192:                                              ; preds = %137
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %202

194:                                              ; preds = %138, %.preheader
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #10
  br label %202

196:                                              ; preds = %140
  %197 = load i64, ptr %14, align 8, !tbaa !8
  %198 = add i64 %197, 1
  store i64 %198, ptr %14, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #10
  invoke void @_ZN33Roaring64MapSetBitForwardIteratorppEi(ptr dead_on_unwind nonnull writable sret(%class.Roaring64MapSetBitForwardIterator) align 8 %17, ptr noundef nonnull align 8 dereferenceable(64) %15, i32 noundef 0)
          to label %199 unwind label %200

199:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #10
  br label %.preheader, !llvm.loop !14

200:                                              ; preds = %196
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #10
  br label %202

202:                                              ; preds = %200, %194, %192
  %.pn55 = phi { ptr, i32 } [ %201, %200 ], [ %195, %194 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #10
  br label %233

203:                                              ; preds = %141
  %204 = icmp eq i64 %142, %143
  %205 = zext i1 %204 to i64
  invoke void @_assert_true(i64 noundef %205, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.1, i32 noundef 413)
          to label %206 unwind label %190

206:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %18) #10
  call void @_ZN12Roaring64MapC2Ev(ptr noundef nonnull align 8 dereferenceable(49) %18) #10
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %18, i32 noundef 1)
          to label %207 unwind label %226

207:                                              ; preds = %206
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %18, i32 noundef 2)
          to label %208 unwind label %226

208:                                              ; preds = %207
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %18, i32 noundef 3)
          to label %209 unwind label %226

209:                                              ; preds = %208
  %210 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %18)
          to label %211 unwind label %226

211:                                              ; preds = %209
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %210, ptr noundef nonnull @.str.1, i32 noundef 420)
          to label %212 unwind label %226

212:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %19) #10
  call void @_ZN12Roaring64MapC2EOS_(ptr noundef nonnull align 8 dereferenceable(49) %19, ptr noundef nonnull align 8 dereferenceable(49) %18) #10
  %213 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %19)
          to label %214 unwind label %228

214:                                              ; preds = %212
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %213, ptr noundef nonnull @.str.1, i32 noundef 423)
          to label %215 unwind label %228

215:                                              ; preds = %214
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %19) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %19) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %18) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %20) #10
  call void @_ZN12Roaring64MapC2Ev(ptr noundef nonnull align 8 dereferenceable(49) %20) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %21) #10
  call void @_ZN12Roaring64MapC2Ev(ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %21, i32 noundef 1)
          to label %216 unwind label %231

216:                                              ; preds = %215
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %21, i32 noundef 2)
          to label %217 unwind label %231

217:                                              ; preds = %216
  invoke void @_ZN12Roaring64Map3addEj(ptr noundef nonnull align 8 dereferenceable(49) %21, i32 noundef 3)
          to label %218 unwind label %231

218:                                              ; preds = %217
  %219 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %21)
          to label %220 unwind label %231

220:                                              ; preds = %218
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %219, ptr noundef nonnull @.str.1, i32 noundef 432)
          to label %221 unwind label %231

221:                                              ; preds = %220
  %222 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZN12Roaring64MapaSEOS_(ptr noundef nonnull align 8 dereferenceable(49) %20, ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  %223 = invoke noundef i64 @_ZNK12Roaring64Map11cardinalityEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
          to label %224 unwind label %231

224:                                              ; preds = %221
  invoke void @_assert_int_equal(i64 noundef 3, i64 noundef %223, ptr noundef nonnull @.str.1, i32 noundef 435)
          to label %225 unwind label %231

225:                                              ; preds = %224
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %21) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %20) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %13) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %12) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %11) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %9) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %8) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %7) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %6) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %2) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #10
  ret void

226:                                              ; preds = %211, %209, %208, %207, %206
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %230

228:                                              ; preds = %214, %212
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %19) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %19) #10
  br label %230

230:                                              ; preds = %228, %226
  %.pn = phi { ptr, i32 } [ %229, %228 ], [ %227, %226 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %18) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %18) #10
  br label %233

231:                                              ; preds = %224, %221, %220, %218, %217, %216, %215
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %21) #10
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %20) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #10
  br label %233

233:                                              ; preds = %231, %230, %202, %190
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %202 ], [ %232, %231 ], [ %.pn, %230 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %234

234:                                              ; preds = %233, %188
  %.pn55.pn.pn = phi { ptr, i32 } [ %.pn55.pn, %233 ], [ %189, %188 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %13) #10
  br label %235

235:                                              ; preds = %234, %186
  %.pn55.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn, %234 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #10
  br label %236

236:                                              ; preds = %184, %235, %182
  %.pn55.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %183, %182 ], [ %.pn55.pn.pn.pn, %235 ], [ %185, %184 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %12) #10
  br label %237

237:                                              ; preds = %236, %180
  %.pn55.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn, %236 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #10
  br label %238

238:                                              ; preds = %237, %178
  %.pn55.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn, %237 ], [ %179, %178 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %11) #10
  br label %239

239:                                              ; preds = %238, %176
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn, %238 ], [ %177, %176 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #10
  br label %240

240:                                              ; preds = %239, %174
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn, %239 ], [ %175, %174 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %9) #10
  br label %241

241:                                              ; preds = %240, %172
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn, %240 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #10
  br label %242

242:                                              ; preds = %241, %170
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %241 ], [ %171, %170 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %8) #10
  br label %243

243:                                              ; preds = %242, %168
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %242 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #10
  br label %244

244:                                              ; preds = %243, %166
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %243 ], [ %167, %166 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %7) #10
  br label %245

245:                                              ; preds = %244, %164
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %244 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #10
  br label %246

246:                                              ; preds = %160, %245, %162, %158
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %159, %158 ], [ %161, %160 ], [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %245 ], [ %163, %162 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %6) #10
  br label %247

247:                                              ; preds = %246, %156
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %246 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #10
  br label %248

248:                                              ; preds = %247, %154
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %247 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br label %249

249:                                              ; preds = %248, %152
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %248 ], [ %153, %152 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #10
  br label %250

250:                                              ; preds = %249, %150
  %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %249 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #10
  br label %251

251:                                              ; preds = %144, %148, %250, %146, %32, %26, %22
  %.pn81 = phi { ptr, i32 } [ %27, %26 ], [ %33, %32 ], [ %23, %22 ], [ %145, %144 ], [ %147, %146 ], [ %.pn55.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %250 ], [ %149, %148 ]
  call void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %2) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #10
  resume { ptr, i32 } %.pn81
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12Roaring64Map3addEm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef) local_unnamed_addr #8 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12Roaring64MapC2ERKS_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #7 align 2

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12Roaring64MapC2EOS_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12Roaring64MapD2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(49) ptr @_ZN12Roaring64MapaSEOS_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #9 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 = { 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 #4 = { "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 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 = { inlinehint 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { 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 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = distinct !{!14, !6}


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