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

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

@.str = external hidden unnamed_addr constant [95 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [40 x i8], align 1

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

declare ptr @array_container_create() #1

declare ptr @bitset_container_create() #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @array_container_add(ptr noundef, i16 noundef zeroext) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @bitset_container_set(ptr noundef, i16 noundef zeroext) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @array_container_cardinality(ptr noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @bitset_container_cardinality(ptr noundef) #2

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

declare void @bitset_container_free(ptr noundef) #1

declare void @array_container_free(ptr noundef) #1

declare ptr @run_container_create() #1

declare zeroext i1 @run_container_add(ptr noundef, i16 noundef zeroext) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @run_container_cardinality(ptr noundef) #2

declare void @run_container_free(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @run_xor_test() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  %24 = call ptr @array_container_create()
  store ptr %24, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %25 = call ptr @array_container_create()
  store ptr %25, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %26 = call ptr @array_container_create()
  store ptr %26, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %27 = call ptr @array_container_create()
  store ptr %27, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %28 = call ptr @bitset_container_create()
  store ptr %28, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %29 = call ptr @bitset_container_create()
  store ptr %29, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %30 = call ptr @bitset_container_create()
  store ptr %30, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %31 = call ptr @bitset_container_create()
  store ptr %31, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %32 = call ptr @run_container_create()
  store ptr %32, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %33 = call ptr @run_container_create()
  store ptr %33, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %34 = call ptr @run_container_create()
  store ptr %34, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %35 = call ptr @run_container_create()
  store ptr %35, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %57, %0
  %37 = load i32, ptr %13, align 4, !tbaa !9
  %38 = icmp slt i32 %37, 65536
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %60

40:                                               ; preds = %36
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = srem i32 %41, 5
  %43 = icmp slt i32 %42, 3
  br i1 %43, label %44, label %56

44:                                               ; preds = %40
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = trunc i32 %46 to i16
  %48 = call zeroext i1 @array_container_add(ptr noundef %45, i16 noundef zeroext %47)
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = trunc i32 %50 to i16
  call void @bitset_container_set(ptr noundef %49, i16 noundef zeroext %51)
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = trunc i32 %53 to i16
  %55 = call zeroext i1 @run_container_add(ptr noundef %52, i16 noundef zeroext %54)
  br label %56

56:                                               ; preds = %44, %40
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %13, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %13, align 4, !tbaa !9
  br label %36, !llvm.loop !11

60:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %82, %60
  %62 = load i32, ptr %14, align 4, !tbaa !9
  %63 = icmp slt i32 %62, 65536
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %85

65:                                               ; preds = %61
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = srem i32 %66, 62
  %68 = icmp slt i32 %67, 37
  br i1 %68, label %69, label %81

69:                                               ; preds = %65
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = trunc i32 %71 to i16
  %73 = call zeroext i1 @array_container_add(ptr noundef %70, i16 noundef zeroext %72)
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = trunc i32 %75 to i16
  call void @bitset_container_set(ptr noundef %74, i16 noundef zeroext %76)
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = trunc i32 %78 to i16
  %80 = call zeroext i1 @run_container_add(ptr noundef %77, i16 noundef zeroext %79)
  br label %81

81:                                               ; preds = %69, %65
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %14, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %14, align 4, !tbaa !9
  br label %61, !llvm.loop !13

85:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %110, %85
  %87 = load i32, ptr %15, align 4, !tbaa !9
  %88 = icmp slt i32 %87, 65536
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %113

90:                                               ; preds = %86
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = srem i32 %91, 62
  %93 = icmp slt i32 %92, 37
  %94 = zext i1 %93 to i32
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = srem i32 %95, 5
  %97 = icmp slt i32 %96, 3
  %98 = zext i1 %97 to i32
  %99 = xor i32 %94, %98
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %109

101:                                              ; preds = %90
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = load i32, ptr %15, align 4, !tbaa !9
  %104 = trunc i32 %103 to i16
  %105 = call zeroext i1 @array_container_add(ptr noundef %102, i16 noundef zeroext %104)
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = trunc i32 %107 to i16
  call void @bitset_container_set(ptr noundef %106, i16 noundef zeroext %108)
  br label %109

109:                                              ; preds = %101, %90
  br label %110

110:                                              ; preds = %109
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %15, align 4, !tbaa !9
  br label %86, !llvm.loop !14

113:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %142, %113
  %115 = load i32, ptr %16, align 4, !tbaa !9
  %116 = icmp slt i32 %115, 65536
  br i1 %116, label %118, label %117

117:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %145

118:                                              ; preds = %114
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = srem i32 %119, 5
  %121 = icmp slt i32 %120, 2
  br i1 %121, label %129, label %122

122:                                              ; preds = %118
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = srem i32 %123, 5
  %125 = icmp slt i32 %124, 3
  br i1 %125, label %126, label %141

126:                                              ; preds = %122
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = icmp sgt i32 %127, 10000
  br i1 %128, label %129, label %141

129:                                              ; preds = %126, %118
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = trunc i32 %131 to i16
  %133 = call zeroext i1 @array_container_add(ptr noundef %130, i16 noundef zeroext %132)
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = trunc i32 %135 to i16
  call void @bitset_container_set(ptr noundef %134, i16 noundef zeroext %136)
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = trunc i32 %138 to i16
  %140 = call zeroext i1 @run_container_add(ptr noundef %137, i16 noundef zeroext %139)
  br label %141

141:                                              ; preds = %129, %126, %122
  br label %142

142:                                              ; preds = %141
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %16, align 4, !tbaa !9
  br label %114, !llvm.loop !15

145:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 1, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %164, %145
  %147 = load i32, ptr %18, align 4, !tbaa !9
  %148 = icmp slt i32 %147, 65536
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %167

150:                                              ; preds = %146
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = srem i32 %151, 4
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %159

154:                                              ; preds = %150
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = load i32, ptr %18, align 4, !tbaa !9
  %157 = trunc i32 %156 to i16
  %158 = call zeroext i1 @run_container_add(ptr noundef %155, i16 noundef zeroext %157)
  br label %159

159:                                              ; preds = %154, %150
  %160 = load i32, ptr %17, align 4, !tbaa !9
  %161 = mul nsw i32 3432, %160
  %162 = add nsw i32 %161, 6789
  %163 = srem i32 %162, 9973
  store i32 %163, ptr %17, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %159
  %165 = load i32, ptr %18, align 4, !tbaa !9
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %18, align 4, !tbaa !9
  br label %146, !llvm.loop !16

167:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = call i32 @array_container_cardinality(ptr noundef %168)
  store i32 %169, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  store ptr null, ptr %20, align 8, !tbaa !5
  %170 = load ptr, ptr %9, align 8, !tbaa !5
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = call zeroext i1 @run_bitset_container_xor(ptr noundef %170, ptr noundef %171, ptr noundef %20)
  %173 = xor i1 %172, true
  %174 = zext i1 %173 to i32
  %175 = sext i32 %174 to i64
  call void @_assert_true(i64 noundef %175, ptr noundef @.str.22, ptr noundef @.str, i32 noundef 568)
  %176 = load ptr, ptr %20, align 8, !tbaa !5
  %177 = call i32 @array_container_cardinality(ptr noundef %176)
  %178 = sext i32 %177 to i64
  call void @_assert_int_equal(i64 noundef 0, i64 noundef %178, ptr noundef @.str, i32 noundef 569)
  %179 = load ptr, ptr %20, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %179)
  store ptr null, ptr %20, align 8, !tbaa !5
  %180 = load ptr, ptr %1, align 8, !tbaa !5
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = call i32 @array_run_container_xor(ptr noundef %180, ptr noundef %181, ptr noundef %20)
  %183 = sext i32 %182 to i64
  call void @_assert_int_equal(i64 noundef 2, i64 noundef %183, ptr noundef @.str, i32 noundef 574)
  %184 = load ptr, ptr %20, align 8, !tbaa !5
  %185 = call i32 @array_container_cardinality(ptr noundef %184)
  %186 = sext i32 %185 to i64
  call void @_assert_int_equal(i64 noundef 0, i64 noundef %186, ptr noundef @.str, i32 noundef 575)
  %187 = load ptr, ptr %20, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %187)
  store ptr null, ptr %20, align 8, !tbaa !5
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = call i32 @run_run_container_xor(ptr noundef %188, ptr noundef %189, ptr noundef %20)
  %191 = sext i32 %190 to i64
  call void @_assert_int_equal(i64 noundef 3, i64 noundef %191, ptr noundef @.str, i32 noundef 582)
  %192 = load ptr, ptr %20, align 8, !tbaa !5
  %193 = call i32 @run_container_cardinality(ptr noundef %192)
  %194 = sext i32 %193 to i64
  call void @_assert_int_equal(i64 noundef 0, i64 noundef %194, ptr noundef @.str, i32 noundef 583)
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  call void @run_container_free(ptr noundef %195)
  store ptr null, ptr %20, align 8, !tbaa !5
  %196 = load ptr, ptr %9, align 8, !tbaa !5
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = call zeroext i1 @run_bitset_container_xor(ptr noundef %196, ptr noundef %197, ptr noundef %20)
  %199 = xor i1 %198, true
  %200 = zext i1 %199 to i32
  %201 = sext i32 %200 to i64
  call void @_assert_true(i64 noundef %201, ptr noundef @.str.23, ptr noundef @.str, i32 noundef 587)
  %202 = load ptr, ptr %20, align 8, !tbaa !5
  %203 = call i32 @array_container_cardinality(ptr noundef %202)
  %204 = sext i32 %203 to i64
  call void @_assert_int_equal(i64 noundef 2000, i64 noundef %204, ptr noundef @.str, i32 noundef 588)
  %205 = load ptr, ptr %20, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %205)
  store ptr null, ptr %20, align 8, !tbaa !5
  %206 = load ptr, ptr %3, align 8, !tbaa !5
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = call i32 @array_run_container_xor(ptr noundef %206, ptr noundef %207, ptr noundef %20)
  %209 = sext i32 %208 to i64
  call void @_assert_int_equal(i64 noundef 2, i64 noundef %209, ptr noundef @.str, i32 noundef 593)
  %210 = load ptr, ptr %20, align 8, !tbaa !5
  %211 = call i32 @array_container_cardinality(ptr noundef %210)
  %212 = sext i32 %211 to i64
  call void @_assert_int_equal(i64 noundef 2000, i64 noundef %212, ptr noundef @.str, i32 noundef 594)
  %213 = load ptr, ptr %20, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %213)
  store ptr null, ptr %20, align 8, !tbaa !5
  %214 = load ptr, ptr %9, align 8, !tbaa !5
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = call i32 @run_run_container_xor(ptr noundef %214, ptr noundef %215, ptr noundef %20)
  %217 = sext i32 %216 to i64
  call void @_assert_int_equal(i64 noundef 2, i64 noundef %217, ptr noundef @.str, i32 noundef 599)
  %218 = load ptr, ptr %20, align 8, !tbaa !5
  %219 = call i32 @array_container_cardinality(ptr noundef %218)
  %220 = sext i32 %219 to i64
  call void @_assert_int_equal(i64 noundef 2000, i64 noundef %220, ptr noundef @.str, i32 noundef 600)
  %221 = load ptr, ptr %20, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %221)
  store ptr null, ptr %20, align 8, !tbaa !5
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = call zeroext i1 @run_bitset_container_xor(ptr noundef %222, ptr noundef %223, ptr noundef %20)
  %225 = zext i1 %224 to i64
  call void @_assert_true(i64 noundef %225, ptr noundef @.str.24, ptr noundef @.str, i32 noundef 604)
  %226 = load i32, ptr %19, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  %228 = load ptr, ptr %20, align 8, !tbaa !5
  %229 = call i32 @bitset_container_cardinality(ptr noundef %228)
  %230 = sext i32 %229 to i64
  call void @_assert_int_equal(i64 noundef %227, i64 noundef %230, ptr noundef @.str, i32 noundef 605)
  %231 = load ptr, ptr %20, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %231)
  store ptr null, ptr %20, align 8, !tbaa !5
  %232 = load ptr, ptr %2, align 8, !tbaa !5
  %233 = load ptr, ptr %9, align 8, !tbaa !5
  %234 = call i32 @array_run_container_xor(ptr noundef %232, ptr noundef %233, ptr noundef %20)
  %235 = sext i32 %234 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %235, ptr noundef @.str, i32 noundef 610)
  %236 = load i32, ptr %19, align 4, !tbaa !9
  %237 = sext i32 %236 to i64
  %238 = load ptr, ptr %20, align 8, !tbaa !5
  %239 = call i32 @bitset_container_cardinality(ptr noundef %238)
  %240 = sext i32 %239 to i64
  call void @_assert_int_equal(i64 noundef %237, i64 noundef %240, ptr noundef @.str, i32 noundef 611)
  %241 = load ptr, ptr %20, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %241)
  store ptr null, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %242 = call ptr @array_container_create()
  store ptr %242, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 1000, ptr %22, align 4, !tbaa !9
  br label %243

