; LLVM IR from tglane/socketwrapper :: example (udp_example)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.net::udp_socket" = type { %"class.net::detail::base_socket.base", i8, [2 x i8], %"class.std::optional" }
%"class.net::detail::base_socket.base" = type <{ ptr, i32, i8 }>
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base", [7 x i8] }
%"struct.std::_Optional_payload.base" = type { %"struct.std::_Optional_payload_base.base" }
%"struct.std::_Optional_payload_base.base" = type { %"union.std::_Optional_payload_base<net::endpoint<ip_version::v4>>::_Storage", i8 }
%"union.std::_Optional_payload_base<net::endpoint<ip_version::v4>>::_Storage" = type { %"class.net::endpoint" }
%"class.net::endpoint" = type <{ i8, [3 x i8], %struct.sockaddr_in, [4 x i8], %"class.std::__cxx11::basic_string", i16, [6 x i8] }>
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.std::array" = type { [1024 x i8] }
%"struct.std::pair" = type { i64, %"class.net::endpoint" }
%"class.net::span" = type { ptr, i64 }
%"class.std::optional.2" = type { %"struct.std::_Optional_base.3" }
%"struct.std::_Optional_base.3" = type { %"struct.std::_Optional_payload.5" }
%"struct.std::_Optional_payload.5" = type { %"struct.std::_Optional_payload.base.9", [7 x i8] }
%"struct.std::_Optional_payload.base.9" = type { %"struct.std::_Optional_payload_base.base.8" }
%"struct.std::_Optional_payload_base.base.8" = type <{ %"union.std::_Optional_payload_base<std::pair<unsigned long, net::endpoint<ip_version::v4>>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::pair<unsigned long, net::endpoint<ip_version::v4>>>::_Storage" = type { %"struct.std::pair" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::allocator" = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.std::array.12" = type { [4 x i8] }
%"class.net::span.13" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.net::udp_socket", align 8
  %7 = alloca %"class.net::endpoint", align 8
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::array", align 1
  %12 = alloca %"struct.std::pair", align 8
  %13 = alloca %"class.net::span", align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"class.std::optional.2", align 8
  %18 = alloca %"class.net::span", align 8
  %19 = alloca %"class.std::chrono::duration", align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca %"class.net::udp_socket", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %"class.net::endpoint", align 8
  %29 = alloca %"class.std::basic_string_view", align 8
  %30 = alloca %"class.net::endpoint", align 8
  %31 = alloca %"class.net::span", align 8
  %32 = alloca %"class.std::chrono::duration", align 8
  %33 = alloca i32, align 4
  %34 = alloca %"class.std::vector", align 8
  %35 = alloca %"class.std::initializer_list", align 8
  %36 = alloca [3 x i8], align 1
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca %"class.net::endpoint", align 8
  %39 = alloca %"struct.std::array.12", align 1
  %40 = alloca %"class.net::span", align 8
  %41 = alloca %"class.net::endpoint", align 8
  %42 = alloca %"struct.std::array.12", align 1
  %43 = alloca %"class.net::span.13", align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = icmp sle i32 %44, 1
  br i1 %45, label %46, label %47

46:                                               ; preds = %2
  store i32 0, ptr %3, align 4
  br label %299

47:                                               ; preds = %2
  %48 = load ptr, ptr %5, align 8, !tbaa !9
  %49 = getelementptr inbounds ptr, ptr %48, i64 1
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = call i32 @strcmp(ptr noundef %50, ptr noundef @.str) #9
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %185

53:                                               ; preds = %47
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 88, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef @.str.2) #10
  %55 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 0
  %56 = load i64, ptr %55, align 8
  %57 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8
  call void @_ZN3net8endpointILNS_10ip_versionE2EEC2ESt17basic_string_viewIcSt11char_traitsIcEEtNS_11socket_typeE(ptr noundef nonnull align 8 dereferenceable(58) %7, i64 %56, ptr %58, i16 noundef zeroext 4433, i8 noundef zeroext 0)
  invoke void @_ZN3net10udp_socketILNS_10ip_versionE2EEC2ERKNS_8endpointILS1_2EEE(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(58) %7)
          to label %59 unwind label %147

59:                                               ; preds = %53
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %7) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #10
  call void @llvm.lifetime.start.p0(i64 1024, ptr %11) #10
  call void @llvm.memset.p0.i64(ptr align 1 %11, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #10
  call void @_ZN3net4spanIcEC2IRSt5arrayIcLm1024EEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 1 dereferenceable(1024) %11) #10
  %60 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8
  %62 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %63 = load i64, ptr %62, align 8
  invoke void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt4pairImNS_8endpointILS1_2EEEENS_4spanIT_EE(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %12, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr %61, i64 %63)
          to label %64 unwind label %151

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EmN3net8endpointILNS0_10ip_versionE2EEEEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS8_(ptr noundef nonnull align 8 dereferenceable(72) %12) #10
  store ptr %65, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %66 = call noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS8_(ptr noundef nonnull align 8 dereferenceable(72) %12) #10
  store ptr %66, ptr %15, align 8, !tbaa !9
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %68 unwind label %155

68:                                               ; preds = %64
  %69 = load ptr, ptr %15, align 8, !tbaa !9
  %70 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3net8endpointILNS_10ip_versionE2EE15get_addr_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(58) %69)
          to label %71 unwind label %155

