; LLVM IR from felixguendling/cista :: fuzz (bitset_verification)

; 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::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.27" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Tuple_impl.1", %"struct.std::_Head_base.23" }
%"struct.std::_Tuple_impl.1" = type { %"struct.std::_Tuple_impl.2", %"struct.std::_Head_base.17" }
%"struct.std::_Tuple_impl.2" = type { %"struct.std::_Tuple_impl.3", %"struct.std::_Head_base.11" }
%"struct.std::_Tuple_impl.3" = type { %"struct.std::_Tuple_impl.4", %"struct.std::_Head_base.5" }
%"struct.std::_Tuple_impl.4" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %struct.test_set }
%struct.test_set = type { %"class.std::bitset", %"class.std::bitset", %"struct.cista::bitset", %"struct.cista::bitset" }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [3 x i64] }
%"struct.cista::bitset" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x i64] }
%"struct.std::_Head_base.5" = type { %struct.test_set.6 }
%struct.test_set.6 = type { %"class.std::bitset.7", %"class.std::bitset.7", %"struct.cista::bitset.9", %"struct.cista::bitset.9" }
%"class.std::bitset.7" = type { %"struct.std::_Base_bitset.8" }
%"struct.std::_Base_bitset.8" = type { [2 x i64] }
%"struct.cista::bitset.9" = type { %"struct.std::array.10" }
%"struct.std::array.10" = type { [2 x i64] }
%"struct.std::_Head_base.11" = type { %struct.test_set.12 }
%struct.test_set.12 = type { %"class.std::bitset.13", %"class.std::bitset.13", %"struct.cista::bitset.15", %"struct.cista::bitset.15" }
%"class.std::bitset.13" = type { %"struct.std::_Base_bitset.14" }
%"struct.std::_Base_bitset.14" = type { i64 }
%"struct.cista::bitset.15" = type { %"struct.std::array.16" }
%"struct.std::array.16" = type { [1 x i64] }
%"struct.std::_Head_base.17" = type { %struct.test_set.18 }
%struct.test_set.18 = type { %"class.std::bitset.19", %"class.std::bitset.19", %"struct.cista::bitset.21", %"struct.cista::bitset.21" }
%"class.std::bitset.19" = type { %"struct.std::_Base_bitset.20" }
%"struct.std::_Base_bitset.20" = type { [4 x i64] }
%"struct.cista::bitset.21" = type { %"struct.std::array.22" }
%"struct.std::array.22" = type { [4 x i64] }
%"struct.std::_Head_base.23" = type { %struct.test_set.24 }
%struct.test_set.24 = type { %"class.std::bitset.25", %"class.std::bitset.25", %"struct.cista::bitset.26", %"struct.cista::bitset.26" }
%"class.std::bitset.25" = type { %"struct.std::_Base_bitset.8" }
%"struct.cista::bitset.26" = type { %"struct.std::array.10" }
%"struct.std::_Head_base.27" = type { %struct.test_set.28 }
%struct.test_set.28 = type { %"class.std::bitset.29", %"class.std::bitset.29", %"struct.cista::bitset.30", %"struct.cista::bitset.30" }
%"class.std::bitset.29" = type { %"struct.std::_Base_bitset.14" }
%"struct.cista::bitset.30" = type { %"struct.std::array.16" }
%class.anon = type { i32, ptr, ptr }
%class.anon.31 = type { ptr }
%class.anon.32 = type { ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::tuple", align 8
  %6 = alloca %struct.test_set.28, align 8
  %7 = alloca %struct.test_set.24, align 8
  %8 = alloca %struct.test_set.18, align 8
  %9 = alloca %struct.test_set.12, align 8
  %10 = alloca %struct.test_set.6, align 8
  %11 = alloca %struct.test_set, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %class.anon, align 8
  %14 = alloca %class.anon.31, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %class.anon.32, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 416, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #4
  %18 = getelementptr inbounds %struct.test_set.28, ptr %6, i32 0, i32 0
  call void @_ZNSt6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  %19 = getelementptr inbounds %struct.test_set.28, ptr %6, i32 0, i32 1
  call void @_ZNSt6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  %20 = getelementptr inbounds %struct.test_set.28, ptr %6, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %20, i8 0, i64 8, i1 false)
  call void @_ZN5cista6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #4
  %21 = getelementptr inbounds %struct.test_set.28, ptr %6, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 8, i1 false)
  call void @_ZN5cista6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #4
  %22 = getelementptr inbounds %struct.test_set.24, ptr %7, i32 0, i32 0
  call void @_ZNSt6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #4
  %23 = getelementptr inbounds %struct.test_set.24, ptr %7, i32 0, i32 1
  call void @_ZNSt6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #4
  %24 = getelementptr inbounds %struct.test_set.24, ptr %7, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #4
  %25 = getelementptr inbounds %struct.test_set.24, ptr %7, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr %8) #4
  %26 = getelementptr inbounds %struct.test_set.18, ptr %8, i32 0, i32 0
  call void @_ZNSt6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #4
  %27 = getelementptr inbounds %struct.test_set.18, ptr %8, i32 0, i32 1
  call void @_ZNSt6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #4
  %28 = getelementptr inbounds %struct.test_set.18, ptr %8, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 32, i1 false)
  call void @_ZN5cista6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #4
  %29 = getelementptr inbounds %struct.test_set.18, ptr %8, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 32, i1 false)
  call void @_ZN5cista6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #4
  %30 = getelementptr inbounds %struct.test_set.12, ptr %9, i32 0, i32 0
  call void @_ZNSt6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #4
  %31 = getelementptr inbounds %struct.test_set.12, ptr %9, i32 0, i32 1
  call void @_ZNSt6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #4
  %32 = getelementptr inbounds %struct.test_set.12, ptr %9, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %32, i8 0, i64 8, i1 false)
  call void @_ZN5cista6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #4
  %33 = getelementptr inbounds %struct.test_set.12, ptr %9, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %33, i8 0, i64 8, i1 false)
  call void @_ZN5cista6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %10) #4
  %34 = getelementptr inbounds %struct.test_set.6, ptr %10, i32 0, i32 0
  call void @_ZNSt6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #4
  %35 = getelementptr inbounds %struct.test_set.6, ptr %10, i32 0, i32 1
  call void @_ZNSt6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #4
  %36 = getelementptr inbounds %struct.test_set.6, ptr %10, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %36, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #4
  %37 = getelementptr inbounds %struct.test_set.6, ptr %10, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr %11) #4
  %38 = getelementptr inbounds %struct.test_set, ptr %11, i32 0, i32 0
  call void @_ZNSt6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #4
  %39 = getelementptr inbounds %struct.test_set, ptr %11, i32 0, i32 1
  call void @_ZNSt6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #4
  %40 = getelementptr inbounds %struct.test_set, ptr %11, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %40, i8 0, i64 24, i1 false)
  call void @_ZN5cista6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #4
  %41 = getelementptr inbounds %struct.test_set, ptr %11, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %41, i8 0, i64 24, i1 false)
  call void @_ZN5cista6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #4
  call void @_ZSt10make_tupleIJ8test_setILm22EES0_ILm77EES0_ILm222EES0_ILm64EES0_ILm128EES0_ILm192EEEESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOSA_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(128) %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(64) %10, ptr noundef nonnull align 8 dereferenceable(96) %11)
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = load i64, ptr %4, align 8, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %42, i64 %43
  store ptr %44, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #4
  %45 = getelementptr inbounds %class.anon, ptr %13, i32 0, i32 0
  store i32 0, ptr %45, align 8, !tbaa !11
  %46 = getelementptr inbounds %class.anon, ptr %13, i32 0, i32 1
  store ptr %3, ptr %46, align 8, !tbaa !5
  %47 = getelementptr inbounds %class.anon, ptr %13, i32 0, i32 2
  store ptr %12, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %48 = getelementptr inbounds %class.anon.31, ptr %14, i32 0, i32 0
  store ptr %13, ptr %48, align 8, !tbaa !5
  call void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_0RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(416) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %49

