; LLVM IR from dynexcoin/Dynex :: src/P2p/P2pContext.ll (ZN7DynexCN10P2pContext12writeMessageERKNS0_7MessageE)

; 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.System::EventLock" = type { ptr }
%"class.DynexCN::LevinProtocol" = type { ptr }
%"class.DynexCN::P2pContext" = type <{ i8, i8, %"struct.DynexCN::NetworkAddress", [6 x i8], i64, i16, [6 x i8], ptr, %"class.System::ContextGroup", %"class.std::chrono::time_point", i8, [7 x i8], %"class.std::chrono::time_point", %"class.std::chrono::duration", ptr, %"class.System::Timer", %"class.System::Event", %"class.System::TcpConnection", %"class.System::Event", %"class.System::Event" }>
%"struct.DynexCN::NetworkAddress" = type { i32, i32 }
%"class.System::ContextGroup" = type { ptr, %"struct.System::NativeContextGroup" }
%"struct.System::NativeContextGroup" = type { ptr, ptr, ptr, ptr }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.System::Timer" = type { ptr, i32, ptr }
%"class.System::TcpConnection" = type { ptr, i32, ptr, ptr }
%"class.System::Event" = type { ptr, i8, ptr, ptr }
%"struct.DynexCN::P2pContext::Message" = type { %"struct.DynexCN::P2pMessage", i32, i32 }
%"struct.DynexCN::P2pMessage" = type { i32, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTIN6System20InterruptedExceptionE = external dso_local constant { ptr, ptr, ptr }, 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

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_allocate_exception(i64)

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

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN10P2pContext12writeMessageERKNS0_7MessageE(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.System::EventLock", align 8
  %6 = alloca %"class.DynexCN::LevinProtocol", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  %10 = getelementptr inbounds %"class.DynexCN::P2pContext", ptr %9, i32 0, i32 10
  %11 = load i8, ptr %10, align 8, !tbaa !9, !range !23, !noundef !24
  %12 = trunc i8 %11 to i1
  br i1 %12, label %13, label %15

13:                                               ; preds = %2
  %14 = call ptr @__cxa_allocate_exception(i64 8) #6
  call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 8, i1 false)
  call void @_ZN6System20InterruptedExceptionC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @__cxa_throw(ptr %14, ptr @_ZTIN6System20InterruptedExceptionE, ptr @_ZNSt9exceptionD2Ev) #7
  unreachable

15:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %16 = getelementptr inbounds %"class.DynexCN::P2pContext", ptr %9, i32 0, i32 18
  call void @_ZN6System9EventLockC1ERNS_5EventE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(32) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %17 = getelementptr inbounds %"class.DynexCN::P2pContext", ptr %9, i32 0, i32 17
  invoke void @_ZN7DynexCN13LevinProtocolC1ERN6System13TcpConnectionE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %18 unwind label %22

18:                                               ; preds = %15
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.DynexCN::P2pContext::Message", ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 8, !tbaa !25
  switch i32 %21, label %50 [
    i32 0, label %26
    i32 1, label %33
    i32 2, label %40
  ]

22:                                               ; preds = %40, %33, %26, %15
  %23 = landingpad { ptr, i32 }
          cleanup
  %24 = extractvalue { ptr, i32 } %23, 0
  store ptr %24, ptr %7, align 8
  %25 = extractvalue { ptr, i32 } %23, 1
  store i32 %25, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %51

26:                                               ; preds = %18
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.DynexCN::P2pMessage", ptr %27, i32 0, i32 0
  %29 = load i32, ptr %28, align 8, !tbaa !33
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.DynexCN::P2pMessage", ptr %30, i32 0, i32 1
  invoke void @_ZN7DynexCN13LevinProtocol11sendMessageEjRKSt6vectorIhSaIhEEb(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %29, ptr noundef nonnull align 8 dereferenceable(24) %31, i1 noundef zeroext false)
          to label %32 unwind label %22

32:                                               ; preds = %26
  br label %50

33:                                               ; preds = %18
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.DynexCN::P2pMessage", ptr %34, i32 0, i32 0
  %36 = load i32, ptr %35, align 8, !tbaa !33
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.DynexCN::P2pMessage", ptr %37, i32 0, i32 1
  invoke void @_ZN7DynexCN13LevinProtocol11sendMessageEjRKSt6vectorIhSaIhEEb(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %36, ptr noundef nonnull align 8 dereferenceable(24) %38, i1 noundef zeroext true)
          to label %39 unwind label %22

39:                                               ; preds = %33
  br label %50

40:                                               ; preds = %18
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.DynexCN::P2pMessage", ptr %41, i32 0, i32 0
  %43 = load i32, ptr %42, align 8, !tbaa !33
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.DynexCN::P2pMessage", ptr %44, i32 0, i32 1
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.DynexCN::P2pContext::Message", ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 4, !tbaa !34
  invoke void @_ZN7DynexCN13LevinProtocol9sendReplyEjRKSt6vectorIhSaIhEEi(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %43, ptr noundef nonnull align 8 dereferenceable(24) %45, i32 noundef %48)
          to label %49 unwind label %22

49:                                               ; preds = %40
  br label %50

50:                                               ; preds = %49, %39, %32, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

51:                                               ; preds = %22
  %52 = load ptr, ptr %7, align 8
  %53 = load i32, ptr %8, align 4
  %54 = insertvalue { ptr, i32 } poison, ptr %52, 0
  %55 = insertvalue { ptr, i32 } %54, i32 %53, 1
  resume { ptr, i32 } %55
}