71:                                               ; preds = %68
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %73 unwind label %155

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef @.str.4)
          to label %75 unwind label %155

75:                                               ; preds = %73
  %76 = load ptr, ptr %15, align 8, !tbaa !9
  %77 = invoke noundef zeroext i16 @_ZNK3net8endpointILNS_10ip_versionE2EE8get_portEv(ptr noundef nonnull align 8 dereferenceable(58) %76)
          to label %78 unwind label %155

78:                                               ; preds = %75
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEt(ptr noundef nonnull align 8 dereferenceable(8) %74, i16 noundef zeroext %77)
          to label %80 unwind label %155

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef @.str.5)
          to label %82 unwind label %155

82:                                               ; preds = %80
  %83 = load ptr, ptr %14, align 8, !tbaa !9
  %84 = load i64, ptr %83, align 8, !tbaa !11
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %81, i64 noundef %84)
          to label %86 unwind label %155

86:                                               ; preds = %82
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %85, i8 noundef signext 10)
          to label %88 unwind label %155

88:                                               ; preds = %86
  %89 = call noundef ptr @_ZNSt5arrayIcLm1024EE4dataEv(ptr noundef nonnull align 1 dereferenceable(1024) %11) #11
  %90 = load ptr, ptr %14, align 8, !tbaa !9
  %91 = load i64, ptr %90, align 8, !tbaa !11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %89, i64 noundef %91) #10
  %92 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 0
  %93 = load i64, ptr %92, align 8
  %94 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St17basic_string_viewIS3_S4_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 %93, ptr %95)
          to label %97 unwind label %155

97:                                               ; preds = %88
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %96, i8 noundef signext 10)
          to label %99 unwind label %155

99:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 80, ptr %17) #10
  call void @_ZN3net4spanIcEC2IRSt5arrayIcLm1024EEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 1 dereferenceable(1024) %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  store i32 4000, ptr %20, align 4, !tbaa !5
  invoke void @_ZNSt6chrono8durationIlSt5ratioILl1ELl1000EEEC2IivEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %100 unwind label %159

100:                                              ; preds = %99
  %101 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8
  %103 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %104 = load i64, ptr %103, align 8
  invoke void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt8optionalISt4pairImNS_8endpointILS1_2EEEEENS_4spanIT_EERKNSt6chrono8durationIlSt5ratioILl1ELl1000EEEE(ptr dead_on_unwind writable sret(%"class.std::optional.2") align 8 %17, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr %102, i64 %104, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %105 unwind label %159

105:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  %106 = call noundef zeroext i1 @_ZNKSt8optionalISt4pairImN3net8endpointILNS1_10ip_versionE2EEEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(80) %17) #10
  br i1 %106, label %107, label %172

107:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %108 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNKRSt8optionalISt4pairImN3net8endpointILNS1_10ip_versionE2EEEEE5valueEv(ptr noundef nonnull align 8 dereferenceable(80) %17)
          to label %109 unwind label %163

109:                                              ; preds = %107
  store ptr %108, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %110 = load ptr, ptr %21, align 8, !tbaa !9
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EmN3net8endpointILNS0_10ip_versionE2EEEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS8_(ptr noundef nonnull align 8 dereferenceable(72) %110) #10
  store ptr %111, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %112 = load ptr, ptr %21, align 8, !tbaa !9
  %113 = call noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS8_(ptr noundef nonnull align 8 dereferenceable(72) %112) #10
  store ptr %113, ptr %23, align 8, !tbaa !9
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %115 unwind label %167

115:                                              ; preds = %109
  %116 = load ptr, ptr %23, align 8, !tbaa !9
  %117 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3net8endpointILNS_10ip_versionE2EE15get_addr_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(58) %116)
          to label %118 unwind label %167

118:                                              ; preds = %115
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(32) %117)
          to label %120 unwind label %167

120:                                              ; preds = %118
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef @.str.4)
          to label %122 unwind label %167

122:                                              ; preds = %120
  %123 = load ptr, ptr %23, align 8, !tbaa !9
  %124 = invoke noundef zeroext i16 @_ZNK3net8endpointILNS_10ip_versionE2EE8get_portEv(ptr noundef nonnull align 8 dereferenceable(58) %123)
          to label %125 unwind label %167

125:                                              ; preds = %122
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEt(ptr noundef nonnull align 8 dereferenceable(8) %121, i16 noundef zeroext %124)
          to label %127 unwind label %167

127:                                              ; preds = %125
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef @.str.5)
          to label %129 unwind label %167

129:                                              ; preds = %127
  %130 = load ptr, ptr %22, align 8, !tbaa !9
  %131 = load i64, ptr %130, align 8, !tbaa !11
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %128, i64 noundef %131)
          to label %133 unwind label %167

133:                                              ; preds = %129
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %132, i8 noundef signext 10)
          to label %135 unwind label %167

135:                                              ; preds = %133
  %136 = call noundef ptr @_ZNSt5arrayIcLm1024EE4dataEv(ptr noundef nonnull align 1 dereferenceable(1024) %11) #11
  %137 = load ptr, ptr %22, align 8, !tbaa !9
  %138 = load i64, ptr %137, align 8, !tbaa !11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef %136, i64 noundef %138) #10
  %139 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 0
  %140 = load i64, ptr %139, align 8
  %141 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 1
  %142 = load ptr, ptr %141, align 8
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St17basic_string_viewIS3_S4_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 %140, ptr %142)
          to label %144 unwind label %167