243:                                              ; preds = %252, %167
  %244 = load i32, ptr %22, align 4, !tbaa !9
  %245 = icmp slt i32 %244, 1010
  br i1 %245, label %247, label %246

246:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %255

247:                                              ; preds = %243
  %248 = load ptr, ptr %21, align 8, !tbaa !5
  %249 = load i32, ptr %22, align 4, !tbaa !9
  %250 = trunc i32 %249 to i16
  %251 = call zeroext i1 @array_container_add(ptr noundef %248, i16 noundef zeroext %250)
  br label %252

252:                                              ; preds = %247
  %253 = load i32, ptr %22, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %22, align 4, !tbaa !9
  br label %243, !llvm.loop !17

255:                                              ; preds = %246
  %256 = load ptr, ptr %21, align 8, !tbaa !5
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = call i32 @array_run_container_xor(ptr noundef %256, ptr noundef %257, ptr noundef %20)
  %259 = sext i32 %258 to i64
  call void @_assert_int_equal(i64 noundef 3, i64 noundef %259, ptr noundef @.str, i32 noundef 619)
  %260 = load ptr, ptr %20, align 8, !tbaa !5
  %261 = call i32 @run_container_cardinality(ptr noundef %260)
  %262 = sext i32 %261 to i64
  call void @_assert_int_equal(i64 noundef 39101, i64 noundef %262, ptr noundef @.str, i32 noundef 621)
  %263 = load ptr, ptr %20, align 8, !tbaa !5
  call void @run_container_free(ptr noundef %263)
  store ptr null, ptr %20, align 8, !tbaa !5
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = load ptr, ptr %10, align 8, !tbaa !5
  %266 = call i32 @run_run_container_xor(ptr noundef %264, ptr noundef %265, ptr noundef %20)
  %267 = sext i32 %266 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %267, ptr noundef @.str, i32 noundef 626)
  %268 = load i32, ptr %19, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  %270 = load ptr, ptr %20, align 8, !tbaa !5
  %271 = call i32 @bitset_container_cardinality(ptr noundef %270)
  %272 = sext i32 %271 to i64
  call void @_assert_int_equal(i64 noundef %269, i64 noundef %272, ptr noundef @.str, i32 noundef 627)
  %273 = load ptr, ptr %20, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %273)
  store ptr null, ptr %20, align 8, !tbaa !5
  %274 = load ptr, ptr %12, align 8, !tbaa !5
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = call zeroext i1 @run_bitset_container_xor(ptr noundef %274, ptr noundef %275, ptr noundef %20)
  %277 = zext i1 %276 to i64
  call void @_assert_true(i64 noundef %277, ptr noundef @.str.25, ptr noundef @.str, i32 noundef 631)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %278 = load ptr, ptr %20, align 8, !tbaa !5
  %279 = call i32 @bitset_container_cardinality(ptr noundef %278)
  store i32 %279, ptr %23, align 4, !tbaa !9
  %280 = load ptr, ptr %20, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %280)
  store ptr null, ptr %20, align 8, !tbaa !5
  %281 = load ptr, ptr %3, align 8, !tbaa !5
  %282 = load ptr, ptr %12, align 8, !tbaa !5
  %283 = call i32 @array_run_container_xor(ptr noundef %281, ptr noundef %282, ptr noundef %20)
  %284 = sext i32 %283 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %284, ptr noundef @.str, i32 noundef 638)
  %285 = load i32, ptr %23, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = load ptr, ptr %20, align 8, !tbaa !5
  %288 = call i32 @bitset_container_cardinality(ptr noundef %287)
  %289 = sext i32 %288 to i64
  call void @_assert_int_equal(i64 noundef %286, i64 noundef %289, ptr noundef @.str, i32 noundef 640)
  %290 = load ptr, ptr %20, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %290)
  store ptr null, ptr %20, align 8, !tbaa !5
  %291 = load ptr, ptr %12, align 8, !tbaa !5
  %292 = load ptr, ptr %11, align 8, !tbaa !5
  %293 = call i32 @run_run_container_xor(ptr noundef %291, ptr noundef %292, ptr noundef %20)
  %294 = sext i32 %293 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %294, ptr noundef @.str, i32 noundef 645)
  %295 = load i32, ptr %23, align 4, !tbaa !9
  %296 = sext i32 %295 to i64
  %297 = load ptr, ptr %20, align 8, !tbaa !5
  %298 = call i32 @bitset_container_cardinality(ptr noundef %297)
  %299 = sext i32 %298 to i64
  call void @_assert_int_equal(i64 noundef %296, i64 noundef %299, ptr noundef @.str, i32 noundef 646)
  %300 = load ptr, ptr %20, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %300)
  store ptr null, ptr %20, align 8, !tbaa !5
  %301 = load ptr, ptr %1, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %301)
  %302 = load ptr, ptr %2, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %302)
  %303 = load ptr, ptr %3, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %303)
  %304 = load ptr, ptr %4, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %304)
  %305 = load ptr, ptr %21, align 8, !tbaa !5
  call void @array_container_free(ptr noundef %305)
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %306)
  %307 = load ptr, ptr %6, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %307)
  %308 = load ptr, ptr %7, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %308)
  %309 = load ptr, ptr %8, align 8, !tbaa !5
  call void @bitset_container_free(ptr noundef %309)
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  call void @run_container_free(ptr noundef %310)
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  call void @run_container_free(ptr noundef %311)
  %312 = load ptr, ptr %11, align 8, !tbaa !5
  call void @run_container_free(ptr noundef %312)
  %313 = load ptr, ptr %12, align 8, !tbaa !5
  call void @run_container_free(ptr noundef %313)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  ret void
}

declare zeroext i1 @run_bitset_container_xor(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @array_run_container_xor(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @run_run_container_xor(ptr noundef, ptr noundef, ptr noundef) #1

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

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

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


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

@.str = external hidden unnamed_addr constant [95 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [40 x i8], align 1

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

declare ptr @array_container_create() local_unnamed_addr #1

declare ptr @bitset_container_create() local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @array_container_add(ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @bitset_container_set(ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @array_container_cardinality(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @bitset_container_cardinality(ptr noundef) local_unnamed_addr #2

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

declare void @bitset_container_free(ptr noundef) local_unnamed_addr #1

declare void @array_container_free(ptr noundef) local_unnamed_addr #1

declare ptr @run_container_create() local_unnamed_addr #1

declare zeroext i1 @run_container_add(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @run_container_cardinality(ptr noundef) local_unnamed_addr #2

declare void @run_container_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @run_xor_test() local_unnamed_addr #3 {
  %1 = alloca ptr, align 8
  %2 = tail call ptr @array_container_create() #4
  %3 = tail call ptr @array_container_create() #4
  %4 = tail call ptr @array_container_create() #4
  %5 = tail call ptr @array_container_create() #4
  %6 = tail call ptr @bitset_container_create() #4
  %7 = tail call ptr @bitset_container_create() #4
  %8 = tail call ptr @bitset_container_create() #4
  %9 = tail call ptr @bitset_container_create() #4
  %10 = tail call ptr @run_container_create() #4
  %11 = tail call ptr @run_container_create() #4
  %12 = tail call ptr @run_container_create() #4
  %13 = tail call ptr @run_container_create() #4
  br label %14

14:                                               ; preds = %0, %20
  %.0110 = phi i32 [ 0, %0 ], [ %21, %20 ]
  %.lhs.trunc = trunc nuw i32 %.0110 to i16
  %15 = urem i16 %.lhs.trunc, 5
  %16 = icmp ult i16 %15, 3
  br i1 %16, label %17, label %20

17:                                               ; preds = %14
  %18 = tail call zeroext i1 @array_container_add(ptr noundef %2, i16 noundef zeroext %.lhs.trunc)
  tail call void @bitset_container_set(ptr noundef %6, i16 noundef zeroext %.lhs.trunc)
  %19 = tail call zeroext i1 @run_container_add(ptr noundef %10, i16 noundef zeroext %.lhs.trunc) #4
  br label %20

20:                                               ; preds = %14, %17
  %21 = add nuw nsw i32 %.0110, 1
  %exitcond.not = icmp eq i32 %21, 65536
  br i1 %exitcond.not, label %.preheader109, label %14, !llvm.loop !5

.preheader109:                                    ; preds = %20, %27
  %.093111 = phi i32 [ %28, %27 ], [ 0, %20 ]
  %.lhs.trunc99 = trunc nuw i32 %.093111 to i16
  %22 = urem i16 %.lhs.trunc99, 62
  %23 = icmp ult i16 %22, 37
  br i1 %23, label %24, label %27

24:                                               ; preds = %.preheader109
  %25 = tail call zeroext i1 @array_container_add(ptr noundef %3, i16 noundef zeroext %.lhs.trunc99)
  tail call void @bitset_container_set(ptr noundef %7, i16 noundef zeroext %.lhs.trunc99)
  %26 = tail call zeroext i1 @run_container_add(ptr noundef %11, i16 noundef zeroext %.lhs.trunc99) #4
  br label %27

27:                                               ; preds = %.preheader109, %24
  %28 = add nuw nsw i32 %.093111, 1
  %exitcond117.not = icmp eq i32 %28, 65536
  br i1 %exitcond117.not, label %.preheader108, label %.preheader109, !llvm.loop !7

.preheader108:                                    ; preds = %27, %36
  %.094112 = phi i32 [ %37, %36 ], [ 0, %27 ]
  %.lhs.trunc101 = trunc nuw i32 %.094112 to i16
  %29 = urem i16 %.lhs.trunc101, 62
  %30 = icmp ult i16 %29, 37
  %31 = urem i16 %.lhs.trunc101, 5
  %32 = icmp ult i16 %31, 3
  %33 = xor i1 %30, %32
  br i1 %33, label %34, label %36

34:                                               ; preds = %.preheader108
  %35 = tail call zeroext i1 @array_container_add(ptr noundef %5, i16 noundef zeroext %.lhs.trunc101)
  tail call void @bitset_container_set(ptr noundef %9, i16 noundef zeroext %.lhs.trunc101)
  br label %36

36:                                               ; preds = %.preheader108, %34
  %37 = add nuw nsw i32 %.094112, 1
  %exitcond118.not = icmp eq i32 %37, 65536
  br i1 %exitcond118.not, label %.preheader107, label %.preheader108, !llvm.loop !8

.preheader107:                                    ; preds = %36, %46
  %.097113 = phi i32 [ %47, %46 ], [ 0, %36 ]
  %.lhs.trunc105 = trunc nuw i32 %.097113 to i16
  %38 = urem i16 %.lhs.trunc105, 5
  %39 = icmp ult i16 %38, 2
  br i1 %39, label %43, label %40

40:                                               ; preds = %.preheader107
  %41 = icmp eq i16 %38, 2
  %42 = icmp ugt i32 %.097113, 10000
  %or.cond = and i1 %42, %41
  br i1 %or.cond, label %43, label %46

43:                                               ; preds = %40, %.preheader107
  %44 = tail call zeroext i1 @array_container_add(ptr noundef %4, i16 noundef zeroext %.lhs.trunc105)
  tail call void @bitset_container_set(ptr noundef %8, i16 noundef zeroext %.lhs.trunc105)
  %45 = tail call zeroext i1 @run_container_add(ptr noundef %12, i16 noundef zeroext %.lhs.trunc105) #4
  br label %46

46:                                               ; preds = %40, %43
  %47 = add nuw nsw i32 %.097113, 1
  %exitcond119.not = icmp eq i32 %47, 65536
  br i1 %exitcond119.not, label %.preheader, label %.preheader107, !llvm.loop !9

48:                                               ; preds = %146
  %49 = tail call i32 @array_container_cardinality(ptr noundef %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %50 = call zeroext i1 @run_bitset_container_xor(ptr noundef %10, ptr noundef %6, ptr noundef nonnull %1) #4
  %51 = xor i1 %50, true
  %52 = zext i1 %51 to i64
  call void @_assert_true(i64 noundef %52, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str, i32 noundef 568) #4
  %53 = load ptr, ptr %1, align 8, !tbaa !10
  %54 = call i32 @array_container_cardinality(ptr noundef %53)
  %55 = sext i32 %54 to i64
  call void @_assert_int_equal(i64 noundef 0, i64 noundef %55, ptr noundef nonnull @.str, i32 noundef 569) #4
  %56 = load ptr, ptr %1, align 8, !tbaa !10
  call void @array_container_free(ptr noundef %56) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %57 = call i32 @array_run_container_xor(ptr noundef %2, ptr noundef %10, ptr noundef nonnull %1) #4
  %58 = sext i32 %57 to i64
  call void @_assert_int_equal(i64 noundef 2, i64 noundef %58, ptr noundef nonnull @.str, i32 noundef 574) #4
  %59 = load ptr, ptr %1, align 8, !tbaa !10
  %60 = call i32 @array_container_cardinality(ptr noundef %59)
  %61 = sext i32 %60 to i64
  call void @_assert_int_equal(i64 noundef 0, i64 noundef %61, ptr noundef nonnull @.str, i32 noundef 575) #4
  %62 = load ptr, ptr %1, align 8, !tbaa !10
  call void @array_container_free(ptr noundef %62) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %63 = call i32 @run_run_container_xor(ptr noundef %10, ptr noundef %10, ptr noundef nonnull %1) #4
  %64 = sext i32 %63 to i64
  call void @_assert_int_equal(i64 noundef 3, i64 noundef %64, ptr noundef nonnull @.str, i32 noundef 582) #4
  %65 = load ptr, ptr %1, align 8, !tbaa !10
  %66 = call i32 @run_container_cardinality(ptr noundef %65)
  %67 = sext i32 %66 to i64
  call void @_assert_int_equal(i64 noundef 0, i64 noundef %67, ptr noundef nonnull @.str, i32 noundef 583) #4
  %68 = load ptr, ptr %1, align 8, !tbaa !10
  call void @run_container_free(ptr noundef %68) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %69 = call zeroext i1 @run_bitset_container_xor(ptr noundef %10, ptr noundef %8, ptr noundef nonnull %1) #4
  %70 = xor i1 %69, true
  %71 = zext i1 %70 to i64
  call void @_assert_true(i64 noundef %71, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str, i32 noundef 587) #4
  %72 = load ptr, ptr %1, align 8, !tbaa !10
  %73 = call i32 @array_container_cardinality(ptr noundef %72)
  %74 = sext i32 %73 to i64
  call void @_assert_int_equal(i64 noundef 2000, i64 noundef %74, ptr noundef nonnull @.str, i32 noundef 588) #4
  %75 = load ptr, ptr %1, align 8, !tbaa !10
  call void @array_container_free(ptr noundef %75) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %76 = call i32 @array_run_container_xor(ptr noundef %4, ptr noundef %10, ptr noundef nonnull %1) #4
  %77 = sext i32 %76 to i64
  call void @_assert_int_equal(i64 noundef 2, i64 noundef %77, ptr noundef nonnull @.str, i32 noundef 593) #4
  %78 = load ptr, ptr %1, align 8, !tbaa !10
  %79 = call i32 @array_container_cardinality(ptr noundef %78)
  %80 = sext i32 %79 to i64
  call void @_assert_int_equal(i64 noundef 2000, i64 noundef %80, ptr noundef nonnull @.str, i32 noundef 594) #4
  %81 = load ptr, ptr %1, align 8, !tbaa !10
  call void @array_container_free(ptr noundef %81) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %82 = call i32 @run_run_container_xor(ptr noundef %10, ptr noundef %12, ptr noundef nonnull %1) #4
  %83 = sext i32 %82 to i64
  call void @_assert_int_equal(i64 noundef 2, i64 noundef %83, ptr noundef nonnull @.str, i32 noundef 599) #4
  %84 = load ptr, ptr %1, align 8, !tbaa !10
  %85 = call i32 @array_container_cardinality(ptr noundef %84)
  %86 = sext i32 %85 to i64
  call void @_assert_int_equal(i64 noundef 2000, i64 noundef %86, ptr noundef nonnull @.str, i32 noundef 600) #4
  %87 = load ptr, ptr %1, align 8, !tbaa !10
  call void @array_container_free(ptr noundef %87) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %88 = call zeroext i1 @run_bitset_container_xor(ptr noundef %10, ptr noundef %7, ptr noundef nonnull %1) #4
  %89 = zext i1 %88 to i64
  call void @_assert_true(i64 noundef %89, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str, i32 noundef 604) #4
  %90 = sext i32 %49 to i64
  %91 = load ptr, ptr %1, align 8, !tbaa !10
  %92 = call i32 @bitset_container_cardinality(ptr noundef %91)
  %93 = sext i32 %92 to i64
  call void @_assert_int_equal(i64 noundef %90, i64 noundef %93, ptr noundef nonnull @.str, i32 noundef 605) #4
  %94 = load ptr, ptr %1, align 8, !tbaa !10
  call void @bitset_container_free(ptr noundef %94) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %95 = call i32 @array_run_container_xor(ptr noundef %3, ptr noundef %10, ptr noundef nonnull %1) #4
  %96 = sext i32 %95 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %96, ptr noundef nonnull @.str, i32 noundef 610) #4
  %97 = load ptr, ptr %1, align 8, !tbaa !10
  %98 = call i32 @bitset_container_cardinality(ptr noundef %97)
  %99 = sext i32 %98 to i64
  call void @_assert_int_equal(i64 noundef %90, i64 noundef %99, ptr noundef nonnull @.str, i32 noundef 611) #4
  %100 = load ptr, ptr %1, align 8, !tbaa !10
  call void @bitset_container_free(ptr noundef %100) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %101 = call ptr @array_container_create() #4
  %102 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1000)
  %103 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1001)
  %104 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1002)
  %105 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1003)
  %106 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1004)
  %107 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1005)
  %108 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1006)
  %109 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1007)
  %110 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1008)
  %111 = call zeroext i1 @array_container_add(ptr noundef %101, i16 noundef zeroext 1009)
  %112 = call i32 @array_run_container_xor(ptr noundef %101, ptr noundef %11, ptr noundef nonnull %1) #4
  %113 = sext i32 %112 to i64
  call void @_assert_int_equal(i64 noundef 3, i64 noundef %113, ptr noundef nonnull @.str, i32 noundef 619) #4
  %114 = load ptr, ptr %1, align 8, !tbaa !10
  %115 = call i32 @run_container_cardinality(ptr noundef %114)
  %116 = sext i32 %115 to i64
  call void @_assert_int_equal(i64 noundef 39101, i64 noundef %116, ptr noundef nonnull @.str, i32 noundef 621) #4
  %117 = load ptr, ptr %1, align 8, !tbaa !10
  call void @run_container_free(ptr noundef %117) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %118 = call i32 @run_run_container_xor(ptr noundef %10, ptr noundef %11, ptr noundef nonnull %1) #4
  %119 = sext i32 %118 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %119, ptr noundef nonnull @.str, i32 noundef 626) #4
  %120 = load ptr, ptr %1, align 8, !tbaa !10
  %121 = call i32 @bitset_container_cardinality(ptr noundef %120)
  %122 = sext i32 %121 to i64
  call void @_assert_int_equal(i64 noundef %90, i64 noundef %122, ptr noundef nonnull @.str, i32 noundef 627) #4
  %123 = load ptr, ptr %1, align 8, !tbaa !10
  call void @bitset_container_free(ptr noundef %123) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %124 = call zeroext i1 @run_bitset_container_xor(ptr noundef %13, ptr noundef %8, ptr noundef nonnull %1) #4
  %125 = zext i1 %124 to i64
  call void @_assert_true(i64 noundef %125, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str, i32 noundef 631) #4
  %126 = load ptr, ptr %1, align 8, !tbaa !10
  %127 = call i32 @bitset_container_cardinality(ptr noundef %126)
  %128 = load ptr, ptr %1, align 8, !tbaa !10
  call void @bitset_container_free(ptr noundef %128) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %129 = call i32 @array_run_container_xor(ptr noundef %4, ptr noundef %13, ptr noundef nonnull %1) #4
  %130 = sext i32 %129 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %130, ptr noundef nonnull @.str, i32 noundef 638) #4
  %131 = sext i32 %127 to i64
  %132 = load ptr, ptr %1, align 8, !tbaa !10
  %133 = call i32 @bitset_container_cardinality(ptr noundef %132)
  %134 = sext i32 %133 to i64
  call void @_assert_int_equal(i64 noundef %131, i64 noundef %134, ptr noundef nonnull @.str, i32 noundef 640) #4
  %135 = load ptr, ptr %1, align 8, !tbaa !10
  call void @bitset_container_free(ptr noundef %135) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  %136 = call i32 @run_run_container_xor(ptr noundef %13, ptr noundef %12, ptr noundef nonnull %1) #4
  %137 = sext i32 %136 to i64
  call void @_assert_int_equal(i64 noundef 1, i64 noundef %137, ptr noundef nonnull @.str, i32 noundef 645) #4
  %138 = load ptr, ptr %1, align 8, !tbaa !10
  %139 = call i32 @bitset_container_cardinality(ptr noundef %138)
  %140 = sext i32 %139 to i64
  call void @_assert_int_equal(i64 noundef %131, i64 noundef %140, ptr noundef nonnull @.str, i32 noundef 646) #4
  %141 = load ptr, ptr %1, align 8, !tbaa !10
  call void @bitset_container_free(ptr noundef %141) #4
  store ptr null, ptr %1, align 8, !tbaa !10
  call void @array_container_free(ptr noundef %2) #4
  call void @array_container_free(ptr noundef %3) #4
  call void @array_container_free(ptr noundef %4) #4
  call void @array_container_free(ptr noundef %5) #4
  call void @array_container_free(ptr noundef %101) #4
  call void @bitset_container_free(ptr noundef %6) #4
  call void @bitset_container_free(ptr noundef %7) #4
  call void @bitset_container_free(ptr noundef %8) #4
  call void @bitset_container_free(ptr noundef %9) #4
  call void @run_container_free(ptr noundef %10) #4
  call void @run_container_free(ptr noundef %11) #4
  call void @run_container_free(ptr noundef %12) #4
  call void @run_container_free(ptr noundef %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
  ret void

.preheader:                                       ; preds = %46, %146
  %.095115 = phi i32 [ %150, %146 ], [ 0, %46 ]
  %.096114 = phi i32 [ %149, %146 ], [ 1, %46 ]
  %142 = and i32 %.096114, 3
  %.not = icmp eq i32 %142, 0
  br i1 %.not, label %146, label %143

143:                                              ; preds = %.preheader
  %144 = trunc nuw i32 %.095115 to i16
  %145 = tail call zeroext i1 @run_container_add(ptr noundef %13, i16 noundef zeroext %144) #4
  br label %146

146:                                              ; preds = %143, %.preheader
  %147 = mul nuw nsw i32 %.096114, 3432
  %148 = add nuw nsw i32 %147, 6789
  %149 = urem i32 %148, 9973
  %150 = add nuw nsw i32 %.095115, 1
  %exitcond120.not = icmp eq i32 %150, 65536
  br i1 %exitcond120.not, label %48, label %.preheader, !llvm.loop !14
}

declare zeroext i1 @run_bitset_container_xor(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @array_run_container_xor(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @run_run_container_xor(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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


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