declare void @_ZN7DynexCN13LevinProtocol11sendMessageEjRKSt6vectorIhSaIhEEb(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #4

declare void @_ZN7DynexCN13LevinProtocol9sendReplyEjRKSt6vectorIhSaIhEEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { 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 #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 = { 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 #6 = { nounwind }
attributes #7 = { 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, !11, i64 88}
!10 = !{!"_ZTSN7DynexCN10P2pContextE", !7, i64 0, !11, i64 1, !12, i64 2, !14, i64 16, !15, i64 24, !6, i64 32, !16, i64 40, !18, i64 80, !11, i64 88, !18, i64 96, !19, i64 104, !6, i64 112, !20, i64 120, !21, i64 144, !22, i64 176, !21, i64 208, !21, i64 240}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN7DynexCN14NetworkAddressE", !13, i64 0, !13, i64 4}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTSN6System12ContextGroupE", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTSN6System18NativeContextGroupE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !19, i64 0}
!19 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !14, i64 0}
!20 = !{!"_ZTSN6System5TimerE", !6, i64 0, !13, i64 8, !6, i64 16}
!21 = !{!"_ZTSN6System5EventE", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 24}
!22 = !{!"_ZTSN6System13TcpConnectionE", !6, i64 0, !13, i64 8, !6, i64 16, !6, i64 24}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!26, !32, i64 32}
!26 = !{!"_ZTSN7DynexCN10P2pContext7MessageE", !27, i64 0, !32, i64 32, !13, i64 36}
!27 = !{!"_ZTSN7DynexCN10P2pMessageE", !13, i64 0, !28, i64 8}
!28 = !{!"_ZTSSt6vectorIhSaIhEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSN7DynexCN10P2pContext7Message4TypeE", !7, i64 0}
!33 = !{!27, !13, i64 0}
!34 = !{!26, !13, i64 36}


; 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.System::EventLock" = type { ptr }
%"class.DynexCN::LevinProtocol" = type { ptr }