144:                                              ; preds = %135
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %143, i8 noundef signext 10)
          to label %146 unwind label %167

146:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %179

147:                                              ; preds = %53
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %9, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %10, align 4
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %7) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #10
  br label %184

151:                                              ; preds = %59
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %9, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %10, align 4
  br label %183

155:                                              ; preds = %97, %88, %86, %82, %80, %78, %75, %73, %71, %68, %64
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %9, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %10, align 4
  br label %182

159:                                              ; preds = %100, %99
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %9, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %181

163:                                              ; preds = %107
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %9, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %10, align 4
  br label %171

167:                                              ; preds = %144, %135, %133, %129, %127, %125, %122, %120, %118, %115, %109
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %9, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %171

171:                                              ; preds = %167, %163
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %180

172:                                              ; preds = %105
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %174 unwind label %175

174:                                              ; preds = %172
  br label %179

175:                                              ; preds = %172
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %9, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %10, align 4
  br label %180

179:                                              ; preds = %174, %146
  call void @_ZNSt14_Optional_baseISt4pairImN3net8endpointILNS1_10ip_versionE2EEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %17) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @_ZNSt4pairImN3net8endpointILNS0_10ip_versionE2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr %11) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #10
  br label %299

180:                                              ; preds = %175, %171
  call void @_ZNSt14_Optional_baseISt4pairImN3net8endpointILNS1_10ip_versionE2EEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %17) #10
  br label %181

181:                                              ; preds = %180, %159
  call void @llvm.lifetime.end.p0(i64 80, ptr %17) #10
  br label %182

182:                                              ; preds = %181, %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @_ZNSt4pairImN3net8endpointILNS0_10ip_versionE2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #10
  br label %183

183:                                              ; preds = %182, %151
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr %11) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #10
  br label %184

184:                                              ; preds = %183, %147
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #10
  br label %301

185:                                              ; preds = %47
  %186 = load ptr, ptr %5, align 8, !tbaa !9
  %187 = getelementptr inbounds ptr, ptr %186, i64 1
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = call i32 @strcmp(ptr noundef %188, ptr noundef @.str.7) #9
  %190 = icmp eq i32 %189, 0
  br i1 %190, label %191, label %298

191:                                              ; preds = %185
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
  call void @llvm.lifetime.start.p0(i64 88, ptr %25) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25)
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %193 unwind label %247

193:                                              ; preds = %191
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef @.str.10) #10
  %194 = getelementptr inbounds { i64, ptr }, ptr %29, i32 0, i32 0
  %195 = load i64, ptr %194, align 8
  %196 = getelementptr inbounds { i64, ptr }, ptr %29, i32 0, i32 1
  %197 = load ptr, ptr %196, align 8
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ESt17basic_string_viewIcSt11char_traitsIcEEtNS_11socket_typeE(ptr noundef nonnull align 8 dereferenceable(58) %28, i64 %195, ptr %197, i16 noundef zeroext 4433, i8 noundef zeroext 0)
          to label %198 unwind label %251

198:                                              ; preds = %193
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(58) %30, ptr noundef nonnull align 8 dereferenceable(58) %28)
          to label %199 unwind label %255

199:                                              ; preds = %198
  call void @_ZN3net4spanIcEC2IRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  %200 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8
  %202 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %203 = load i64, ptr %202, align 8
  %204 = invoke noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef %30, ptr %201, i64 %203)
          to label %205 unwind label %259

205:                                              ; preds = %199
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %30) #10
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %207 unwind label %255

207:                                              ; preds = %205
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %209 unwind label %255

209:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  store i32 2000, ptr %33, align 4, !tbaa !5
  invoke void @_ZNSt6chrono8durationIlSt5ratioILl1ELl1000EEEC2IivEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %210 unwind label %263

210:                                              ; preds = %209
  invoke void @_ZNSt11this_thread9sleep_forIlSt5ratioILl1ELl1000EEEEvRKNSt6chrono8durationIT_T0_EE(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %211 unwind label %263

211:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #10
  call void @llvm.lifetime.start.p0(i64 3, ptr %36) #10
  store i8 65, ptr %36, align 1, !tbaa !13
  %212 = getelementptr inbounds i8, ptr %36, i64 1
  store i8 66, ptr %212, align 1, !tbaa !13
  %213 = getelementptr inbounds i8, ptr %36, i64 2
  store i8 67, ptr %213, align 1, !tbaa !13
  %214 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 0
  store ptr %36, ptr %214, align 8, !tbaa !14
  %215 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 1
  store i64 3, ptr %215, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #10
  %216 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %217 = load ptr, ptr %216, align 8
  %218 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %219 = load i64, ptr %218, align 8
  invoke void @_ZNSt6vectorIcSaIcEEC2ESt16initializer_listIcERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr %217, i64 %219, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %220 unwind label %267

220:                                              ; preds = %211
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 3, ptr %36) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  %221 = getelementptr inbounds %"struct.std::array.12", ptr %39, i32 0, i32 0
  store i8 127, ptr %221, align 1, !tbaa !13
  %222 = getelementptr inbounds i8, ptr %221, i64 1
  store i8 0, ptr %222, align 1, !tbaa !13
  %223 = getelementptr inbounds i8, ptr %221, i64 2
  store i8 0, ptr %223, align 1, !tbaa !13
  %224 = getelementptr inbounds i8, ptr %221, i64 3
  store i8 1, ptr %224, align 1, !tbaa !13
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKSt5arrayIhLm4EEt(ptr noundef nonnull align 8 dereferenceable(58) %38, ptr noundef nonnull align 1 dereferenceable(4) %39, i16 noundef zeroext 4433)
          to label %225 unwind label %271