49:                                               ; preds = %67, %2
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  %52 = icmp ne ptr %50, %51
  br i1 %52, label %53, label %70

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 0
  %56 = load i8, ptr %55, align 1, !tbaa !14
  %57 = zext i8 %56 to i32
  %58 = srem i32 %57, 6
  store i32 %58, ptr %15, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %59, i64 0
  %61 = load i8, ptr %60, align 1, !tbaa !14
  %62 = zext i8 %61 to i32
  %63 = and i32 %62, 240
  %64 = srem i32 %63, 100
  store i32 %64, ptr %16, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  %65 = getelementptr inbounds %class.anon.32, ptr %17, i32 0, i32 0
  store ptr %15, ptr %65, align 8, !tbaa !5
  %66 = getelementptr inbounds %class.anon.32, ptr %17, i32 0, i32 1
  store ptr %16, ptr %66, align 8, !tbaa !5
  call void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_1RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(416) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %67

67:                                               ; preds = %53
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %68, i32 1
  store ptr %69, ptr %3, align 8, !tbaa !5
  br label %49, !llvm.loop !18

70:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 416, ptr %5) #4
  ret i32 0
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt10make_tupleIJ8test_setILm22EES0_ILm77EES0_ILm222EES0_ILm64EES0_ILm128EES0_ILm192EEEESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOSA_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(96)) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_0RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(416)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_1RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(416)) #0

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSZ22LLVMFuzzerTestOneInputE3$_2", !13, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS2op", !7, i64 0}
!17 = !{!13, !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


; 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::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.27" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Tuple_impl.1", %"struct.std::_Head_base.23" }
%"struct.std::_Tuple_impl.1" = type { %"struct.std::_Tuple_impl.2", %"struct.std::_Head_base.17" }
%"struct.std::_Tuple_impl.2" = type { %"struct.std::_Tuple_impl.3", %"struct.std::_Head_base.11" }
%"struct.std::_Tuple_impl.3" = type { %"struct.std::_Tuple_impl.4", %"struct.std::_Head_base.5" }
%"struct.std::_Tuple_impl.4" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %struct.test_set }
%struct.test_set = type { %"class.std::bitset", %"class.std::bitset", %"struct.cista::bitset", %"struct.cista::bitset" }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [3 x i64] }
%"struct.cista::bitset" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x i64] }
%"struct.std::_Head_base.5" = type { %struct.test_set.6 }
%struct.test_set.6 = type { %"class.std::bitset.7", %"class.std::bitset.7", %"struct.cista::bitset.9", %"struct.cista::bitset.9" }
%"class.std::bitset.7" = type { %"struct.std::_Base_bitset.8" }
%"struct.std::_Base_bitset.8" = type { [2 x i64] }
%"struct.cista::bitset.9" = type { %"struct.std::array.10" }
%"struct.std::array.10" = type { [2 x i64] }
%"struct.std::_Head_base.11" = type { %struct.test_set.12 }
%struct.test_set.12 = type { %"class.std::bitset.13", %"class.std::bitset.13", %"struct.cista::bitset.15", %"struct.cista::bitset.15" }
%"class.std::bitset.13" = type { %"struct.std::_Base_bitset.14" }
%"struct.std::_Base_bitset.14" = type { i64 }
%"struct.cista::bitset.15" = type { %"struct.std::array.16" }
%"struct.std::array.16" = type { [1 x i64] }
%"struct.std::_Head_base.17" = type { %struct.test_set.18 }
%struct.test_set.18 = type { %"class.std::bitset.19", %"class.std::bitset.19", %"struct.cista::bitset.21", %"struct.cista::bitset.21" }
%"class.std::bitset.19" = type { %"struct.std::_Base_bitset.20" }
%"struct.std::_Base_bitset.20" = type { [4 x i64] }
%"struct.cista::bitset.21" = type { %"struct.std::array.22" }
%"struct.std::array.22" = type { [4 x i64] }
%"struct.std::_Head_base.23" = type { %struct.test_set.24 }
%struct.test_set.24 = type { %"class.std::bitset.25", %"class.std::bitset.25", %"struct.cista::bitset.26", %"struct.cista::bitset.26" }
%"class.std::bitset.25" = type { %"struct.std::_Base_bitset.8" }
%"struct.cista::bitset.26" = type { %"struct.std::array.10" }
%"struct.std::_Head_base.27" = type { %struct.test_set.28 }
%struct.test_set.28 = type { %"class.std::bitset.29", %"class.std::bitset.29", %"struct.cista::bitset.30", %"struct.cista::bitset.30" }
%"class.std::bitset.29" = type { %"struct.std::_Base_bitset.14" }
%"struct.cista::bitset.30" = type { %"struct.std::array.16" }
%class.anon = type { i32, ptr, ptr }
%class.anon.31 = type { ptr }
%class.anon.32 = type { ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca %"class.std::tuple", align 8
  %5 = alloca %struct.test_set.28, align 8
  %6 = alloca %struct.test_set.24, align 8
  %7 = alloca %struct.test_set.18, align 8
  %8 = alloca %struct.test_set.12, align 8
  %9 = alloca %struct.test_set.6, align 8
  %10 = alloca %struct.test_set, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %class.anon, align 8
  %13 = alloca %class.anon.31, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %class.anon.32, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 416, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  call void @_ZNSt6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %17 = getelementptr inbounds i8, ptr %5, i64 8
  call void @_ZNSt6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #4
  %18 = getelementptr inbounds i8, ptr %5, i64 16
  store i64 0, ptr %18, align 8
  call void @_ZN5cista6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  %19 = getelementptr inbounds i8, ptr %5, i64 24
  store i64 0, ptr %19, align 8
  call void @_ZN5cista6bitsetILm22EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
  call void @_ZNSt6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  %20 = getelementptr inbounds i8, ptr %6, i64 16
  call void @_ZNSt6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  %21 = getelementptr inbounds i8, ptr %6, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %21, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  %22 = getelementptr inbounds i8, ptr %6, i64 48
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %22, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm77EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %7) #4
  call void @_ZNSt6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  %23 = getelementptr inbounds i8, ptr %7, i64 32
  call void @_ZNSt6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #4
  %24 = getelementptr inbounds i8, ptr %7, i64 64
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %24, i8 0, i64 32, i1 false)
  call void @_ZN5cista6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #4
  %25 = getelementptr inbounds i8, ptr %7, i64 96
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %25, i8 0, i64 32, i1 false)
  call void @_ZN5cista6bitsetILm222EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
  call void @_ZNSt6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  %26 = getelementptr inbounds i8, ptr %8, i64 8
  call void @_ZNSt6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #4
  %27 = getelementptr inbounds i8, ptr %8, i64 16
  store i64 0, ptr %27, align 8
  call void @_ZN5cista6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #4
  %28 = getelementptr inbounds i8, ptr %8, i64 24
  store i64 0, ptr %28, align 8
  call void @_ZN5cista6bitsetILm64EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #4
  call void @_ZNSt6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #4
  %29 = getelementptr inbounds i8, ptr %9, i64 16
  call void @_ZNSt6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #4
  %30 = getelementptr inbounds i8, ptr %9, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %30, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #4
  %31 = getelementptr inbounds i8, ptr %9, i64 48
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %31, i8 0, i64 16, i1 false)
  call void @_ZN5cista6bitsetILm128EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %10) #4
  call void @_ZNSt6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  %32 = getelementptr inbounds i8, ptr %10, i64 24
  call void @_ZNSt6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  %33 = getelementptr inbounds i8, ptr %10, i64 48
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %33, i8 0, i64 24, i1 false)
  call void @_ZN5cista6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  %34 = getelementptr inbounds i8, ptr %10, i64 72
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %34, i8 0, i64 24, i1 false)
  call void @_ZN5cista6bitsetILm192EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #4
  call void @_ZSt10make_tupleIJ8test_setILm22EES0_ILm77EES0_ILm222EES0_ILm64EES0_ILm128EES0_ILm192EEEESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOSA_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(64) %6, ptr noundef nonnull align 8 dereferenceable(128) %7, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(64) %9, ptr noundef nonnull align 8 dereferenceable(96) %10)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %35 = getelementptr inbounds i8, ptr %0, i64 %1
  store ptr %35, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  store i32 0, ptr %12, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %3, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %11, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  store ptr %12, ptr %13, align 8, !tbaa !5
  call void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_0RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(416) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %.not1 = icmp eq ptr %38, %39
  br i1 %.not1, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %40 = getelementptr inbounds i8, ptr %16, i64 8
  br label %41

41:                                               ; preds = %.lr.ph, %41
  %42 = phi ptr [ %38, %.lr.ph ], [ %51, %41 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  %43 = load i8, ptr %42, align 1, !tbaa !12
  %44 = urem i8 %43, 6
  %45 = zext nneg i8 %44 to i32
  store i32 %45, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  %46 = load i8, ptr %42, align 1, !tbaa !12
  %47 = and i8 %46, -16
  %48 = urem i8 %47, 100
  %49 = zext nneg i8 %48 to i32
  store i32 %49, ptr %15, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #4
  store ptr %14, ptr %16, align 8, !tbaa !5
  store ptr %15, ptr %40, align 8, !tbaa !5
  call void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_1RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(416) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 1
  store ptr %51, ptr %3, align 8, !tbaa !5
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %.not = icmp eq ptr %51, %52
  br i1 %.not, label %._crit_edge, label %41, !llvm.loop !16

._crit_edge:                                      ; preds = %41, %2
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 416, ptr nonnull %4) #4
  ret i32 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 nounwind uwtable
declare dso_local void @_ZSt10make_tupleIJ8test_setILm22EES0_ILm77EES0_ILm222EES0_ILm64EES0_ILm128EES0_ILm192EEEESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOSA_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_0RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt5applyIZ22LLVMFuzzerTestOneInputE3$_1RSt5tupleIJ8test_setILm22EES2_ILm77EES2_ILm222EES2_ILm64EES2_ILm128EES2_ILm192EEEEEDcOT_OT0_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #0

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSZ22LLVMFuzzerTestOneInputE3$_2", !11, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS2op", !7, i64 0}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass