; LLVM IR from ICOMP-UNC/cppSocketLib :: src (cppSocket)

; 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"

%struct.in6_addr = type { %union.anon.3 }
%union.anon.3 = type { [4 x i32] }
%struct.addrinfo = type { i32, i32, i32, i32, i32, ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%class.UDPConnection = type { %class.IConnection, i8, i8, %struct.sockaddr_in6, %struct.sockaddr_in, %"class.std::unique_ptr" }
%class.IConnection = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, 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] }
%struct.sockaddr_in6 = type { i16, i16, i32, %struct.in6_addr, i32 }
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }

@.str = external hidden unnamed_addr constant [22 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@in6addr_any = external global %struct.in6_addr, align 4
@_ZTV13UDPConnection = external dso_local unnamed_addr constant { [12 x ptr] }, align 8
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11IConnectionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_b(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext) #6

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

declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13UDPConnectionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_bb(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i1 noundef zeroext %3, i1 noundef zeroext %4) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.addrinfo, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::unique_ptr", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  %18 = zext i1 %3 to i8
  store i8 %18, ptr %9, align 1, !tbaa !9
  %19 = zext i1 %4 to i8
  store i8 %19, ptr %10, align 1, !tbaa !9
  %20 = load ptr, ptr %6, align 8
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %24 = trunc i8 %23 to i1
  call void @_ZN11IConnectionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_b(ptr noundef nonnull align 8 dereferenceable(80) %20, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %22, i1 noundef zeroext %24)
  store ptr getelementptr inbounds inrange(-16, 80) ({ [12 x ptr] }, ptr @_ZTV13UDPConnection, i32 0, i32 0, i32 2), ptr %20, align 8, !tbaa !13
  %25 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 3
  %26 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 4
  %27 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 5
  call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %28 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %29 = trunc i8 %28 to i1
  %30 = zext i1 %29 to i64
  %31 = select i1 %29, i32 10, i32 2
  %32 = call i32 @socket(i32 noundef %31, i32 noundef 2, i32 noundef 17) #8
  %33 = getelementptr inbounds %class.IConnection, ptr %20, i32 0, i32 4
  store i32 %32, ptr %33, align 4, !tbaa !15
  %34 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %35 = trunc i8 %34 to i1
  %36 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 1
  %37 = zext i1 %35 to i8
  store i8 %37, ptr %36, align 8, !tbaa !21
  %38 = getelementptr inbounds %class.IConnection, ptr %20, i32 0, i32 4
  %39 = load i32, ptr %38, align 4, !tbaa !15
  %40 = icmp slt i32 %39, 0
  br i1 %40, label %41, label %52

41:                                               ; preds = %5
  %42 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef @.str)
          to label %43 unwind label %44

43:                                               ; preds = %41
  invoke void @__cxa_throw(ptr %42, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %154 unwind label %48

44:                                               ; preds = %41
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %11, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %12, align 4
  call void @__cxa_free_exception(ptr %42) #8
  br label %148

48:                                               ; preds = %99, %87, %77, %43
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %11, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %12, align 4
  br label %148

52:                                               ; preds = %5
  %53 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %54 = trunc i8 %53 to i1
  br i1 %54, label %70, label %55

55:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %56 = getelementptr inbounds %class.IConnection, ptr %20, i32 0, i32 4
  %57 = load i32, ptr %56, align 4, !tbaa !15
  %58 = invoke i32 (i32, i32, ...) @fcntl(i32 noundef %57, i32 noundef 3, i32 noundef 0)
          to label %59 unwind label %66

59:                                               ; preds = %55
  store i32 %58, ptr %13, align 4, !tbaa !34
  %60 = getelementptr inbounds %class.IConnection, ptr %20, i32 0, i32 4
  %61 = load i32, ptr %60, align 4, !tbaa !15
  %62 = load i32, ptr %13, align 4, !tbaa !34
  %63 = or i32 %62, 2048
  %64 = invoke i32 (i32, i32, ...) @fcntl(i32 noundef %61, i32 noundef 4, i32 noundef %63)
          to label %65 unwind label %66

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

66:                                               ; preds = %59, %55
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %11, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %148

70:                                               ; preds = %65, %52
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %71) #8
  br i1 %72, label %73, label %99

73:                                               ; preds = %70
  %74 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 2
  store i8 1, ptr %74, align 1, !tbaa !35
  %75 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %76 = trunc i8 %75 to i1
  br i1 %76, label %77, label %87

77:                                               ; preds = %73
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 1 %78, i8 0, i64 32, i1 false)
  %79 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 3
  %80 = getelementptr inbounds %struct.sockaddr_in6, ptr %79, i32 0, i32 0
  store i16 10, ptr %80, align 4, !tbaa !36
  %81 = invoke noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext 0)
          to label %82 unwind label %48