225:                                              ; preds = %220
  call void @_ZN3net4spanIcEC2IRSt6vectorIcSaIcEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(24) %34) #10
  %226 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %227 = load ptr, ptr %226, align 8
  %228 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %229 = load i64, ptr %228, align 8
  %230 = invoke noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef %38, ptr %227, i64 %229)
          to label %231 unwind label %275

231:                                              ; preds = %225
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %38) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #10
  %232 = getelementptr inbounds %"struct.std::array.12", ptr %42, i32 0, i32 0
  store i8 127, ptr %232, align 1, !tbaa !13
  %233 = getelementptr inbounds i8, ptr %232, i64 1
  store i8 0, ptr %233, align 1, !tbaa !13
  %234 = getelementptr inbounds i8, ptr %232, i64 2
  store i8 0, ptr %234, align 1, !tbaa !13
  %235 = getelementptr inbounds i8, ptr %232, i64 3
  store i8 1, ptr %235, align 1, !tbaa !13
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKSt5arrayIhLm4EEt(ptr noundef nonnull align 8 dereferenceable(58) %41, ptr noundef nonnull align 1 dereferenceable(4) %42, i16 noundef zeroext 4433)
          to label %236 unwind label %280

236:                                              ; preds = %231
  call void @_ZN3net4spanIKcEC2ILm7EEERAT__S1_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 1 dereferenceable(7) @.str.12) #10
  %237 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8
  %239 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %240 = load i64, ptr %239, align 8
  %241 = invoke noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIKcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef %41, ptr %238, i64 %240)
          to label %242 unwind label %284

242:                                              ; preds = %236
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %41) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.13)
          to label %244 unwind label %289

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %246 unwind label %289

246:                                              ; preds = %244
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #10
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %28) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #10
  br label %298

247:                                              ; preds = %191
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %9, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #10
  br label %297

251:                                              ; preds = %193
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %9, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %10, align 4
  br label %296

255:                                              ; preds = %207, %205, %198
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %9, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %10, align 4
  br label %295

259:                                              ; preds = %199
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %9, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %10, align 4
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %30) #10
  br label %295

263:                                              ; preds = %210, %209
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %9, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %295

267:                                              ; preds = %211
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %9, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 3, ptr %36) #10
  br label %294

271:                                              ; preds = %220
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %9, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %10, align 4
  br label %279

275:                                              ; preds = %225
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %9, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %10, align 4
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %38) #10
  br label %279

279:                                              ; preds = %275, %271
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  br label %293

280:                                              ; preds = %231
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %9, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %10, align 4
  br label %288

284:                                              ; preds = %236
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %9, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %10, align 4
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %41) #10
  br label %288

288:                                              ; preds = %284, %280
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  br label %293

289:                                              ; preds = %244, %242
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %9, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %10, align 4
  br label %293

293:                                              ; preds = %289, %288, %279
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #10
  br label %294

294:                                              ; preds = %293, %267
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #10
  br label %295

295:                                              ; preds = %294, %263, %259, %255
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %28) #10
  br label %296

296:                                              ; preds = %295, %251
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  br label %297

297:                                              ; preds = %296, %247
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #10
  br label %301

298:                                              ; preds = %246, %185
  br label %299

299:                                              ; preds = %298, %179, %46
  %300 = load i32, ptr %3, align 4
  ret i32 %300

301:                                              ; preds = %297, %184
  %302 = load ptr, ptr %9, align 8
  %303 = load i32, ptr %10, align 4
  %304 = insertvalue { ptr, i32 } poison, ptr %302, 0
  %305 = insertvalue { ptr, i32 } %304, i32 %303, 1
  resume { ptr, i32 } %305
}

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3net8endpointILNS_10ip_versionE2EEC2ESt17basic_string_viewIcSt11char_traitsIcEEtNS_11socket_typeE(ptr noundef nonnull align 8 dereferenceable(58), i64, ptr, i16 noundef zeroext, i8 noundef zeroext) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3net10udp_socketILNS_10ip_versionE2EEC2ERKNS_8endpointILS1_2EEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(58)) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt4pairImNS_8endpointILS1_2EEEENS_4spanIT_EE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr, i64) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIcEC2IRSt5arrayIcLm1024EEEEOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1024)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EmN3net8endpointILNS0_10ip_versionE2EEEEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS8_(ptr noundef nonnull align 8 dereferenceable(72)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS8_(ptr noundef nonnull align 8 dereferenceable(72)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3net8endpointILNS_10ip_versionE2EE15get_addr_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(58)) #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEt(ptr noundef nonnull align 8 dereferenceable(8), i16 noundef zeroext) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZNK3net8endpointILNS_10ip_versionE2EE8get_portEv(ptr noundef nonnull align 8 dereferenceable(58)) #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #5 align 2

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

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIcLm1024EE4dataEv(ptr noundef nonnull align 1 dereferenceable(1024)) #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt8optionalISt4pairImNS_8endpointILS1_2EEEEENS_4spanIT_EERKNSt6chrono8durationIlSt5ratioILl1ELl1000EEEE(ptr dead_on_unwind noalias writable sret(%"class.std::optional.2") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr, i64, ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8optionalISt4pairImN3net8endpointILNS1_10ip_versionE2EEEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(80)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKRSt8optionalISt4pairImN3net8endpointILNS1_10ip_versionE2EEEEE5valueEv(ptr noundef nonnull align 8 dereferenceable(80)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EmN3net8endpointILNS0_10ip_versionE2EEEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS8_(ptr noundef nonnull align 8 dereferenceable(72)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS8_(ptr noundef nonnull align 8 dereferenceable(72)) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, ptr, i64) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIcEC2IRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKSt5arrayIhLm4EEt(ptr noundef nonnull align 8 dereferenceable(58), ptr noundef nonnull align 1 dereferenceable(4), i16 noundef zeroext) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIcEC2IRSt6vectorIcSaIcEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIKcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, ptr, i64) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIKcEC2ILm7EEERAT__S1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(7)) unnamed_addr #4 align 2

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

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

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

attributes #0 = { mustprogress norecurse 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 = { nounwind willreturn memory(read) "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 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { mustprogress nounwind willreturn memory(none) 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 #9 = { nounwind willreturn memory(read) }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(none) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"_ZTSSt16initializer_listIcE", !10, i64 0, !12, i64 8}
!16 = !{!15, !12, i64 8}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.net::udp_socket" = type { %"class.net::detail::base_socket.base", i8, [2 x i8], %"class.std::optional" }
%"class.net::detail::base_socket.base" = type <{ ptr, i32, i8 }>
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base", [7 x i8] }
%"struct.std::_Optional_payload.base" = type { %"struct.std::_Optional_payload_base.base" }
%"struct.std::_Optional_payload_base.base" = type { %"union.std::_Optional_payload_base<net::endpoint<ip_version::v4>>::_Storage", i8 }
%"union.std::_Optional_payload_base<net::endpoint<ip_version::v4>>::_Storage" = type { %"class.net::endpoint" }
%"class.net::endpoint" = type <{ i8, [3 x i8], %struct.sockaddr_in, [4 x i8], %"class.std::__cxx11::basic_string", i16, [6 x i8] }>
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.std::array" = type { [1024 x i8] }
%"struct.std::pair" = type { i64, %"class.net::endpoint" }
%"class.net::span" = type { ptr, i64 }
%"class.std::optional.2" = type { %"struct.std::_Optional_base.3" }
%"struct.std::_Optional_base.3" = type { %"struct.std::_Optional_payload.5" }
%"struct.std::_Optional_payload.5" = type { %"struct.std::_Optional_payload.base.9", [7 x i8] }
%"struct.std::_Optional_payload.base.9" = type { %"struct.std::_Optional_payload_base.base.8" }
%"struct.std::_Optional_payload_base.base.8" = type <{ %"union.std::_Optional_payload_base<std::pair<unsigned long, net::endpoint<ip_version::v4>>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::pair<unsigned long, net::endpoint<ip_version::v4>>>::_Storage" = type { %"struct.std::pair" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::allocator" = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::array.12" = type { [4 x i8] }
%"class.net::span.13" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.net::udp_socket", align 8
  %4 = alloca %"class.net::endpoint", align 8
  %5 = alloca %"class.std::basic_string_view", align 8
  %6 = alloca %"struct.std::array", align 1
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca %"class.net::span", align 8
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca %"class.std::optional.2", align 8
  %11 = alloca %"class.net::span", align 8
  %12 = alloca %"class.std::chrono::duration", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca %"class.net::udp_socket", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.net::endpoint", align 8
  %19 = alloca %"class.std::basic_string_view", align 8
  %20 = alloca %"class.net::endpoint", align 8
  %21 = alloca %"class.net::span", align 8
  %22 = alloca %"class.std::chrono::duration", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca [3 x i8], align 1
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca %"class.net::endpoint", align 8
  %28 = alloca %"struct.std::array.12", align 4
  %29 = alloca %"class.net::span", align 8
  %30 = alloca %"class.net::endpoint", align 8
  %31 = alloca %"struct.std::array.12", align 4
  %32 = alloca %"class.net::span.13", align 8
  %33 = icmp slt i32 %0, 2
  br i1 %33, label %206, label %34

34:                                               ; preds = %2
  %35 = getelementptr inbounds i8, ptr %1, i64 8
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %36, ptr noundef nonnull dereferenceable(1) @.str) #9
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %137

39:                                               ; preds = %34
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @.str.2) #10
  %41 = load i64, ptr %5, align 8
  %42 = getelementptr inbounds i8, ptr %5, i64 8
  %43 = load ptr, ptr %42, align 8
  call void @_ZN3net8endpointILNS_10ip_versionE2EEC2ESt17basic_string_viewIcSt11char_traitsIcEEtNS_11socket_typeE(ptr noundef nonnull align 8 dereferenceable(58) %4, i64 %41, ptr %43, i16 noundef zeroext 4433, i8 noundef zeroext 0)
  invoke void @_ZN3net10udp_socketILNS_10ip_versionE2EEC2ERKNS_8endpointILS1_2EEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 8 dereferenceable(58) %4)
          to label %44 unwind label %115

