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

; 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.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.webstor::internal::AsyncState" = type { %"class.webstor::internal::EventSync", i32, i32, 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: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7webstor8internal9AsyncLoop22removeCanceledRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  br label %7

7:                                                ; preds = %1
  br label %8

8:                                                ; preds = %7
  %9 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 10
  %10 = call noundef zeroext i1 @_ZNKSt6vectorIPvSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br i1 %10, label %70, label %11

11:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %12

12:                                               ; preds = %65, %11
  %13 = load i64, ptr %3, align 8, !tbaa !9
  %14 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 10
  %15 = call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  %16 = icmp ult i64 %13, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %68

18:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %19 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 10
  %20 = load i64, ptr %3, align 8, !tbaa !9
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %20) #5
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %22, ptr %4, align 8, !tbaa !5
  br label %23

23:                                               ; preds = %18
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = call noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef %26)
  store ptr %27, ptr %5, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %25
  br label %29

29:                                               ; preds = %28
  br label %30

30:                                               ; preds = %29
  %31 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 10
  %32 = load i64, ptr %3, align 8, !tbaa !9
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %32) #5
  store ptr null, ptr %33, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = call noundef zeroext i1 @_ZN7webstor8internal10AsyncState11isCompletedEv(ptr noundef nonnull align 8 dereferenceable(112) %34)
  br i1 %35, label %64, label %36

36:                                               ; preds = %30
  br label %37

37:                                               ; preds = %36
  %38 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 6
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.webstor::internal::AsyncState", ptr %39, i32 0, i32 2
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = call noundef zeroext i1 @_ZN7webstor8internal10SocketPool6removeEi(ptr noundef nonnull align 8 dereferenceable(104) %38, i32 noundef %41)
  br i1 %42, label %44, label %43

43:                                               ; preds = %37
  br label %44

44:                                               ; preds = %43, %37
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !24
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = call i32 @curl_multi_remove_handle(ptr noundef %49, ptr noundef %50)
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %54, label %53

53:                                               ; preds = %47
  br label %54

54:                                               ; preds = %53, %47
  br label %55

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  %60 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 11
  %61 = load volatile i64, ptr %60, align 8, !tbaa !35
  %62 = add i64 %61, -1
  store volatile i64 %62, ptr %60, align 8, !tbaa !35
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN7webstor8internal10AsyncState12setCompletedEv(ptr noundef nonnull align 8 dereferenceable(112) %63)
  br label %64

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

65:                                               ; preds = %64
  %66 = load i64, ptr %3, align 8, !tbaa !9
  %67 = add i64 %66, 1
  store i64 %67, ptr %3, align 8, !tbaa !9
  br label %12, !llvm.loop !36

68:                                               ; preds = %17
  %69 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %6, i32 0, i32 10
  call void @_ZNSt6vectorIPvSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #5
  br label %70

70:                                               ; preds = %68, %8
  ret void
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7webstor8internal10AsyncState11isCompletedEv(ptr noundef nonnull align 8 dereferenceable(112)) #2 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 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 = { 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, !22, i64 100}
!12 = !{!"_ZTSN7webstor8internal10AsyncStateE", !13, i64 0, !23, i64 96, !22, i64 100, !6, i64 104}
!13 = !{!"_ZTSN7webstor8internal9EventSyncE", !7, i64 0, !14, i64 40, !22, i64 88}
!14 = !{!"_ZTSSt3setIPN7webstor8internal11EventWaiterESt4lessIS3_ESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !17, i64 0, !19, i64 8}
!17 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7webstor8internal11EventWaiterEEE", !18, i64 0}
!18 = !{!"_ZTSSt4lessIPN7webstor8internal11EventWaiterEE"}
!19 = !{!"_ZTSSt15_Rb_tree_header", !20, i64 0, !10, i64 32}
!20 = !{!"_ZTSSt18_Rb_tree_node_base", !21, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!"_ZTS8CURLcode", !7, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSN7webstor8internal9AsyncLoopE", !6, i64 0, !26, i64 8, !27, i64 16, !22, i64 24, !29, i64 32, !30, i64 136, !6, i64 176, !31, i64 184, !31, i64 208, !10, i64 232, !26, i64 240}
!26 = !{!"bool", !7, i64 0}
!27 = !{!"_ZTSN7webstor8internal8TaskCtrlE", !28, i64 0}
!28 = !{!"_ZTSN7webstor8internal10auto_scopeImNS0_15TaskCtrlDeleterELy0EEE", !10, i64 0}
!29 = !{!"_ZTSN7webstor8internal10SocketPoolE", !6, i64 0, !13, i64 8}
!30 = !{!"_ZTSN7webstor8internal10ExLockSyncE", !7, i64 0}
!31 = !{!"_ZTSSt6vectorIPvSaIS0_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPvSaIS0_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!25, !10, i64 232}
!36 = distinct !{!36, !37}
!37 = !{!"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"

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7webstor8internal9AsyncLoop22removeCanceledRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 208
  %3 = tail call noundef zeroext i1 @_ZNKSt6vectorIPvSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  br i1 %3, label %25, label %.preheader

.preheader:                                       ; preds = %1
  %4 = tail call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  %.not = icmp eq i64 %4, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  %6 = getelementptr inbounds i8, ptr %0, i64 232
  br label %7

._crit_edge:                                      ; preds = %21, %.preheader
  tail call void @_ZNSt6vectorIPvSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  br label %25

7:                                                ; preds = %.lr.ph, %21
  %.09 = phi i64 [ 0, %.lr.ph ], [ %22, %21 ]
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.09) #4
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = tail call noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef %9)
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.09) #4
  store ptr null, ptr %11, align 8, !tbaa !5
  %12 = tail call noundef zeroext i1 @_ZN7webstor8internal10AsyncState11isCompletedEv(ptr noundef nonnull align 8 dereferenceable(112) %10)
  br i1 %12, label %21, label %13

13:                                               ; preds = %7
  %14 = getelementptr inbounds i8, ptr %10, i64 100
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = tail call noundef zeroext i1 @_ZN7webstor8internal10SocketPool6removeEi(ptr noundef nonnull align 8 dereferenceable(104) %5, i32 noundef %15)
  %17 = load ptr, ptr %0, align 8, !tbaa !23
  %18 = tail call i32 @curl_multi_remove_handle(ptr noundef %17, ptr noundef %9)
  %19 = load volatile i64, ptr %6, align 8, !tbaa !34
  %20 = add i64 %19, -1
  store volatile i64 %20, ptr %6, align 8, !tbaa !34
  tail call void @_ZN7webstor8internal10AsyncState12setCompletedEv(ptr noundef nonnull align 8 dereferenceable(112) %10)
  br label %21

21:                                               ; preds = %13, %7
  %22 = add nuw i64 %.09, 1
  %23 = tail call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  %24 = icmp ult i64 %22, %23
  br i1 %24, label %7, label %._crit_edge, !llvm.loop !35

25:                                               ; preds = %._crit_edge, %1
  ret void
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7webstor8internal10AsyncState11isCompletedEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

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

declare i32 @curl_multi_remove_handle(ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { inlinehint 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 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 }

!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, !21, i64 100}
!10 = !{!"_ZTSN7webstor8internal10AsyncStateE", !11, i64 0, !22, i64 96, !21, i64 100, !6, i64 104}
!11 = !{!"_ZTSN7webstor8internal9EventSyncE", !7, i64 0, !12, i64 40, !21, i64 88}
!12 = !{!"_ZTSSt3setIPN7webstor8internal11EventWaiterESt4lessIS3_ESaIS3_EE", !13, i64 0}
!13 = !{!"_ZTSSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE", !14, i64 0}
!14 = !{!"_ZTSNSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !15, i64 0, !17, i64 8}
!15 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7webstor8internal11EventWaiterEEE", !16, i64 0}
!16 = !{!"_ZTSSt4lessIPN7webstor8internal11EventWaiterEE"}
!17 = !{!"_ZTSSt15_Rb_tree_header", !18, i64 0, !20, i64 32}
!18 = !{!"_ZTSSt18_Rb_tree_node_base", !19, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"int", !7, i64 0}
!22 = !{!"_ZTS8CURLcode", !7, i64 0}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSN7webstor8internal9AsyncLoopE", !6, i64 0, !25, i64 8, !26, i64 16, !21, i64 24, !28, i64 32, !29, i64 136, !6, i64 176, !30, i64 184, !30, i64 208, !20, i64 232, !25, i64 240}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN7webstor8internal8TaskCtrlE", !27, i64 0}
!27 = !{!"_ZTSN7webstor8internal10auto_scopeImNS0_15TaskCtrlDeleterELy0EEE", !20, i64 0}
!28 = !{!"_ZTSN7webstor8internal10SocketPoolE", !6, i64 0, !11, i64 8}
!29 = !{!"_ZTSN7webstor8internal10ExLockSyncE", !7, i64 0}
!30 = !{!"_ZTSSt6vectorIPvSaIS0_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIPvSaIS0_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!24, !20, i64 232}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}


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