; LLVM IR from AngoraFuzzer/Angora :: llvm_mode/dfsan_rt/sanitizer_common (sanitizer_symbolizer_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"

%"class.__sanitizer::GenericScopedLock" = type { ptr }
%"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase" = type { ptr }
%"class.__sanitizer::Symbolizer::SymbolizerScope" = type { ptr }
%"class.__sanitizer::Symbolizer" = type { %"class.__sanitizer::Symbolizer::ModuleNameOwner", %"class.__sanitizer::ListOfModules", i8, %"class.__sanitizer::BlockingMutex", %"struct.__sanitizer::IntrusiveList", ptr, ptr }
%"class.__sanitizer::Symbolizer::ModuleNameOwner" = type { %"class.__sanitizer::InternalMmapVector", ptr, ptr }
%"class.__sanitizer::InternalMmapVector" = type { %"class.__sanitizer::InternalMmapVectorNoCtor" }
%"class.__sanitizer::InternalMmapVectorNoCtor" = type { ptr, i64, i64 }
%"class.__sanitizer::ListOfModules" = type { %"class.__sanitizer::InternalMmapVector.0" }
%"class.__sanitizer::InternalMmapVector.0" = type { %"class.__sanitizer::InternalMmapVectorNoCtor.1" }
%"class.__sanitizer::InternalMmapVectorNoCtor.1" = type { ptr, i64, i64 }
%"class.__sanitizer::BlockingMutex" = type { [10 x i64], i64 }
%"struct.__sanitizer::IntrusiveList" = type { i64, ptr, ptr }

; 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: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EneES4_(ptr noundef nonnull align 8 dereferenceable(8), ptr) #2 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) #3

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

declare void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeC1EPKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer10Symbolizer5FlushEv(ptr noundef nonnull align 8 dereferenceable(200) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.__sanitizer::GenericScopedLock", align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase", align 8
  %9 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__sanitizer::Symbolizer::SymbolizerScope", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %13 = getelementptr inbounds %"class.__sanitizer::Symbolizer", ptr %12, i32 0, i32 3
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %14 = getelementptr inbounds %"class.__sanitizer::Symbolizer", ptr %12, i32 0, i32 4
  store ptr %14, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = invoke ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %17 unwind label %29

17:                                               ; preds = %1
  %18 = getelementptr inbounds %"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase", ptr %5, i32 0, i32 0
  store ptr %16, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = invoke ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %21 unwind label %33

21:                                               ; preds = %17
  %22 = getelementptr inbounds %"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase", ptr %8, i32 0, i32 0
  store ptr %20, ptr %22, align 8
  br label %23

23:                                               ; preds = %48, %21
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !9
  %24 = getelementptr inbounds %"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase", ptr %9, i32 0, i32 0
  %25 = load ptr, ptr %24, align 8
  %26 = invoke noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EneES4_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr %25)
          to label %27 unwind label %33

27:                                               ; preds = %23
  br i1 %26, label %37, label %28

28:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %65

29:                                               ; preds = %1
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %6, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %7, align 4
  br label %64

33:                                               ; preds = %46, %23, %17
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %6, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %7, align 4
  br label %63

37:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %39 unwind label %49

39:                                               ; preds = %37
  store ptr %38, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  invoke void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeC1EPKS0_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef %12)
          to label %40 unwind label %53

40:                                               ; preds = %39
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = load ptr, ptr %41, align 8, !tbaa !10
  %43 = getelementptr inbounds ptr, ptr %42, i64 2
  %44 = load ptr, ptr %43, align 8
  invoke void %44(ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %45 unwind label %57

45:                                               ; preds = %40
  call void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %46

46:                                               ; preds = %45
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EppEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %48 unwind label %33

48:                                               ; preds = %46
  br label %23

49:                                               ; preds = %37
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %6, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %7, align 4
  br label %62

53:                                               ; preds = %39
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %6, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %7, align 4
  br label %61

57:                                               ; preds = %40
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %6, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %7, align 4
  call void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %61

61:                                               ; preds = %57, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %62

62:                                               ; preds = %61, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %63

63:                                               ; preds = %62, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %64

64:                                               ; preds = %63, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %66

65:                                               ; preds = %28
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void

66:                                               ; preds = %64
  %67 = load ptr, ptr %6, align 8
  %68 = load i32, ptr %7, align 4
  %69 = insertvalue { ptr, i32 } poison, ptr %67, 0
  %70 = insertvalue { ptr, i32 } %69, i32 %68, 1
  resume { ptr, i32 } %70
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{i64 0, i64 8, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"vtable pointer", !8, i64 0}


; 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.__sanitizer::GenericScopedLock" = type { ptr }
%"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase" = type { ptr }
%"class.__sanitizer::Symbolizer::SymbolizerScope" = type { ptr }

; 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: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeC1EPKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer10Symbolizer5FlushEv(ptr noundef nonnull align 8 dereferenceable(200) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__sanitizer::GenericScopedLock", align 8
  %3 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::SymbolizerTool>::IteratorBase", align 8
  %4 = alloca %"class.__sanitizer::Symbolizer::SymbolizerScope", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %5 = getelementptr inbounds i8, ptr %0, i64 72
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 160
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %7 = invoke ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %8 unwind label %11

8:                                                ; preds = %1
  store ptr %7, ptr %3, align 8
  %9 = invoke ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %.preheader unwind label %13

.preheader:                                       ; preds = %8
  %10 = call noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EneES4_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr %9)
  br i1 %10, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %20, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void

11:                                               ; preds = %1
  %12 = landingpad { ptr, i32 }
          cleanup
  br label %28

13:                                               ; preds = %8
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %28

.lr.ph:                                           ; preds = %.preheader, %20
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  invoke void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeC1EPKS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %0)
          to label %16 unwind label %23

16:                                               ; preds = %.lr.ph
  %17 = load ptr, ptr %15, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  %19 = load ptr, ptr %18, align 8
  invoke void %19(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %20 unwind label %25

20:                                               ; preds = %16
  call void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EppEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %22 = call noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_14SymbolizerToolEE12IteratorBaseIS1_EneES4_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr %9)
  br i1 %22, label %.lr.ph, label %._crit_edge

23:                                               ; preds = %.lr.ph
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %27

25:                                               ; preds = %16
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11__sanitizer10Symbolizer15SymbolizerScopeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br label %27

27:                                               ; preds = %25, %23
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %28

28:                                               ; preds = %13, %27, %11
  %.pn.pn.pn = phi { ptr, i32 } [ %12, %11 ], [ %.pn, %27 ], [ %14, %13 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn.pn.pn
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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