44:                                               ; preds = %39
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %4) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #10
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %6, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %7) #10
  call void @_ZN3net4spanIcEC2IRSt5arrayIcLm1024EEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 1 dereferenceable(1024) %6) #10
  %45 = load ptr, ptr %8, align 8
  %46 = getelementptr inbounds i8, ptr %8, i64 8
  %47 = load i64, ptr %46, align 8
  invoke void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt4pairImNS_8endpointILS1_2EEEENS_4spanIT_EE(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %7, ptr noundef nonnull align 8 dereferenceable(88) %3, ptr %45, i64 %47)
          to label %48 unwind label %117

48:                                               ; preds = %44
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EmN3net8endpointILNS0_10ip_versionE2EEEEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS8_(ptr noundef nonnull align 8 dereferenceable(72) %7) #10
  %50 = call noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS8_(ptr noundef nonnull align 8 dereferenceable(72) %7) #10
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %52 unwind label %119

52:                                               ; preds = %48
  %53 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3net8endpointILNS_10ip_versionE2EE15get_addr_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(58) %50)
          to label %54 unwind label %119

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %56 unwind label %119

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull @.str.4)
          to label %58 unwind label %119

58:                                               ; preds = %56
  %59 = invoke noundef zeroext i16 @_ZNK3net8endpointILNS_10ip_versionE2EE8get_portEv(ptr noundef nonnull align 8 dereferenceable(58) %50)
          to label %60 unwind label %119

60:                                               ; preds = %58
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEt(ptr noundef nonnull align 8 dereferenceable(8) %57, i16 noundef zeroext %59)
          to label %62 unwind label %119

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull @.str.5)
          to label %64 unwind label %119

64:                                               ; preds = %62
  %65 = load i64, ptr %49, align 8, !tbaa !9
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %63, i64 noundef %65)
          to label %67 unwind label %119

67:                                               ; preds = %64
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %66, i8 noundef signext 10)
          to label %69 unwind label %119

69:                                               ; preds = %67
  %70 = call noundef ptr @_ZNSt5arrayIcLm1024EE4dataEv(ptr noundef nonnull align 1 dereferenceable(1024) %6) #11
  %71 = load i64, ptr %49, align 8, !tbaa !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %70, i64 noundef %71) #10
  %72 = load i64, ptr %9, align 8
  %73 = getelementptr inbounds i8, ptr %9, i64 8
  %74 = load ptr, ptr %73, align 8
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St17basic_string_viewIS3_S4_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 %72, ptr %74)
          to label %76 unwind label %119

76:                                               ; preds = %69
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %75, i8 noundef signext 10)
          to label %78 unwind label %119

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #10
  call void @_ZN3net4spanIcEC2IRSt5arrayIcLm1024EEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 1 dereferenceable(1024) %6) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #10
  store i32 4000, ptr %13, align 4, !tbaa !11
  call void @_ZNSt6chrono8durationIlSt5ratioILl1ELl1000EEEC2IivEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %79 = load ptr, ptr %11, align 8
  %80 = getelementptr inbounds i8, ptr %11, i64 8
  %81 = load i64, ptr %80, align 8
  invoke void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt8optionalISt4pairImNS_8endpointILS1_2EEEEENS_4spanIT_EERKNSt6chrono8durationIlSt5ratioILl1ELl1000EEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::optional.2") align 8 %10, ptr noundef nonnull align 8 dereferenceable(88) %3, ptr %79, i64 %81, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %82 unwind label %121

82:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  %83 = call noundef zeroext i1 @_ZNKSt8optionalISt4pairImN3net8endpointILNS1_10ip_versionE2EEEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(80) %10) #10
  br i1 %83, label %84, label %127

84:                                               ; preds = %82
  %85 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNKRSt8optionalISt4pairImN3net8endpointILNS1_10ip_versionE2EEEEE5valueEv(ptr noundef nonnull align 8 dereferenceable(80) %10)
          to label %86 unwind label %123

86:                                               ; preds = %84
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EmN3net8endpointILNS0_10ip_versionE2EEEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS8_(ptr noundef nonnull align 8 dereferenceable(72) %85) #10
  %88 = call noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS8_(ptr noundef nonnull align 8 dereferenceable(72) %85) #10
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %90 unwind label %125

90:                                               ; preds = %86
  %91 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3net8endpointILNS_10ip_versionE2EE15get_addr_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(58) %88)
          to label %92 unwind label %125

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull align 8 dereferenceable(32) %91)
          to label %94 unwind label %125

94:                                               ; preds = %92
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull @.str.4)
          to label %96 unwind label %125

96:                                               ; preds = %94
  %97 = invoke noundef zeroext i16 @_ZNK3net8endpointILNS_10ip_versionE2EE8get_portEv(ptr noundef nonnull align 8 dereferenceable(58) %88)
          to label %98 unwind label %125

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEt(ptr noundef nonnull align 8 dereferenceable(8) %95, i16 noundef zeroext %97)
          to label %100 unwind label %125

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull @.str.5)
          to label %102 unwind label %125

102:                                              ; preds = %100
  %103 = load i64, ptr %87, align 8, !tbaa !9
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %101, i64 noundef %103)
          to label %105 unwind label %125

105:                                              ; preds = %102
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %104, i8 noundef signext 10)
          to label %107 unwind label %125

107:                                              ; preds = %105
  %108 = load i64, ptr %87, align 8, !tbaa !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %70, i64 noundef %108) #10
  %109 = load i64, ptr %14, align 8
  %110 = getelementptr inbounds i8, ptr %14, i64 8
  %111 = load ptr, ptr %110, align 8
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St17basic_string_viewIS3_S4_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 %109, ptr %111)
          to label %113 unwind label %125

113:                                              ; preds = %107
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %112, i8 noundef signext 10)
          to label %131 unwind label %125

115:                                              ; preds = %39
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %4) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #10
  br label %136

117:                                              ; preds = %44
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %135

119:                                              ; preds = %76, %69, %67, %64, %62, %60, %58, %56, %54, %52, %48
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %134

121:                                              ; preds = %78
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %133

123:                                              ; preds = %84
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %132

125:                                              ; preds = %113, %107, %105, %102, %100, %98, %96, %94, %92, %90, %86
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %132

127:                                              ; preds = %82
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
          to label %131 unwind label %129

129:                                              ; preds = %127
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %132

131:                                              ; preds = %113, %127
  call void @_ZNSt14_Optional_baseISt4pairImN3net8endpointILNS1_10ip_versionE2EEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %10) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #10
  call void @_ZNSt4pairImN3net8endpointILNS0_10ip_versionE2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %7) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #10
  br label %206

132:                                              ; preds = %123, %125, %129
  %.pn39.pn = phi { ptr, i32 } [ %130, %129 ], [ %126, %125 ], [ %124, %123 ]
  call void @_ZNSt14_Optional_baseISt4pairImN3net8endpointILNS1_10ip_versionE2EEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %10) #10
  br label %133

133:                                              ; preds = %132, %121
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %132 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #10
  br label %134

134:                                              ; preds = %133, %119
  %.pn39.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn, %133 ], [ %120, %119 ]
  call void @_ZNSt4pairImN3net8endpointILNS0_10ip_versionE2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %7) #10
  br label %135

135:                                              ; preds = %134, %117
  %.pn39.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn.pn, %134 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #10
  br label %136

136:                                              ; preds = %135, %115
  %.pn39.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn.pn.pn, %135 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #10
  br label %207

137:                                              ; preds = %34
  %138 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %36, ptr noundef nonnull dereferenceable(1) @.str.7) #9
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %206

140:                                              ; preds = %137
  %141 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %15) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %15)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %142 unwind label %177

142:                                              ; preds = %140
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str.10) #10
  %143 = load i64, ptr %19, align 8
  %144 = getelementptr inbounds i8, ptr %19, i64 8
  %145 = load ptr, ptr %144, align 8
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ESt17basic_string_viewIcSt11char_traitsIcEEtNS_11socket_typeE(ptr noundef nonnull align 8 dereferenceable(58) %18, i64 %143, ptr %145, i16 noundef zeroext 4433, i8 noundef zeroext 0)
          to label %146 unwind label %179

146:                                              ; preds = %142
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(58) %20, ptr noundef nonnull align 8 dereferenceable(58) %18)
          to label %147 unwind label %181

147:                                              ; preds = %146
  call void @_ZN3net4spanIcEC2IRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  %148 = load ptr, ptr %21, align 8
  %149 = getelementptr inbounds i8, ptr %21, i64 8
  %150 = load i64, ptr %149, align 8
  %151 = invoke noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88) %15, ptr noundef nonnull %20, ptr %148, i64 %150)
          to label %152 unwind label %183

152:                                              ; preds = %147
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %20) #10
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.11)
          to label %154 unwind label %181

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %156 unwind label %181

156:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #10
  store i32 2000, ptr %23, align 4, !tbaa !11
  call void @_ZNSt6chrono8durationIlSt5ratioILl1ELl1000EEEC2IivEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
  invoke void @_ZNSt11this_thread9sleep_forIlSt5ratioILl1ELl1000EEEEvRKNSt6chrono8durationIT_T0_EE(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %157 unwind label %185

157:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %25) #10
  store i8 65, ptr %25, align 1, !tbaa !13
  %158 = getelementptr inbounds i8, ptr %25, i64 1
  store i8 66, ptr %158, align 1, !tbaa !13
  %159 = getelementptr inbounds i8, ptr %25, i64 2
  store i8 67, ptr %159, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  invoke void @_ZNSt6vectorIcSaIcEEC2ESt16initializer_listIcERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr nonnull %25, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %160 unwind label %187

160:                                              ; preds = %157
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %25) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #10
  store <4 x i8> <i8 127, i8 0, i8 0, i8 1>, ptr %28, align 4, !tbaa !13
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKSt5arrayIhLm4EEt(ptr noundef nonnull align 8 dereferenceable(58) %27, ptr noundef nonnull align 1 dereferenceable(4) %28, i16 noundef zeroext 4433)
          to label %161 unwind label %189

161:                                              ; preds = %160
  call void @_ZN3net4spanIcEC2IRSt6vectorIcSaIcEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  %162 = load ptr, ptr %29, align 8
  %163 = getelementptr inbounds i8, ptr %29, i64 8
  %164 = load i64, ptr %163, align 8
  %165 = invoke noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88) %15, ptr noundef nonnull %27, ptr %162, i64 %164)
          to label %166 unwind label %191

166:                                              ; preds = %161
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #10
  store <4 x i8> <i8 127, i8 0, i8 0, i8 1>, ptr %31, align 4, !tbaa !13
  invoke void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKSt5arrayIhLm4EEt(ptr noundef nonnull align 8 dereferenceable(58) %30, ptr noundef nonnull align 1 dereferenceable(4) %31, i16 noundef zeroext 4433)
          to label %167 unwind label %194