82:                                               ; preds = %77
  %83 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 3
  %84 = getelementptr inbounds %struct.sockaddr_in6, ptr %83, i32 0, i32 1
  store i16 %81, ptr %84, align 2, !tbaa !37
  %85 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 3
  %86 = getelementptr inbounds %struct.sockaddr_in6, ptr %85, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 4 @in6addr_any, i64 16, i1 false), !tbaa.struct !38
  br label %98

87:                                               ; preds = %73
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 1 %88, i8 0, i64 32, i1 false)
  %89 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 4
  %90 = getelementptr inbounds %struct.sockaddr_in, ptr %89, i32 0, i32 0
  store i16 2, ptr %90, align 8, !tbaa !40
  %91 = invoke noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext 0)
          to label %92 unwind label %48

92:                                               ; preds = %87
  %93 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 4
  %94 = getelementptr inbounds %struct.sockaddr_in, ptr %93, i32 0, i32 1
  store i16 %91, ptr %94, align 2, !tbaa !41
  %95 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 4
  %96 = getelementptr inbounds %struct.sockaddr_in, ptr %95, i32 0, i32 2
  %97 = getelementptr inbounds %struct.in_addr, ptr %96, i32 0, i32 0
  store i32 0, ptr %97, align 4, !tbaa !42
  br label %98

98:                                               ; preds = %92, %82
  br label %99

99:                                               ; preds = %98, %70
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %class.IConnection, ptr %20, i32 0, i32 2
  %102 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %101, ptr noundef nonnull align 8 dereferenceable(32) %100)
          to label %103 unwind label %48

103:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #8
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 48, i1 false)
  %104 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %108

106:                                              ; preds = %103
  %107 = getelementptr inbounds %struct.addrinfo, ptr %14, i32 0, i32 1
  store i32 10, ptr %107, align 4, !tbaa !43
  br label %110

108:                                              ; preds = %103
  %109 = getelementptr inbounds %struct.addrinfo, ptr %14, i32 0, i32 1
  store i32 2, ptr %109, align 4, !tbaa !43
  br label %110

110:                                              ; preds = %108, %106
  %111 = getelementptr inbounds %struct.addrinfo, ptr %14, i32 0, i32 2
  store i32 2, ptr %111, align 8, !tbaa !45
  %112 = getelementptr inbounds %struct.addrinfo, ptr %14, i32 0, i32 3
  store i32 0, ptr %112, align 4, !tbaa !46
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %113) #8
  br i1 %114, label %115, label %117

115:                                              ; preds = %110
  %116 = getelementptr inbounds %struct.addrinfo, ptr %14, i32 0, i32 0
  store i32 1, ptr %116, align 8, !tbaa !47
  br label %117

117:                                              ; preds = %115, %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %118) #8
  br i1 %119, label %120, label %121

120:                                              ; preds = %117
  br label %124

121:                                              ; preds = %117
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %122) #8
  br label %124

124:                                              ; preds = %121, %120
  %125 = phi ptr [ null, %120 ], [ %123, %121 ]
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %126) #8
  %128 = invoke i32 @getaddrinfo(ptr noundef %125, ptr noundef %127, ptr noundef %14, ptr noundef %15)
          to label %129 unwind label %135

129:                                              ; preds = %124
  store i32 %128, ptr %16, align 4, !tbaa !34
  %130 = load i32, ptr %16, align 4, !tbaa !34
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %143

132:                                              ; preds = %129
  %133 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef @.str.12)
          to label %134 unwind label %139

134:                                              ; preds = %132
  invoke void @__cxa_throw(ptr %133, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %154 unwind label %135

135:                                              ; preds = %134, %124
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %11, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %12, align 4
  br label %147

139:                                              ; preds = %132
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %11, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %12, align 4
  call void @__cxa_free_exception(ptr %133) #8
  br label %147

143:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %144) #8
  %145 = getelementptr inbounds %class.UDPConnection, ptr %20, i32 0, i32 5
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  ret void

147:                                              ; preds = %139, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  br label %148

148:                                              ; preds = %147, %66, %48, %44
  call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @_ZN11IConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %20) #8
  br label %149

149:                                              ; preds = %148
  %150 = load ptr, ptr %11, align 8
  %151 = load i32, ptr %12, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153

154:                                              ; preds = %134, %43
  unreachable
}

