; LLVM IR from b00dle/libpcc :: src/BitVecArray.ll (ZN11BitVecArray6unpackEPhm)

; 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::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%class.BitVec = type { ptr, ptr, ptr }
%"class.std::bitset<8>::reference" = type { ptr, i64 }
%class.BitVecArray = type <{ %"class.std::vector", i32, i32, i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Vec<unsigned long>, std::allocator<Vec<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<Vec<unsigned long>, std::allocator<Vec<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vec<unsigned long>, std::allocator<Vec<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vec<unsigned long>, std::allocator<Vec<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Vec = type { ptr, i64, i64, i64 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI3VecImESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK11BitVecArray11getByteSizeEv(ptr noundef nonnull align 8 dereferenceable(36)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11BitVecArray6unpackEPhm(ptr noundef nonnull align 8 dereferenceable(36) %0, ptr noundef %1, i64 noundef %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca %"class.std::bitset", align 8
  %11 = alloca %class.BitVec, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::bitset", align 8
  %15 = alloca i64, align 8
  %16 = alloca %"class.std::bitset<8>::reference", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::bitset<8>::reference", align 8
  %20 = alloca %"class.std::bitset<8>::reference", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %21 = load ptr, ptr %4, align 8
  %22 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 0
  call void @_ZNSt6vectorI3VecImESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  %23 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 0
  %24 = load i64, ptr %6, align 8, !tbaa !9
  call void @_ZNSt6vectorI3VecImESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %25 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 1
  %26 = load i32, ptr %25, align 8, !tbaa !11
  %27 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 2
  %28 = load i32, ptr %27, align 4, !tbaa !18
  %29 = add nsw i32 %26, %28
  %30 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 3
  %31 = load i32, ptr %30, align 8, !tbaa !19
  %32 = add nsw i32 %29, %31
  %33 = sext i32 %32 to i64
  store i64 %33, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @_ZNSt6bitsetILm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  %34 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !11
  %36 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 2
  %37 = load i32, ptr %36, align 4, !tbaa !18
  %38 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 3
  %39 = load i32, ptr %38, align 8, !tbaa !19
  call void @_ZN6BitVecC1Emmm8BitCountS0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0, i64 noundef 0, i64 noundef 0, i32 noundef %35, i32 noundef %37, i32 noundef %39)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %181, %3
  %41 = load i64, ptr %12, align 8, !tbaa !9
  %42 = call noundef i64 @_ZNK11BitVecArray11getByteSizeEv(ptr noundef nonnull align 8 dereferenceable(36) %21)
  %43 = icmp ult i64 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  store i32 2, ptr %13, align 4
  br label %184

45:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load i64, ptr %12, align 8, !tbaa !9
  %48 = getelementptr inbounds i8, ptr %46, i64 %47
  %49 = load i8, ptr %48, align 1, !tbaa !20
  %50 = zext i8 %49 to i64
  call void @_ZNSt6bitsetILm8EEC2Ey(ptr noundef nonnull align 8 dereferenceable(8) %14, i64 noundef %50) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %14, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %169, %45
  %52 = load i64, ptr %15, align 8, !tbaa !9
  %53 = call noundef i64 @_ZNKSt6bitsetILm8EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %54 = icmp ult i64 %52, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %51
  store i32 5, ptr %13, align 4
  br label %172

56:                                               ; preds = %51
  %57 = load i64, ptr %9, align 8, !tbaa !9
  %58 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 1
  %59 = load i32, ptr %58, align 8, !tbaa !11
  %60 = zext i32 %59 to i64
  %61 = icmp ult i64 %57, %60
  br i1 %61, label %62, label %77

62:                                               ; preds = %56
  %63 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %64 = load i64, ptr %15, align 8, !tbaa !9
  invoke void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<8>::reference") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef %64)
          to label %65 unwind label %68

65:                                               ; preds = %62
  %66 = call noundef zeroext i1 @_ZNKSt6bitsetILm8EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  invoke void @_ZN6BitVec4setXEmb(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %63, i1 noundef zeroext %66)
          to label %67 unwind label %72

67:                                               ; preds = %65
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %130

68:                                               ; preds = %62
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %17, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %18, align 4
  br label %76

72:                                               ; preds = %65
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %17, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %18, align 4
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  br label %76

76:                                               ; preds = %72, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %173

77:                                               ; preds = %56
  %78 = load i64, ptr %9, align 8, !tbaa !9
  %79 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 1
  %80 = load i32, ptr %79, align 8, !tbaa !11
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 2
  %83 = load i32, ptr %82, align 4, !tbaa !18
  %84 = zext i32 %83 to i64
  %85 = add i64 %81, %84
  %86 = icmp ult i64 %78, %85
  br i1 %86, label %87, label %106

87:                                               ; preds = %77
  %88 = load i64, ptr %9, align 8, !tbaa !9
  %89 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 1
  %90 = load i32, ptr %89, align 8, !tbaa !11
  %91 = zext i32 %90 to i64
  %92 = sub i64 %88, %91
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %93 = load i64, ptr %15, align 8, !tbaa !9
  invoke void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<8>::reference") align 8 %19, ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef %93)
          to label %94 unwind label %97

94:                                               ; preds = %87
  %95 = call noundef zeroext i1 @_ZNKSt6bitsetILm8EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  invoke void @_ZN6BitVec4setYEmb(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %92, i1 noundef zeroext %95)
          to label %96 unwind label %101

96:                                               ; preds = %94
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %129

97:                                               ; preds = %87
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %17, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %18, align 4
  br label %105

101:                                              ; preds = %94
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %17, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %18, align 4
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  br label %105

105:                                              ; preds = %101, %97
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %173

106:                                              ; preds = %77
  %107 = load i64, ptr %9, align 8, !tbaa !9
  %108 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 1
  %109 = load i32, ptr %108, align 8, !tbaa !11
  %110 = zext i32 %109 to i64
  %111 = sub i64 %107, %110
  %112 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 2
  %113 = load i32, ptr %112, align 4, !tbaa !18
  %114 = zext i32 %113 to i64
  %115 = sub i64 %111, %114
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %116 = load i64, ptr %15, align 8, !tbaa !9
  invoke void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<8>::reference") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef %116)
          to label %117 unwind label %120

117:                                              ; preds = %106
  %118 = call noundef zeroext i1 @_ZNKSt6bitsetILm8EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  invoke void @_ZN6BitVec4setZEmb(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %115, i1 noundef zeroext %118)
          to label %119 unwind label %124

119:                                              ; preds = %117
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %129

120:                                              ; preds = %106
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %17, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %18, align 4
  br label %128

124:                                              ; preds = %117
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %17, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %18, align 4
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  br label %128

128:                                              ; preds = %124, %120
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %173

129:                                              ; preds = %119, %96
  br label %130

130:                                              ; preds = %129, %67
  %131 = load i64, ptr %9, align 8, !tbaa !9
  %132 = add i64 %131, 1
  %133 = load i64, ptr %8, align 8, !tbaa !9
  %134 = urem i64 %132, %133
  store i64 %134, ptr %9, align 8, !tbaa !9
  %135 = load i64, ptr %9, align 8, !tbaa !9
  %136 = icmp eq i64 %135, 0
  br i1 %136, label %137, label %168

137:                                              ; preds = %130
  %138 = invoke noundef i64 @_ZNK6BitVec7getXIntEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %139 unwind label %163

139:                                              ; preds = %137
  %140 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 0
  %141 = load i64, ptr %7, align 8, !tbaa !9
  %142 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef %141) #6
  %143 = getelementptr inbounds %struct.Vec, ptr %142, i32 0, i32 1
  store i64 %138, ptr %143, align 8, !tbaa !21
  %144 = invoke noundef i64 @_ZNK6BitVec7getYIntEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %145 unwind label %163

145:                                              ; preds = %139
  %146 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 0
  %147 = load i64, ptr %7, align 8, !tbaa !9
  %148 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %147) #6
  %149 = getelementptr inbounds %struct.Vec, ptr %148, i32 0, i32 2
  store i64 %144, ptr %149, align 8, !tbaa !23
  %150 = invoke noundef i64 @_ZNK6BitVec7getZIntEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %151 unwind label %163

151:                                              ; preds = %145
  %152 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 0
  %153 = load i64, ptr %7, align 8, !tbaa !9
  %154 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %153) #6
  %155 = getelementptr inbounds %struct.Vec, ptr %154, i32 0, i32 3
  store i64 %150, ptr %155, align 8, !tbaa !24
  %156 = load i64, ptr %7, align 8, !tbaa !9
  %157 = add i64 %156, 1
  store i64 %157, ptr %7, align 8, !tbaa !9
  %158 = load i64, ptr %7, align 8, !tbaa !9
  %159 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 0
  %160 = call noundef i64 @_ZNKSt6vectorI3VecImESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %159) #6
  %161 = icmp eq i64 %158, %160
  br i1 %161, label %162, label %167