167:                                              ; preds = %166
  call void @_ZN3net4spanIKcEC2ILm7EEERAT__S1_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 1 dereferenceable(7) @.str.12) #10
  %168 = load ptr, ptr %32, align 8
  %169 = getelementptr inbounds i8, ptr %32, i64 8
  %170 = load i64, ptr %169, align 8
  %171 = invoke noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIKcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88) %15, ptr noundef nonnull %30, ptr %168, i64 %170)
          to label %172 unwind label %196

172:                                              ; preds = %167
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #10
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.13)
          to label %174 unwind label %199

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %176 unwind label %199

176:                                              ; preds = %174
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #10
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %18) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %15) #10
  br label %206

177:                                              ; preds = %140
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #10
  br label %205

179:                                              ; preds = %142
  %180 = landingpad { ptr, i32 }
          cleanup
  br label %204

181:                                              ; preds = %154, %152, %146
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %203

183:                                              ; preds = %147
  %184 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %20) #10
  br label %203

185:                                              ; preds = %156
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #10
  br label %203

187:                                              ; preds = %157
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %25) #10
  br label %202

189:                                              ; preds = %160
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %193

191:                                              ; preds = %161
  %192 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %27) #10
  br label %193

193:                                              ; preds = %191, %189
  %.pn = phi { ptr, i32 } [ %192, %191 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #10
  br label %201

194:                                              ; preds = %166
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %198

196:                                              ; preds = %167
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %30) #10
  br label %198

198:                                              ; preds = %196, %194
  %.pn31 = phi { ptr, i32 } [ %197, %196 ], [ %195, %194 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #10
  br label %201

199:                                              ; preds = %174, %172
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %201

201:                                              ; preds = %199, %198, %193
  %.pn33 = phi { ptr, i32 } [ %200, %199 ], [ %.pn31, %198 ], [ %.pn, %193 ]
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  br label %202

202:                                              ; preds = %201, %187
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %201 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #10
  br label %203

203:                                              ; preds = %202, %185, %183, %181
  %.pn33.pn.pn = phi { ptr, i32 } [ %.pn33.pn, %202 ], [ %186, %185 ], [ %182, %181 ], [ %184, %183 ]
  call void @_ZN3net8endpointILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(58) %18) #10
  br label %204

204:                                              ; preds = %203, %179
  %.pn33.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn, %203 ], [ %180, %179 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br label %205

205:                                              ; preds = %204, %177
  %.pn33.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn.pn, %204 ], [ %178, %177 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  call void @_ZN3net10udp_socketILNS_10ip_versionE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %15) #10
  br label %207

206:                                              ; preds = %2, %137, %176, %131
  ret i32 0

207:                                              ; preds = %205, %136
  %.pn39.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn.pn.pn.pn, %136 ], [ %.pn33.pn.pn.pn.pn, %205 ]
  resume { ptr, i32 } %.pn39.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3net8endpointILNS_10ip_versionE2EEC2ESt17basic_string_viewIcSt11char_traitsIcEEtNS_11socket_typeE(ptr noundef nonnull align 8 dereferenceable(58), i64, ptr, i16 noundef zeroext, i8 noundef zeroext) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3net10udp_socketILNS_10ip_versionE2EEC2ERKNS_8endpointILS1_2EEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(58)) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt4pairImNS_8endpointILS1_2EEEENS_4spanIT_EE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr, i64) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIcEC2IRSt5arrayIcLm1024EEEEOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1024)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS8_(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3net8endpointILNS_10ip_versionE2EE15get_addr_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(58)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEt(ptr noundef nonnull align 8 dereferenceable(8), i16 noundef zeroext) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZNK3net8endpointILNS_10ip_versionE2EE8get_portEv(ptr noundef nonnull align 8 dereferenceable(58)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIcLm1024EE4dataEv(ptr noundef nonnull align 1 dereferenceable(1024)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3net10udp_socketILNS_10ip_versionE2EE4readIcEESt8optionalISt4pairImNS_8endpointILS1_2EEEEENS_4spanIT_EERKNSt6chrono8durationIlSt5ratioILl1ELl1000EEEE(ptr dead_on_unwind noalias writable sret(%"class.std::optional.2") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr, i64, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKRSt8optionalISt4pairImN3net8endpointILNS1_10ip_versionE2EEEEE5valueEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(58) ptr @_ZSt3getILm1EmN3net8endpointILNS0_10ip_versionE2EEEERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS8_(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, ptr, i64) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIcEC2IRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3net8endpointILNS_10ip_versionE2EEC2ERKSt5arrayIhLm4EEt(ptr noundef nonnull align 8 dereferenceable(58), ptr noundef nonnull align 1 dereferenceable(4), i16 noundef zeroext) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIcEC2IRSt6vectorIcSaIcEEEEOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3net10udp_socketILNS_10ip_versionE2EE4sendIKcEEmNS_8endpointILS1_2EEENS_4spanIT_EE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, ptr, i64) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3net4spanIKcEC2ILm7EEERAT__S1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(7)) unnamed_addr #4 align 2

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

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

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

attributes #0 = { mustprogress norecurse 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 nofree nounwind willreturn memory(argmem: read) "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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { mustprogress nofree nosync nounwind willreturn memory(none) 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 #9 = { nounwind willreturn memory(read) }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(none) }

!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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass