; LLVM IR from AngoraFuzzer/Angora :: llvm_mode/dfsan_rt/sanitizer_common (sanitizer_coverage_libcdep)

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

%"struct.__sanitizer::atomic_uintptr_t" = type { i64 }
%"class.__sanitizer::CoverageData" = type <{ ptr, %"struct.__sanitizer::atomic_uintptr_t", %"struct.__sanitizer::atomic_uintptr_t", i64, i32, [4 x i8], %"class.__sanitizer::InternalMmapVectorNoCtor", %"class.__sanitizer::InternalMmapVectorNoCtor.0", %"class.__sanitizer::InternalMmapVectorNoCtor.0", %"class.__sanitizer::InternalMmapVectorNoCtor.1", i64, ptr, %"struct.__sanitizer::atomic_uintptr_t", %"struct.__sanitizer::atomic_uintptr_t", ptr, i64, ptr, %"class.__sanitizer::StaticSpinMutex", [7 x i8] }>
%"class.__sanitizer::InternalMmapVectorNoCtor" = type { ptr, i64, i64 }
%"class.__sanitizer::InternalMmapVectorNoCtor.0" = type { ptr, i64, i64 }
%"class.__sanitizer::InternalMmapVectorNoCtor.1" = type { ptr, i64, i64 }
%"class.__sanitizer::StaticSpinMutex" = type { %"struct.__sanitizer::atomic_uint8_t" }
%"struct.__sanitizer::atomic_uint8_t" = type { i8 }

@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [77 x i8], align 1
@_ZL21caller_callee_counter = external hidden global %"struct.__sanitizer::atomic_uintptr_t", align 8

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef, i32 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #2

; Function Attrs: noreturn
declare void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11__sanitizer16atomic_fetch_addINS_16atomic_uintptr_tEEENT_4TypeEPVS2_S3_NS_12memory_orderE(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer12CoverageData9IndirCallEmmPmm(ptr noundef nonnull align 8 dereferenceable(193) %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #4 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store i64 %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i64 %4, ptr %10, align 8, !tbaa !9
  %21 = load ptr, ptr %6, align 8
  %22 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %21, i32 0, i32 11
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = icmp ne ptr %23, null
  br i1 %24, label %26, label %25

25:                                               ; preds = %5
  br label %114

26:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %27, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !9
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.__sanitizer::atomic_uintptr_t", ptr %28, i64 0
  %30 = load i64, ptr %7, align 8, !tbaa !9
  %31 = call noundef zeroext i1 @_ZN11__sanitizer30atomic_compare_exchange_strongINS_16atomic_uintptr_tEEEbPVT_PNS2_4TypeES5_NS_12memory_orderE(ptr noundef %29, ptr noundef %12, i64 noundef %30, i32 noundef 32)
  br i1 %31, label %32, label %63

32:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %33 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %21, i32 0, i32 12
  %34 = call noundef i64 @_ZN11__sanitizer16atomic_fetch_addINS_16atomic_uintptr_tEEENT_4TypeEPVS2_S3_NS_12memory_orderE(ptr noundef %33, i64 noundef 1, i32 noundef 1)
  store i64 %34, ptr %13, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %36 = load i64, ptr %13, align 8, !tbaa !9
  %37 = mul i64 %36, 8
  store i64 %37, ptr %14, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %38 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %21, i32 0, i32 13
  %39 = call noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef %38, i32 noundef 4)
  store i64 %39, ptr %15, align 8, !tbaa !20
  %40 = load i64, ptr %14, align 8, !tbaa !20
  %41 = load i64, ptr %15, align 8, !tbaa !20
  %42 = icmp ult i64 %40, %41
  %43 = xor i1 %42, true
  %44 = xor i1 %43, true
  %45 = xor i1 %44, true
  %46 = zext i1 %45 to i64
  %47 = call i64 @llvm.expect.i64(i64 %46, i64 0)
  %48 = icmp ne i64 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %35
  %50 = load i64, ptr %14, align 8, !tbaa !20
  %51 = load i64, ptr %15, align 8, !tbaa !20
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 441, ptr noundef @.str.15, i64 noundef %50, i64 noundef %51) #6
  unreachable

52:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  %55 = load i64, ptr %10, align 8, !tbaa !9
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds i64, ptr %56, i64 1
  store i64 %55, ptr %57, align 8, !tbaa !9
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %21, i32 0, i32 11
  %60 = load ptr, ptr %59, align 8, !tbaa !11
  %61 = load i64, ptr %13, align 8, !tbaa !9
  %62 = getelementptr inbounds ptr, ptr %60, i64 %61
  store ptr %58, ptr %62, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %63