162:                                              ; preds = %151
  store i32 5, ptr %13, align 4
  br label %172

163:                                              ; preds = %145, %139, %137
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %17, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %18, align 4
  br label %173

167:                                              ; preds = %151
  br label %168

168:                                              ; preds = %167, %130
  br label %169

169:                                              ; preds = %168
  %170 = load i64, ptr %15, align 8, !tbaa !9
  %171 = add i64 %170, 1
  store i64 %171, ptr %15, align 8, !tbaa !9
  br label %51, !llvm.loop !25

172:                                              ; preds = %162, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %174

173:                                              ; preds = %163, %128, %105, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @_ZN6BitVecD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %186

174:                                              ; preds = %172
  %175 = load i64, ptr %7, align 8, !tbaa !9
  %176 = getelementptr inbounds %class.BitVecArray, ptr %21, i32 0, i32 0
  %177 = call noundef i64 @_ZNKSt6vectorI3VecImESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #6
  %178 = icmp eq i64 %175, %177
  br i1 %178, label %179, label %180

179:                                              ; preds = %174
  store i32 2, ptr %13, align 4
  br label %184

180:                                              ; preds = %174
  br label %181

181:                                              ; preds = %180
  %182 = load i64, ptr %12, align 8, !tbaa !9
  %183 = add i64 %182, 1
  store i64 %183, ptr %12, align 8, !tbaa !9
  br label %40, !llvm.loop !27

184:                                              ; preds = %179, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %185

185:                                              ; preds = %184
  call void @_ZN6BitVecD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret void

186:                                              ; preds = %173
  %187 = load ptr, ptr %17, align 8
  %188 = load i32, ptr %18, align 4
  %189 = insertvalue { ptr, i32 } poison, ptr %187, 0
  %190 = insertvalue { ptr, i32 } %189, i32 %188, 1
  resume { ptr, i32 } %190
}

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

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

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

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

declare void @_ZN6BitVecC1Emmm8BitCountS0_S0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3

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

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

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

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

declare void @_ZN6BitVec4setXEmb(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<8>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6bitsetILm8EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

declare void @_ZN6BitVec4setYEmb(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) #3

declare void @_ZN6BitVec4setZEmb(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) #3

declare noundef i64 @_ZNK6BitVec7getXIntEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef i64 @_ZNK6BitVec7getYIntEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef i64 @_ZNK6BitVec7getZIntEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: nounwind
declare void @_ZN6BitVecD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !17, i64 24}
!12 = !{!"_ZTS11BitVecArray", !13, i64 0, !17, i64 24, !17, i64 28, !17, i64 32}
!13 = !{!"_ZTSSt6vectorI3VecImESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseI3VecImESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseI3VecImESaIS1_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseI3VecImESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTS8BitCount", !7, i64 0}
!18 = !{!12, !17, i64 28}
!19 = !{!12, !17, i64 32}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !10, i64 8}
!22 = !{!"_ZTS3VecImE", !10, i64 8, !10, i64 16, !10, i64 24}
!23 = !{!22, !10, i64 16}
!24 = !{!22, !10, i64 24}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}


; 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::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%class.BitVec = type { ptr, ptr, ptr }
%"class.std::bitset<8>::reference" = type { ptr, i64 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI3VecImESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK11BitVecArray11getByteSizeEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11BitVecArray6unpackEPhm(ptr noundef nonnull align 8 dereferenceable(36) %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::bitset", align 8
  %5 = alloca %class.BitVec, align 8
  %6 = alloca %"class.std::bitset", align 8
  %7 = alloca %"class.std::bitset<8>::reference", align 8
  %8 = alloca %"class.std::bitset<8>::reference", align 8
  %9 = alloca %"class.std::bitset<8>::reference", align 8
  tail call void @_ZNSt6vectorI3VecImESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  tail call void @_ZNSt6vectorI3VecImESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %2)
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 28
  %13 = load i32, ptr %12, align 4, !tbaa !15
  %14 = add nsw i32 %13, %11
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = load i32, ptr %15, align 8, !tbaa !16
  %17 = add nsw i32 %14, %16
  %18 = sext i32 %17 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @_ZNSt6bitsetILm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  %19 = load i32, ptr %10, align 8, !tbaa !5
  %20 = load i32, ptr %12, align 4, !tbaa !15
  %21 = load i32, ptr %15, align 8, !tbaa !16
  call void @_ZN6BitVecC1Emmm8BitCountS0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0, i64 noundef 0, i64 noundef 0, i32 noundef %19, i32 noundef %20, i32 noundef %21)
  %22 = call noundef i64 @_ZNK11BitVecArray11getByteSizeEv(ptr noundef nonnull align 8 dereferenceable(36) %0)
  %.not = icmp eq i64 %22, 0
  br i1 %.not, label %._crit_edge50, label %.lr.ph49

23:                                               ; preds = %._crit_edge
  %24 = add nuw i64 %.02847, 1
  %25 = call noundef i64 @_ZNK11BitVecArray11getByteSizeEv(ptr noundef nonnull align 8 dereferenceable(36) %0)
  %26 = icmp ult i64 %24, %25
  br i1 %26, label %.lr.ph49, label %._crit_edge50, !llvm.loop !17

.lr.ph49:                                         ; preds = %3, %23
  %.02847 = phi i64 [ %24, %23 ], [ 0, %3 ]
  %.02946 = phi i64 [ %.2, %23 ], [ 0, %3 ]
  %.03045 = phi i64 [ %.3, %23 ], [ 0, %3 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %27 = getelementptr inbounds i8, ptr %1, i64 %.02847
  %28 = load i8, ptr %27, align 1, !tbaa !19
  %29 = zext i8 %28 to i64
  call void @_ZNSt6bitsetILm8EEC2Ey(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %29) #5
  %30 = load i64, ptr %6, align 8
  store i64 %30, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %31 = call noundef i64 @_ZNKSt6bitsetILm8EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %.not52 = icmp eq i64 %31, 0
  br i1 %.not52, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph49, %79
  %.02740 = phi i64 [ %80, %79 ], [ 0, %.lr.ph49 ]
  %.139 = phi i64 [ %59, %79 ], [ %.02946, %.lr.ph49 ]
  %.13138 = phi i64 [ %.232, %79 ], [ %.03045, %.lr.ph49 ]
  %32 = load i32, ptr %10, align 8, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = icmp ult i64 %.139, %33
  br i1 %34, label %35, label %40

35:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<8>::reference") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef %.02740)
  %36 = call noundef zeroext i1 @_ZNKSt6bitsetILm8EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  invoke void @_ZN6BitVec4setXEmb(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.139, i1 noundef zeroext %36)
          to label %37 unwind label %38

37:                                               ; preds = %35
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %57

38:                                               ; preds = %35
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %85

40:                                               ; preds = %.lr.ph
  %41 = load i32, ptr %12, align 4, !tbaa !15
  %42 = zext i32 %41 to i64
  %43 = add nuw nsw i64 %42, %33
  %44 = icmp ult i64 %.139, %43
  br i1 %44, label %45, label %51

45:                                               ; preds = %40
  %46 = sub nsw i64 %.139, %33
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<8>::reference") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef %.02740)
  %47 = call noundef zeroext i1 @_ZNKSt6bitsetILm8EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  invoke void @_ZN6BitVec4setYEmb(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %46, i1 noundef zeroext %47)
          to label %48 unwind label %49

48:                                               ; preds = %45
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %57

49:                                               ; preds = %45
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %85

51:                                               ; preds = %40
  %52 = sub i64 %.139, %43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<8>::reference") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef %.02740)
  %53 = call noundef zeroext i1 @_ZNKSt6bitsetILm8EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  invoke void @_ZN6BitVec4setZEmb(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %52, i1 noundef zeroext %53)
          to label %54 unwind label %55

54:                                               ; preds = %51
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  br label %57

55:                                               ; preds = %51
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6bitsetILm8EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  br label %85

57:                                               ; preds = %48, %54, %37
  %58 = add i64 %.139, 1
  %59 = urem i64 %58, %18
  %60 = icmp eq i64 %59, 0
  br i1 %60, label %61, label %79

61:                                               ; preds = %57
  %62 = invoke noundef i64 @_ZNK6BitVec7getXIntEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %63 unwind label %77

63:                                               ; preds = %61
  %64 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.13138) #5
  %65 = getelementptr inbounds i8, ptr %64, i64 8
  store i64 %62, ptr %65, align 8, !tbaa !20
  %66 = invoke noundef i64 @_ZNK6BitVec7getYIntEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %67 unwind label %77

67:                                               ; preds = %63
  %68 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.13138) #5
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  store i64 %66, ptr %69, align 8, !tbaa !23
  %70 = invoke noundef i64 @_ZNK6BitVec7getZIntEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %71 unwind label %77

71:                                               ; preds = %67
  %72 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI3VecImESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.13138) #5
  %73 = getelementptr inbounds i8, ptr %72, i64 24
  store i64 %70, ptr %73, align 8, !tbaa !24
  %74 = add i64 %.13138, 1
  %75 = call noundef i64 @_ZNKSt6vectorI3VecImESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %76 = icmp eq i64 %74, %75
  br i1 %76, label %._crit_edge, label %79

77:                                               ; preds = %67, %63, %61
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %85

79:                                               ; preds = %57, %71
  %.232 = phi i64 [ %74, %71 ], [ %.13138, %57 ]
  %80 = add nuw i64 %.02740, 1
  %81 = call noundef i64 @_ZNKSt6bitsetILm8EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %82 = icmp ult i64 %80, %81
  br i1 %82, label %.lr.ph, label %._crit_edge, !llvm.loop !25

._crit_edge:                                      ; preds = %79, %71, %.lr.ph49
  %.3 = phi i64 [ %.03045, %.lr.ph49 ], [ %74, %71 ], [ %.232, %79 ]
  %.2 = phi i64 [ %.02946, %.lr.ph49 ], [ 0, %71 ], [ %59, %79 ]
  %83 = call noundef i64 @_ZNKSt6vectorI3VecImESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %84 = icmp eq i64 %.3, %83
  br i1 %84, label %._crit_edge50, label %23

85:                                               ; preds = %77, %55, %49, %38
  %.pn = phi { ptr, i32 } [ %78, %77 ], [ %39, %38 ], [ %50, %49 ], [ %56, %55 ]
  call void @_ZN6BitVecD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn

._crit_edge50:                                    ; preds = %23, %._crit_edge, %3
  call void @_ZN6BitVecD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI3VecImESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

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

declare void @_ZN6BitVecC1Emmm8BitCountS0_S0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3

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

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

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

declare void @_ZN6BitVec4setXEmb(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm8EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<8>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN6BitVec4setYEmb(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN6BitVec4setZEmb(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) local_unnamed_addr #3

declare noundef i64 @_ZNK6BitVec7getXIntEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef i64 @_ZNK6BitVec7getYIntEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef i64 @_ZNK6BitVec7getZIntEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN6BitVecD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

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

!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, !14, i64 24}
!6 = !{!"_ZTS11BitVecArray", !7, i64 0, !14, i64 24, !14, i64 28, !14, i64 32}
!7 = !{!"_ZTSSt6vectorI3VecImESaIS1_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseI3VecImESaIS1_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseI3VecImESaIS1_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseI3VecImESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTS8BitCount", !12, i64 0}
!15 = !{!6, !14, i64 28}
!16 = !{!6, !14, i64 32}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !12, i64 0}
!20 = !{!21, !22, i64 8}
!21 = !{!"_ZTS3VecImE", !22, i64 8, !22, i64 16, !22, i64 24}
!22 = !{!"long", !12, i64 0}
!23 = !{!21, !22, i64 16}
!24 = !{!21, !22, i64 24}
!25 = distinct !{!25, !18}


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