; LLVM IR from turi-code/SFrame :: oss_src/fileio/oss_webstor/asyncurl.ll (ZN7webstor8internal9AsyncLoop9asyncLoopEv)

; 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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.8" = type { ptr }
%"class.webstor::internal::AsyncLoop" = type <{ ptr, i8, [7 x i8], %"class.webstor::internal::TaskCtrl", i32, [4 x i8], %"class.webstor::internal::SocketPool", %"class.webstor::internal::ExLockSync", ptr, %"class.std::vector", %"class.std::vector", i64, i8, [7 x i8] }>
%"class.webstor::internal::TaskCtrl" = type { %"class.webstor::internal::auto_scope" }
%"class.webstor::internal::auto_scope" = type { i64 }
%"class.webstor::internal::SocketPool" = type { ptr, %"class.webstor::internal::EventSync" }
%"class.webstor::internal::EventSync" = type <{ %union.pthread_mutex_t, %"class.std::set", i32, [4 x i8] }>
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<webstor::internal::EventWaiter *, webstor::internal::EventWaiter *, std::_Identity<webstor::internal::EventWaiter *>, std::less<webstor::internal::EventWaiter *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<webstor::internal::EventWaiter *, webstor::internal::EventWaiter *, std::_Identity<webstor::internal::EventWaiter *>, std::less<webstor::internal::EventWaiter *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.webstor::internal::ExLockSync" = type { %"union.webstor::internal::ExLockSync::Data" }
%"union.webstor::internal::ExLockSync::Data" = type { %union.pthread_mutex_t }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #0

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

; 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
define dso_local void @_ZN7webstor8internal9AsyncLoop9asyncLoopEv(ptr noundef nonnull align 8 dereferenceable(241) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector.3", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.8", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.8", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  br label %13

13:                                               ; preds = %1
  br label %14

14:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #6
  call void @_ZNSt6vectorISt4pairIijESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %15

15:                                               ; preds = %102, %14
  %16 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %12, i32 0, i32 1
  %17 = load i8, ptr %16, align 8, !tbaa !9, !range !31, !noundef !32
  %18 = trunc i8 %17 to i1
  %19 = xor i1 %18, true
  br i1 %19, label %20, label %112

20:                                               ; preds = %15
  %21 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %12, i32 0, i32 12
  %22 = load volatile i8, ptr %21, align 8, !tbaa !33, !range !31, !noundef !32
  %23 = trunc i8 %22 to i1
  br i1 %23, label %24, label %33

24:                                               ; preds = %20
  invoke void @_ZN7webstor8internal9AsyncLoop21handlePendingRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %12)
          to label %25 unwind label %29

25:                                               ; preds = %24
  br label %26

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  br label %33

29:                                               ; preds = %24
  %30 = landingpad { ptr, i32 }
          catch ptr null
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %4, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %5, align 4
  br label %96

33:                                               ; preds = %28, %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %34 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %12, i32 0, i32 6
  %35 = invoke noundef i64 @_ZNK7webstor8internal10SocketPool4sizeEv(ptr noundef nonnull align 8 dereferenceable(104) %34)
          to label %36 unwind label %43

36:                                               ; preds = %33
  store i64 %35, ptr %6, align 8, !tbaa !34
  %37 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %12, i32 0, i32 11
  %38 = load volatile i64, ptr %37, align 8, !tbaa !35
  %39 = load i64, ptr %6, align 8, !tbaa !34
  %40 = icmp ugt i64 %38, %39
  br i1 %40, label %41, label %47

41:                                               ; preds = %36
  invoke void @_ZN7webstor8internal9AsyncLoop19executeSocketActionEij(ptr noundef nonnull align 8 dereferenceable(241) %12, i32 noundef -1, i32 noundef 0)
          to label %42 unwind label %43

42:                                               ; preds = %41
  br label %90

43:                                               ; preds = %90, %49, %47, %41, %33
  %44 = landingpad { ptr, i32 }
          catch ptr null
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %4, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %5, align 4
  br label %95