declare i32 @fcntl(i32 noundef, i32 noundef, ...) #3

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !20, i64 76}
!16 = !{!"_ZTS11IConnection", !17, i64 8, !17, i64 40, !10, i64 72, !20, i64 76}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!22, !10, i64 80}
!22 = !{!"_ZTS13UDPConnection", !16, i64 0, !10, i64 80, !10, i64 81, !23, i64 84, !26, i64 112, !28, i64 128}
!23 = !{!"_ZTS12sockaddr_in6", !24, i64 0, !24, i64 2, !20, i64 4, !25, i64 8, !20, i64 24}
!24 = !{!"short", !7, i64 0}
!25 = !{!"_ZTS8in6_addr", !7, i64 0}
!26 = !{!"_ZTS11sockaddr_in", !24, i64 0, !24, i64 2, !27, i64 4, !7, i64 8}
!27 = !{!"_ZTS7in_addr", !20, i64 0}
!28 = !{!"_ZTSSt10unique_ptrI8addrinfoSt14default_deleteIS0_EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_dataI8addrinfoSt14default_deleteIS0_ELb1ELb1EE", !30, i64 0}
!30 = !{!"_ZTSSt15__uniq_ptr_implI8addrinfoSt14default_deleteIS0_EE", !31, i64 0}
!31 = !{!"_ZTSSt5tupleIJP8addrinfoSt14default_deleteIS0_EEE", !32, i64 0}
!32 = !{!"_ZTSSt11_Tuple_implILm0EJP8addrinfoSt14default_deleteIS0_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_Head_baseILm0EP8addrinfoLb0EE", !6, i64 0}
!34 = !{!20, !20, i64 0}
!35 = !{!22, !10, i64 81}
!36 = !{!22, !24, i64 84}
!37 = !{!22, !24, i64 86}
!38 = !{i64 0, i64 16, !39}
!39 = !{!7, !7, i64 0}
!40 = !{!22, !24, i64 112}
!41 = !{!22, !24, i64 114}
!42 = !{!22, !20, i64 116}
!43 = !{!44, !20, i64 4}
!44 = !{!"_ZTS8addrinfo", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !20, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!45 = !{!44, !20, i64 8}
!46 = !{!44, !20, i64 12}
!47 = !{!44, !20, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.in6_addr = type { %union.anon.3 }
%union.anon.3 = type { [4 x i32] }
%struct.addrinfo = type { i32, i32, i32, i32, i32, ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

@.str = external hidden unnamed_addr constant [22 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@in6addr_any = external local_unnamed_addr global %struct.in6_addr, align 4
@_ZTV13UDPConnection = external dso_local unnamed_addr constant { [12 x ptr] }, align 8
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11IConnectionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_b(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext) local_unnamed_addr #6

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13UDPConnectionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_bb(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i1 noundef zeroext %3, i1 noundef zeroext %4) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %struct.addrinfo, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::unique_ptr", align 8
  %9 = zext i1 %4 to i8
  tail call void @_ZN11IConnectionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_b(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i1 noundef zeroext %3)
  store ptr getelementptr inbounds inrange(-16, 80) (i8, ptr @_ZTV13UDPConnection, i64 16), ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %11 = select i1 %4, i32 10, i32 2
  %12 = tail call i32 @socket(i32 noundef %11, i32 noundef 2, i32 noundef 17) #8
  %13 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 %12, ptr %13, align 4, !tbaa !8
  %14 = getelementptr inbounds i8, ptr %0, i64 80
  store i8 %9, ptr %14, align 8, !tbaa !17
  %15 = icmp slt i32 %12, 0
  br i1 %15, label %16, label %23

16:                                               ; preds = %5
  %17 = tail call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull @.str)
          to label %18 unwind label %19

18:                                               ; preds = %16
  invoke void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %75 unwind label %21

19:                                               ; preds = %16
  %20 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %17) #8
  br label %74

21:                                               ; preds = %46, %18
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %74

23:                                               ; preds = %5
  br i1 %3, label %32, label %24

24:                                               ; preds = %23
  %25 = invoke i32 (i32, i32, ...) @fcntl(i32 noundef %12, i32 noundef 3, i32 noundef 0)
          to label %26 unwind label %30

26:                                               ; preds = %24
  %27 = load i32, ptr %13, align 4, !tbaa !8
  %28 = or i32 %25, 2048
  %29 = invoke i32 (i32, i32, ...) @fcntl(i32 noundef %27, i32 noundef 4, i32 noundef %28)
          to label %32 unwind label %30

30:                                               ; preds = %26, %24
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %74

32:                                               ; preds = %26, %23
  %33 = tail call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  br i1 %33, label %34, label %46

34:                                               ; preds = %32
  %35 = getelementptr inbounds i8, ptr %0, i64 81
  store i8 1, ptr %35, align 1, !tbaa !30
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 0, i64 32, i1 false)
  br i1 %4, label %36, label %41

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %0, i64 84
  store i16 10, ptr %37, align 4, !tbaa !31
  %38 = tail call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext 0)
  %39 = getelementptr inbounds i8, ptr %0, i64 86
  store i16 %38, ptr %39, align 2, !tbaa !32
  %40 = getelementptr inbounds i8, ptr %0, i64 92
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %40, ptr noundef nonnull align 4 dereferenceable(16) @in6addr_any, i64 16, i1 false), !tbaa.struct !33
  br label %46

41:                                               ; preds = %34
  %42 = getelementptr inbounds i8, ptr %0, i64 112
  store i16 2, ptr %42, align 8, !tbaa !35
  %43 = tail call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext 0)
  %44 = getelementptr inbounds i8, ptr %0, i64 114
  store i16 %43, ptr %44, align 2, !tbaa !36
  %45 = getelementptr inbounds i8, ptr %0, i64 116
  store i32 0, ptr %45, align 4, !tbaa !37
  br label %46

46:                                               ; preds = %36, %41, %32
  %47 = getelementptr inbounds i8, ptr %0, i64 40
  %48 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %49 unwind label %21

49:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %6, i8 0, i64 48, i1 false)
  %spec.select = select i1 %4, i32 10, i32 2
  %50 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %spec.select, ptr %50, align 4
  %51 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 2, ptr %51, align 8, !tbaa !38
  %52 = tail call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  br i1 %52, label %53, label %54

53:                                               ; preds = %49
  store i32 1, ptr %6, align 8, !tbaa !40
  br label %54

54:                                               ; preds = %53, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  store ptr null, ptr %7, align 8, !tbaa !41
  %55 = tail call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  br i1 %55, label %58, label %56

56:                                               ; preds = %54
  %57 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  br label %58

58:                                               ; preds = %54, %56
  %59 = phi ptr [ %57, %56 ], [ null, %54 ]
  %60 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  %61 = invoke i32 @getaddrinfo(ptr noundef %59, ptr noundef %60, ptr noundef nonnull %6, ptr noundef nonnull %7)
          to label %62 unwind label %66

62:                                               ; preds = %58
  %.not = icmp eq i32 %61, 0
  br i1 %.not, label %70, label %63

63:                                               ; preds = %62
  %64 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull @.str.12)
          to label %65 unwind label %68

65:                                               ; preds = %63
  invoke void @__cxa_throw(ptr nonnull %64, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %75 unwind label %66

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

68:                                               ; preds = %63
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %64) #8
  br label %73

70:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %71 = load ptr, ptr %7, align 8, !tbaa !41
  call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef %71) #8
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  ret void

73:                                               ; preds = %68, %66
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  br label %74

74:                                               ; preds = %73, %30, %21, %19
  %.pn24 = phi { ptr, i32 } [ %22, %21 ], [ %20, %19 ], [ %.pn, %73 ], [ %31, %30 ]
  call void @_ZNSt10unique_ptrI8addrinfoSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  call void @_ZN11IConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %0) #8
  resume { ptr, i32 } %.pn24

75:                                               ; preds = %65, %18
  unreachable
}

declare i32 @fcntl(i32 noundef, i32 noundef, ...) local_unnamed_addr #3

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !16, i64 76}
!9 = !{!"_ZTS11IConnection", !10, i64 8, !10, i64 40, !15, i64 72, !16, i64 76}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !14, i64 8, !13, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"long", !13, i64 0}
!15 = !{!"bool", !13, i64 0}
!16 = !{!"int", !13, i64 0}
!17 = !{!18, !15, i64 80}
!18 = !{!"_ZTS13UDPConnection", !9, i64 0, !15, i64 80, !15, i64 81, !19, i64 84, !22, i64 112, !24, i64 128}
!19 = !{!"_ZTS12sockaddr_in6", !20, i64 0, !20, i64 2, !16, i64 4, !21, i64 8, !16, i64 24}
!20 = !{!"short", !13, i64 0}
!21 = !{!"_ZTS8in6_addr", !13, i64 0}
!22 = !{!"_ZTS11sockaddr_in", !20, i64 0, !20, i64 2, !23, i64 4, !13, i64 8}
!23 = !{!"_ZTS7in_addr", !16, i64 0}
!24 = !{!"_ZTSSt10unique_ptrI8addrinfoSt14default_deleteIS0_EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataI8addrinfoSt14default_deleteIS0_ELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implI8addrinfoSt14default_deleteIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJP8addrinfoSt14default_deleteIS0_EEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJP8addrinfoSt14default_deleteIS0_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EP8addrinfoLb0EE", !12, i64 0}
!30 = !{!18, !15, i64 81}
!31 = !{!18, !20, i64 84}
!32 = !{!18, !20, i64 86}
!33 = !{i64 0, i64 16, !34}
!34 = !{!13, !13, i64 0}
!35 = !{!18, !20, i64 112}
!36 = !{!18, !20, i64 114}
!37 = !{!18, !16, i64 116}
!38 = !{!39, !16, i64 8}
!39 = !{!"_ZTS8addrinfo", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!40 = !{!39, !16, i64 0}
!41 = !{!12, !12, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,SROAPass,SimplifyCFGPass,TailCallElimPass