63:                                               ; preds = %54, %26
  br label %64

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.__sanitizer::atomic_uintptr_t", ptr %65, i64 0
  %67 = call noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef %66, i32 noundef 1)
  store i64 %67, ptr %16, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %68 = load i64, ptr %7, align 8, !tbaa !9
  store i64 %68, ptr %17, align 8, !tbaa !20
  %69 = load i64, ptr %16, align 8, !tbaa !20
  %70 = load i64, ptr %17, align 8, !tbaa !20
  %71 = icmp eq i64 %69, %70
  %72 = xor i1 %71, true
  %73 = xor i1 %72, true
  %74 = xor i1 %73, true
  %75 = zext i1 %74 to i64
  %76 = call i64 @llvm.expect.i64(i64 %75, i64 0)
  %77 = icmp ne i64 %76, 0
  br i1 %77, label %78, label %81

78:                                               ; preds = %64
  %79 = load i64, ptr %16, align 8, !tbaa !20
  %80 = load i64, ptr %17, align 8, !tbaa !20
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 445, ptr noundef @.str.16, i64 noundef %79, i64 noundef %80) #6
  unreachable

81:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store i64 2, ptr %18, align 8, !tbaa !9
  br label %84

84:                                               ; preds = %106, %83
  %85 = load i64, ptr %18, align 8, !tbaa !9
  %86 = load i64, ptr %10, align 8, !tbaa !9
  %87 = icmp ult i64 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 6, ptr %19, align 4
  br label %109

89:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store i64 0, ptr %20, align 8, !tbaa !9
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = load i64, ptr %18, align 8, !tbaa !9
  %92 = getelementptr inbounds %"struct.__sanitizer::atomic_uintptr_t", ptr %90, i64 %91
  %93 = load i64, ptr %8, align 8, !tbaa !9
  %94 = call noundef zeroext i1 @_ZN11__sanitizer30atomic_compare_exchange_strongINS_16atomic_uintptr_tEEEbPVT_PNS2_4TypeES5_NS_12memory_orderE(ptr noundef %92, ptr noundef %20, i64 noundef %93, i32 noundef 32)
  br i1 %94, label %95, label %97

95:                                               ; preds = %89
  %96 = call noundef i64 @_ZN11__sanitizer16atomic_fetch_addINS_16atomic_uintptr_tEEENT_4TypeEPVS2_S3_NS_12memory_orderE(ptr noundef @_ZL21caller_callee_counter, i64 noundef 1, i32 noundef 1)
  store i32 1, ptr %19, align 4
  br label %103

97:                                               ; preds = %89
  %98 = load i64, ptr %20, align 8, !tbaa !9
  %99 = load i64, ptr %8, align 8, !tbaa !9
  %100 = icmp eq i64 %98, %99
  br i1 %100, label %101, label %102

101:                                              ; preds = %97
  store i32 1, ptr %19, align 4
  br label %103

102:                                              ; preds = %97
  store i32 0, ptr %19, align 4
  br label %103

103:                                              ; preds = %102, %101, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %104 = load i32, ptr %19, align 4
  switch i32 %104, label %109 [
    i32 0, label %105
  ]

105:                                              ; preds = %103
  br label %106

106:                                              ; preds = %105
  %107 = load i64, ptr %18, align 8, !tbaa !9
  %108 = add i64 %107, 1
  store i64 %108, ptr %18, align 8, !tbaa !9
  br label %84, !llvm.loop !22

109:                                              ; preds = %103, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %110 = load i32, ptr %19, align 4
  switch i32 %110, label %112 [
    i32 6, label %111
  ]

111:                                              ; preds = %109
  store i32 0, ptr %19, align 4
  br label %112

112:                                              ; preds = %111, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %113 = load i32, ptr %19, align 4
  switch i32 %113, label %115 [
    i32 0, label %114
    i32 1, label %114
  ]

114:                                              ; preds = %112, %112, %25
  ret void

115:                                              ; preds = %112
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11__sanitizer30atomic_compare_exchange_strongINS_16atomic_uintptr_tEEEbPVT_PNS2_4TypeES5_NS_12memory_orderE(ptr noundef, ptr noundef, i64 noundef, i32 noundef) #1

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

!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, !6, i64 144}
!12 = !{!"_ZTSN11__sanitizer12CoverageDataE", !6, i64 0, !13, i64 8, !13, i64 16, !10, i64 24, !14, i64 32, !15, i64 40, !16, i64 64, !16, i64 88, !17, i64 112, !10, i64 136, !6, i64 144, !13, i64 152, !13, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !18, i64 192}
!13 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !10, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorIPiEE", !6, i64 0, !10, i64 8, !10, i64 16}
!16 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEE", !6, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData14CounterAndSizeEEE", !6, i64 0, !10, i64 8, !10, i64 16}
!18 = !{!"_ZTSN11__sanitizer15StaticSpinMutexE", !19, i64 0}
!19 = !{!"_ZTSN11__sanitizer14atomic_uint8_tE", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"long long", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"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"

%"struct.__sanitizer::atomic_uintptr_t" = type { i64 }

@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [77 x i8], align 1
@_ZL21caller_callee_counter = external hidden global %"struct.__sanitizer::atomic_uintptr_t", align 8

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

; 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 mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: noreturn
declare void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11__sanitizer16atomic_fetch_addINS_16atomic_uintptr_tEEENT_4TypeEPVS2_S3_NS_12memory_orderE(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer12CoverageData9IndirCallEmmPmm(ptr noundef nonnull align 8 dereferenceable(193) %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #3 align 2 {
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 144
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %33, label %10

10:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  store i64 0, ptr %6, align 8, !tbaa !18
  %11 = call noundef zeroext i1 @_ZN11__sanitizer30atomic_compare_exchange_strongINS_16atomic_uintptr_tEEEbPVT_PNS2_4TypeES5_NS_12memory_orderE(ptr noundef %3, ptr noundef nonnull %6, i64 noundef %1, i32 noundef 32)
  br i1 %11, label %12, label %23

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  %14 = call noundef i64 @_ZN11__sanitizer16atomic_fetch_addINS_16atomic_uintptr_tEEENT_4TypeEPVS2_S3_NS_12memory_orderE(ptr noundef nonnull %13, i64 noundef 1, i32 noundef 1)
  %15 = shl i64 %14, 3
  %16 = getelementptr inbounds i8, ptr %0, i64 160
  %17 = call noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef nonnull %16, i32 noundef 4)
  %.not29 = icmp ult i64 %15, %17
  br i1 %.not29, label %19, label %18, !prof !19

18:                                               ; preds = %12
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 441, ptr noundef nonnull @.str.15, i64 noundef %15, i64 noundef %17) #5
  unreachable

19:                                               ; preds = %12
  %20 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 %4, ptr %20, align 8, !tbaa !18
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds ptr, ptr %21, i64 %14
  store ptr %3, ptr %22, align 8, !tbaa !20
  br label %23

23:                                               ; preds = %10, %19
  %24 = call noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef %3, i32 noundef 1)
  %.not30 = icmp eq i64 %24, %1
  br i1 %.not30, label %.preheader, label %26, !prof !19

.preheader:                                       ; preds = %23
  %25 = icmp ugt i64 %4, 2
  br i1 %25, label %.lr.ph, label %.loopexit

26:                                               ; preds = %23
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 445, ptr noundef nonnull @.str.16, i64 noundef %24, i64 noundef %1) #5
  unreachable

.lr.ph:                                           ; preds = %.preheader, %30
  %.02832 = phi i64 [ %32, %30 ], [ 2, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  store i64 0, ptr %7, align 8, !tbaa !18
  %27 = getelementptr inbounds %"struct.__sanitizer::atomic_uintptr_t", ptr %3, i64 %.02832
  %28 = call noundef zeroext i1 @_ZN11__sanitizer30atomic_compare_exchange_strongINS_16atomic_uintptr_tEEEbPVT_PNS2_4TypeES5_NS_12memory_orderE(ptr noundef nonnull %27, ptr noundef nonnull %7, i64 noundef %2, i32 noundef 32)
  br i1 %28, label %.critedge, label %30

.critedge:                                        ; preds = %.lr.ph
  %29 = call noundef i64 @_ZN11__sanitizer16atomic_fetch_addINS_16atomic_uintptr_tEEENT_4TypeEPVS2_S3_NS_12memory_orderE(ptr noundef nonnull @_ZL21caller_callee_counter, i64 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br label %.loopexit

30:                                               ; preds = %.lr.ph
  %31 = load i64, ptr %7, align 8, !tbaa !18
  %.not31 = icmp eq i64 %31, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  %32 = add nuw i64 %.02832, 1
  %exitcond.not = icmp eq i64 %32, %4
  %or.cond = select i1 %.not31, i1 true, i1 %exitcond.not
  br i1 %or.cond, label %.loopexit, label %.lr.ph, !llvm.loop !21

.loopexit:                                        ; preds = %30, %.preheader, %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br label %33

33:                                               ; preds = %5, %.loopexit
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11__sanitizer30atomic_compare_exchange_strongINS_16atomic_uintptr_tEEEbPVT_PNS2_4TypeES5_NS_12memory_orderE(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

!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, !7, i64 144}
!6 = !{!"_ZTSN11__sanitizer12CoverageDataE", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !14, i64 64, !14, i64 88, !15, i64 112, !11, i64 136, !7, i64 144, !10, i64 152, !10, i64 160, !7, i64 168, !11, i64 176, !7, i64 184, !16, i64 192}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorIPiEE", !7, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEE", !7, i64 0, !11, i64 8, !11, i64 16}
!15 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData14CounterAndSizeEEE", !7, i64 0, !11, i64 8, !11, i64 16}
!16 = !{!"_ZTSN11__sanitizer15StaticSpinMutexE", !17, i64 0}
!17 = !{!"_ZTSN11__sanitizer14atomic_uint8_tE", !8, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


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