47:                                               ; preds = %36
  %48 = load i64, ptr %6, align 8, !tbaa !34
  invoke void @_ZNSt6vectorISt4pairIijESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %48)
          to label %49 unwind label %43

49:                                               ; preds = %47
  %50 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %12, i32 0, i32 6
  %51 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %12, i32 0, i32 4
  %52 = load i32, ptr %51, align 8, !tbaa !36
  %53 = invoke noundef zeroext i1 @_ZN7webstor8internal10SocketPool4waitEjjPSt6vectorISt4pairIijESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(104) %50, i32 noundef %52, i32 noundef -1, ptr noundef %3)
          to label %54 unwind label %43

54:                                               ; preds = %49
  br i1 %53, label %55, label %78

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %56 = call ptr @_ZNSt6vectorISt4pairIijESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %57 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.8", ptr %8, i32 0, i32 0
  store ptr %56, ptr %57, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %58

58:                                               ; preds = %71, %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %59 = call ptr @_ZNSt6vectorISt4pairIijESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %60 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.8", ptr %9, i32 0, i32 0
  store ptr %59, ptr %60, align 8
  %61 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIijEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br i1 %61, label %63, label %62

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

63:                                               ; preds = %58
  %64 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %65 = getelementptr inbounds %"struct.std::pair", ptr %64, i32 0, i32 0
  %66 = load i32, ptr %65, align 4, !tbaa !37
  %67 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %68 = getelementptr inbounds %"struct.std::pair", ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 4, !tbaa !39
  invoke void @_ZN7webstor8internal9AsyncLoop19executeSocketActionEij(ptr noundef nonnull align 8 dereferenceable(241) %12, i32 noundef %66, i32 noundef %69)
          to label %70 unwind label %73

70:                                               ; preds = %63
  br label %71

71:                                               ; preds = %70
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br label %58, !llvm.loop !40

73:                                               ; preds = %63
  %74 = landingpad { ptr, i32 }
          catch ptr null
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %4, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %95

77:                                               ; preds = %62
  br label %89

78:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %79 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %12, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !43
  %81 = invoke i32 @curl_multi_socket_all(ptr noundef %80, ptr noundef %10)
          to label %82 unwind label %85

82:                                               ; preds = %78
  store i32 %81, ptr %11, align 4, !tbaa !44
  %83 = load i32, ptr %11, align 4, !tbaa !44
  invoke void @_ZN7webstor8internalL12raiseIfErrorE9CURLMcode(i32 noundef %83)
          to label %84 unwind label %85

84:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %89

85:                                               ; preds = %82, %78
  %86 = landingpad { ptr, i32 }
          catch ptr null
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %4, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %95

89:                                               ; preds = %84, %77
  br label %90

90:                                               ; preds = %89, %42
  invoke void @_ZN7webstor8internal9AsyncLoop23removeCompletedRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %12)
          to label %91 unwind label %43

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %102

95:                                               ; preds = %85, %73, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %96

96:                                               ; preds = %95, %29
  %97 = load ptr, ptr %4, align 8
  %98 = call ptr @__cxa_begin_catch(ptr %97) #6
  invoke void @_ZN7webstor8internal21handleBackgroundErrorEv()
          to label %99 unwind label %103

99:                                               ; preds = %96
  invoke void @_ZN7webstor8internal9taskSleepEj(i32 noundef 3000)
          to label %100 unwind label %103

100:                                              ; preds = %99
  invoke void @__cxa_end_catch()
          to label %101 unwind label %107

101:                                              ; preds = %100
  br label %102

102:                                              ; preds = %101, %94
  br label %15, !llvm.loop !46

103:                                              ; preds = %99, %96
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %4, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %5, align 4
  invoke void @__cxa_end_catch()
          to label %111 unwind label %119

107:                                              ; preds = %100
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %4, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %5, align 4
  br label %113

111:                                              ; preds = %103
  br label %113

112:                                              ; preds = %15
  call void @_ZNSt6vectorISt4pairIijESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #6
  ret void

113:                                              ; preds = %111, %107
  call void @_ZNSt6vectorISt4pairIijESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #6
  br label %114

114:                                              ; preds = %113
  %115 = load ptr, ptr %4, align 8
  %116 = load i32, ptr %5, align 4
  %117 = insertvalue { ptr, i32 } poison, ptr %115, 0
  %118 = insertvalue { ptr, i32 } %117, i32 %116, 1
  resume { ptr, i32 } %118

119:                                              ; preds = %103
  %120 = landingpad { ptr, i32 }
          catch ptr null
  %121 = extractvalue { ptr, i32 } %120, 0
  call void @__clang_call_terminate(ptr %121) #7
  unreachable
}

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

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

declare noundef i64 @_ZNK7webstor8internal10SocketPool4sizeEv(ptr noundef nonnull align 8 dereferenceable(104)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7webstor8internal9AsyncLoop19executeSocketActionEij(ptr noundef nonnull align 8 dereferenceable(241), i32 noundef, i32 noundef) #2 align 2

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

declare noundef zeroext i1 @_ZN7webstor8internal10SocketPool4waitEjjPSt6vectorISt4pairIijESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef, i32 noundef, ptr noundef) #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIijEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

declare i32 @curl_multi_socket_all(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7webstor8internalL12raiseIfErrorE9CURLMcode(i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7webstor8internal21handleBackgroundErrorEv() #2

declare void @_ZN7webstor8internal9taskSleepEj(i32 noundef) #4

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

attributes #0 = { noinline noreturn nounwind uwtable "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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 #6 = { nounwind }
attributes #7 = { noreturn 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 8}
!10 = !{!"_ZTSN7webstor8internal9AsyncLoopE", !6, i64 0, !11, i64 8, !12, i64 16, !15, i64 24, !16, i64 32, !26, i64 136, !6, i64 176, !27, i64 184, !27, i64 208, !14, i64 232, !11, i64 240}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN7webstor8internal8TaskCtrlE", !13, i64 0}
!13 = !{!"_ZTSN7webstor8internal10auto_scopeImNS0_15TaskCtrlDeleterELy0EEE", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN7webstor8internal10SocketPoolE", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTSN7webstor8internal9EventSyncE", !7, i64 0, !18, i64 40, !15, i64 88}
!18 = !{!"_ZTSSt3setIPN7webstor8internal11EventWaiterESt4lessIS3_ESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !21, i64 0, !23, i64 8}
!21 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7webstor8internal11EventWaiterEEE", !22, i64 0}
!22 = !{!"_ZTSSt4lessIPN7webstor8internal11EventWaiterEE"}
!23 = !{!"_ZTSSt15_Rb_tree_header", !24, i64 0, !14, i64 32}
!24 = !{!"_ZTSSt18_Rb_tree_node_base", !25, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!25 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!26 = !{!"_ZTSN7webstor8internal10ExLockSyncE", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIPvSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIPvSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!10, !11, i64 240}
!34 = !{!14, !14, i64 0}
!35 = !{!10, !14, i64 232}
!36 = !{!10, !15, i64 24}
!37 = !{!38, !15, i64 0}
!38 = !{!"_ZTSSt4pairIijE", !15, i64 0, !15, i64 4}
!39 = !{!38, !15, i64 4}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!15, !15, i64 0}
!43 = !{!10, !6, i64 0}
!44 = !{!45, !45, i64 0}
!45 = !{!"_ZTS9CURLMcode", !7, i64 0}
!46 = distinct !{!46, !41}


; 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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.8" = type { ptr }

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7webstor8internal9AsyncLoop9asyncLoopEv(ptr noundef nonnull align 8 dereferenceable(241) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.3", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.8", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.8", align 8
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  call void @_ZNSt6vectorISt4pairIijESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i8, ptr %7, align 8, !tbaa !5, !range !30, !noundef !31
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %._crit_edge12, label %.lr.ph11

.lr.ph11:                                         ; preds = %1
  %10 = getelementptr inbounds i8, ptr %0, i64 240
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = getelementptr inbounds i8, ptr %0, i64 232
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  br label %14

14:                                               ; preds = %.lr.ph11, %60
  %15 = load volatile i8, ptr %10, align 8, !tbaa !32, !range !30, !noundef !31
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %17, label %20

17:                                               ; preds = %14
  invoke void @_ZN7webstor8internal9AsyncLoop21handlePendingRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %0)
          to label %20 unwind label %18

18:                                               ; preds = %17
  %19 = landingpad { ptr, i32 }
          catch ptr null
  br label %56

20:                                               ; preds = %17, %14
  %21 = invoke noundef i64 @_ZNK7webstor8internal10SocketPool4sizeEv(ptr noundef nonnull align 8 dereferenceable(104) %11)
          to label %22 unwind label %26

22:                                               ; preds = %20
  %23 = load volatile i64, ptr %12, align 8, !tbaa !33
  %24 = icmp ugt i64 %23, %21
  br i1 %24, label %25, label %28

25:                                               ; preds = %22
  invoke void @_ZN7webstor8internal9AsyncLoop19executeSocketActionEij(ptr noundef nonnull align 8 dereferenceable(241) %0, i32 noundef -1, i32 noundef 0)
          to label %55 unwind label %26

26:                                               ; preds = %55, %29, %28, %25, %20
  %27 = landingpad { ptr, i32 }
          catch ptr null
  br label %56

28:                                               ; preds = %22
  invoke void @_ZNSt6vectorISt4pairIijESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %21)
          to label %29 unwind label %26

29:                                               ; preds = %28
  %30 = load i32, ptr %13, align 8, !tbaa !34
  %31 = invoke noundef zeroext i1 @_ZN7webstor8internal10SocketPool4waitEjjPSt6vectorISt4pairIijESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(104) %11, i32 noundef %30, i32 noundef -1, ptr noundef nonnull %2)
          to label %32 unwind label %26

32:                                               ; preds = %29
  br i1 %31, label %33, label %48

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %34 = call ptr @_ZNSt6vectorISt4pairIijESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  store ptr %34, ptr %4, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %35 = call ptr @_ZNSt6vectorISt4pairIijESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  store ptr %35, ptr %5, align 8
  %36 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIijEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %36, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %42, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %55

.lr.ph:                                           ; preds = %33, %42
  %37 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %38 = load i32, ptr %37, align 4, !tbaa !35
  %39 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %40 = getelementptr inbounds i8, ptr %39, i64 4
  %41 = load i32, ptr %40, align 4, !tbaa !37
  invoke void @_ZN7webstor8internal9AsyncLoop19executeSocketActionEij(ptr noundef nonnull align 8 dereferenceable(241) %0, i32 noundef %38, i32 noundef %41)
          to label %42 unwind label %46

42:                                               ; preds = %.lr.ph
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIijESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %44 = call ptr @_ZNSt6vectorISt4pairIijESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  store ptr %44, ptr %5, align 8
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIijEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %45, label %.lr.ph, label %._crit_edge, !llvm.loop !38

46:                                               ; preds = %.lr.ph
  %47 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %56

48:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 0, ptr %6, align 4, !tbaa !40
  %49 = load ptr, ptr %0, align 8, !tbaa !41
  %50 = invoke i32 @curl_multi_socket_all(ptr noundef %49, ptr noundef nonnull %6)
          to label %51 unwind label %53

51:                                               ; preds = %48
  invoke void @_ZN7webstor8internalL12raiseIfErrorE9CURLMcode(i32 noundef %50)
          to label %52 unwind label %53

52:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %55

53:                                               ; preds = %51, %48
  %54 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %56

55:                                               ; preds = %._crit_edge, %52, %25
  invoke void @_ZN7webstor8internal9AsyncLoop23removeCompletedRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %0)
          to label %60 unwind label %26

56:                                               ; preds = %26, %46, %53, %18
  %.pn.pn = phi { ptr, i32 } [ %19, %18 ], [ %27, %26 ], [ %47, %46 ], [ %54, %53 ]
  %.1 = extractvalue { ptr, i32 } %.pn.pn, 0
  %57 = call ptr @__cxa_begin_catch(ptr %.1) #6
  invoke void @_ZN7webstor8internal21handleBackgroundErrorEv()
          to label %58 unwind label %63

58:                                               ; preds = %56
  invoke void @_ZN7webstor8internal9taskSleepEj(i32 noundef 3000)
          to label %59 unwind label %63

59:                                               ; preds = %58
  invoke void @__cxa_end_catch()
          to label %60 unwind label %65

60:                                               ; preds = %55, %59
  %61 = load i8, ptr %7, align 8, !tbaa !5, !range !30, !noundef !31
  %62 = trunc nuw i8 %61 to i1
  br i1 %62, label %._crit_edge12, label %14, !llvm.loop !42

63:                                               ; preds = %58, %56
  %64 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %67 unwind label %68

65:                                               ; preds = %59
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %67

._crit_edge12:                                    ; preds = %60, %1
  call void @_ZNSt6vectorISt4pairIijESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  ret void

67:                                               ; preds = %63, %65
  %.pn8 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZNSt6vectorISt4pairIijESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn8

68:                                               ; preds = %63
  %69 = landingpad { ptr, i32 }
          catch ptr null
  %70 = extractvalue { ptr, i32 } %69, 0
  call void @__clang_call_terminate(ptr %70) #7
  unreachable
}

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

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

declare noundef i64 @_ZNK7webstor8internal10SocketPool4sizeEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7webstor8internal9AsyncLoop19executeSocketActionEij(ptr noundef nonnull align 8 dereferenceable(241), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

declare noundef zeroext i1 @_ZN7webstor8internal10SocketPool4waitEjjPSt6vectorISt4pairIijESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

declare i32 @curl_multi_socket_all(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7webstor8internalL12raiseIfErrorE9CURLMcode(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7webstor8internal21handleBackgroundErrorEv() local_unnamed_addr #2

declare void @_ZN7webstor8internal9taskSleepEj(i32 noundef) local_unnamed_addr #4

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

attributes #0 = { noinline noreturn nounwind uwtable "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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 #6 = { nounwind }
attributes #7 = { noreturn 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, !10, i64 8}
!6 = !{!"_ZTSN7webstor8internal9AsyncLoopE", !7, i64 0, !10, i64 8, !11, i64 16, !14, i64 24, !15, i64 32, !25, i64 136, !7, i64 176, !26, i64 184, !26, i64 208, !13, i64 232, !10, i64 240}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN7webstor8internal8TaskCtrlE", !12, i64 0}
!12 = !{!"_ZTSN7webstor8internal10auto_scopeImNS0_15TaskCtrlDeleterELy0EEE", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!"_ZTSN7webstor8internal10SocketPoolE", !7, i64 0, !16, i64 8}
!16 = !{!"_ZTSN7webstor8internal9EventSyncE", !8, i64 0, !17, i64 40, !14, i64 88}
!17 = !{!"_ZTSSt3setIPN7webstor8internal11EventWaiterESt4lessIS3_ESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !20, i64 0, !22, i64 8}
!20 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7webstor8internal11EventWaiterEEE", !21, i64 0}
!21 = !{!"_ZTSSt4lessIPN7webstor8internal11EventWaiterEE"}
!22 = !{!"_ZTSSt15_Rb_tree_header", !23, i64 0, !13, i64 32}
!23 = !{!"_ZTSSt18_Rb_tree_node_base", !24, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!24 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!25 = !{!"_ZTSN7webstor8internal10ExLockSyncE", !8, i64 0}
!26 = !{!"_ZTSSt6vectorIPvSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIPvSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!6, !10, i64 240}
!33 = !{!6, !13, i64 232}
!34 = !{!6, !14, i64 24}
!35 = !{!36, !14, i64 0}
!36 = !{!"_ZTSSt4pairIijE", !14, i64 0, !14, i64 4}
!37 = !{!36, !14, i64 4}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!14, !14, i64 0}
!41 = !{!6, !7, i64 0}
!42 = distinct !{!42, !39}


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