@_ZTIN6System20InterruptedExceptionE = external dso_local constant { ptr, ptr, ptr }, 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

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN10P2pContext12writeMessageERKNS0_7MessageE(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.System::EventLock", align 8
  %4 = alloca %"class.DynexCN::LevinProtocol", align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 88
  %6 = load i8, ptr %5, align 8, !tbaa !5, !range !22, !noundef !23
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %8, label %10

8:                                                ; preds = %2
  %9 = tail call ptr @__cxa_allocate_exception(i64 8) #5
  store i64 0, ptr %9, align 16
  tail call void @_ZN6System20InterruptedExceptionC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  tail call void @__cxa_throw(ptr nonnull %9, ptr nonnull @_ZTIN6System20InterruptedExceptionE, ptr nonnull @_ZNSt9exceptionD2Ev) #6
  unreachable

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 208
  call void @_ZN6System9EventLockC1ERNS_5EventE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(32) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %12 = getelementptr inbounds i8, ptr %0, i64 176
  invoke void @_ZN7DynexCN13LevinProtocolC1ERN6System13TcpConnectionE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %13 unwind label %16

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %1, i64 32
  %15 = load i32, ptr %14, align 8, !tbaa !24
  switch i32 %15, label %27 [
    i32 0, label %.invoke
    i32 1, label %18
    i32 2, label %22
  ]

16:                                               ; preds = %.invoke, %22, %10
  %17 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  resume { ptr, i32 } %17

18:                                               ; preds = %13
  br label %.invoke

.invoke:                                          ; preds = %13, %18
  %19 = phi i1 [ true, %18 ], [ false, %13 ]
  %20 = load i32, ptr %1, align 8, !tbaa !32
  %21 = getelementptr inbounds i8, ptr %1, i64 8
  invoke void @_ZN7DynexCN13LevinProtocol11sendMessageEjRKSt6vectorIhSaIhEEb(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %20, ptr noundef nonnull align 8 dereferenceable(24) %21, i1 noundef zeroext %19)
          to label %27 unwind label %16

22:                                               ; preds = %13
  %23 = load i32, ptr %1, align 8, !tbaa !32
  %24 = getelementptr inbounds i8, ptr %1, i64 8
  %25 = getelementptr inbounds i8, ptr %1, i64 36
  %26 = load i32, ptr %25, align 4, !tbaa !33
  invoke void @_ZN7DynexCN13LevinProtocol9sendReplyEjRKSt6vectorIhSaIhEEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %23, ptr noundef nonnull align 8 dereferenceable(24) %24, i32 noundef %26)
          to label %27 unwind label %16

27:                                               ; preds = %.invoke, %22, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret void
}

declare void @_ZN7DynexCN13LevinProtocol11sendMessageEjRKSt6vectorIhSaIhEEb(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN7DynexCN13LevinProtocol9sendReplyEjRKSt6vectorIhSaIhEEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3

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 = { 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 #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 = { 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, !9, i64 88}
!6 = !{!"_ZTSN7DynexCN10P2pContextE", !7, i64 0, !9, i64 1, !10, i64 2, !12, i64 16, !13, i64 24, !14, i64 32, !15, i64 40, !17, i64 80, !9, i64 88, !17, i64 96, !18, i64 104, !14, i64 112, !19, i64 120, !20, i64 144, !21, i64 176, !20, i64 208, !20, i64 240}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"bool", !7, i64 0}
!10 = !{!"_ZTSN7DynexCN14NetworkAddressE", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTSN6System12ContextGroupE", !14, i64 0, !16, i64 8}
!16 = !{!"_ZTSN6System18NativeContextGroupE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!17 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !18, i64 0}
!18 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !12, i64 0}
!19 = !{!"_ZTSN6System5TimerE", !14, i64 0, !11, i64 8, !14, i64 16}
!20 = !{!"_ZTSN6System5EventE", !14, i64 0, !9, i64 8, !14, i64 16, !14, i64 24}
!21 = !{!"_ZTSN6System13TcpConnectionE", !14, i64 0, !11, i64 8, !14, i64 16, !14, i64 24}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!25, !31, i64 32}
!25 = !{!"_ZTSN7DynexCN10P2pContext7MessageE", !26, i64 0, !31, i64 32, !11, i64 36}
!26 = !{!"_ZTSN7DynexCN10P2pMessageE", !11, i64 0, !27, i64 8}
!27 = !{!"_ZTSSt6vectorIhSaIhEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!31 = !{!"_ZTSN7DynexCN10P2pContext7Message4TypeE", !7, i64 0}
!32 = !{!26, !11, i64 0}
!33 = !{!25, !11, i64 36}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass