; LLVM IR from turi-code/SFrame :: oss_src/rpc (dc_tcp_comm)

; 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.graphlab::mutex" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%class.anon = type { ptr }
%"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.anon.39 = type { ptr }
%class.anon.40 = type { ptr }
%class.anon.41 = type { ptr }
%class.anon.42 = type { ptr }
%"class.graphlab::atomic" = type { %"class.graphlab::graphlab_impl::atomic_impl" }
%"class.graphlab::graphlab_impl::atomic_impl" = type { i64 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::allocator.5" = type { i8 }
%class.anon.49 = type { ptr, ptr }
%"class.boost::function" = type { %"class.boost::function0" }
%"class.boost::function0" = type { %"class.boost::function_base" }
%"class.boost::function_base" = type { ptr, %"union.boost::detail::function::function_buffer" }
%"union.boost::detail::function::function_buffer" = type { %"union.boost::detail::function::function_buffer_members" }
%"union.boost::detail::function::function_buffer_members" = type { %"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" }
%"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" = type { { i64, i64 }, ptr }
%"class.boost::_bi::bind_t" = type { %"class.boost::_mfi::mf1", %"class.boost::_bi::list2" }
%"class.boost::_mfi::mf1" = type { { i64, i64 } }
%"class.boost::_bi::list2" = type { %"struct.boost::_bi::storage2" }
%"struct.boost::_bi::storage2" = type { %"struct.boost::_bi::storage1", %"class.boost::_bi::value.50" }
%"struct.boost::_bi::storage1" = type { %"class.boost::_bi::value" }
%"class.boost::_bi::value" = type { ptr }
%"class.boost::_bi::value.50" = type { ptr }
%"class.graphlab::dc_impl::dc_tcp_comm" = type <{ %"class.graphlab::dc_impl::dc_comm_base", i16, i16, i8, [3 x i8], %"class.std::__cxx11::basic_string", %"class.std::vector.8", %"class.std::map", %"class.std::vector.16", %"class.std::vector", %"class.std::vector.0", %"class.graphlab::atomic", %"class.graphlab::mutex", %"class.graphlab::conditional", %"class.std::vector.21", %"class.graphlab::atomic", %"class.graphlab::atomic", %"class.graphlab::thread_group", ptr, %"class.graphlab::thread_group", ptr, ptr, ptr, %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", %"class.graphlab::fixed_dense_bitset", i32, [4 x i8], %"class.graphlab::thread", i8, [7 x i8] }>
%"class.graphlab::dc_impl::dc_comm_base" = type { ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, unsigned short>, std::_Select1st<std::pair<const unsigned int, unsigned short>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, unsigned short>, std::_Select1st<std::pair<const unsigned int, unsigned short>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.graphlab::conditional" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl_data" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.graphlab::thread_group" = type { i64, i64, %"class.graphlab::mutex", %"class.graphlab::conditional", %"class.std::queue" }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event" = type { i8, ptr }
%"class.graphlab::fixed_dense_bitset" = type { [4 x i64] }
%"class.graphlab::thread" = type <{ i64, i64, i64, i8, [7 x i8] }>
%"struct.graphlab::dc_impl::dc_tcp_comm::socket_info" = type { i64, ptr, i32, i32, ptr, ptr, i8, %"class.graphlab::mutex", %"struct.graphlab::dc_impl::circular_iovec_buffer", %struct.msghdr }
%"struct.graphlab::dc_impl::circular_iovec_buffer" = type { %"class.std::vector.34", %"class.std::vector.34", i64, i64, i64 }
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl" }
%"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl" = type { %"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl_data" }
%"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.msghdr = type { ptr, i32, ptr, i64, ptr, i64, i32 }
%struct.hostent = type { ptr, ptr, i32, i32, ptr }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }

@_ZN8graphlabL14comm_init_lockE = external hidden global %"class.graphlab::mutex", align 8
@.str = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EE = external hidden unnamed_addr constant [189 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EE(ptr noundef nonnull align 8 dereferenceable(833) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, i16 noundef zeroext %3, ptr noundef %4, ptr noundef %5) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i16, align 2
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i16, align 2
  %15 = alloca %class.anon, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca %class.anon.39, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca %class.anon.40, align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca i64, align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca %class.anon.41, align 8
  %35 = alloca i32, align 4
  %36 = alloca i64, align 8
  %37 = alloca i32, align 4
  %38 = alloca %class.anon.42, align 8
  %39 = alloca %"class.graphlab::atomic", align 8
  %40 = alloca i64, align 8
  %41 = alloca %"class.graphlab::atomic", align 8
  %42 = alloca i64, align 8
  %43 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator.5", align 1
  %46 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %47 = alloca i16, align 2
  %48 = alloca i16, align 2
  %49 = alloca i32, align 4
  %50 = alloca %class.anon.49, align 8
  %51 = alloca i64, align 8
  %52 = alloca %"class.boost::function", align 8
  %53 = alloca %"class.boost::_bi::bind_t", align 8
  %54 = alloca { i64, i64 }, align 8
  %55 = alloca %"class.boost::function", align 8
  %56 = alloca %"class.boost::_bi::bind_t", align 8
  %57 = alloca { i64, i64 }, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i16 %3, ptr %10, align 2, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %58 = load ptr, ptr %7, align 8
  %59 = load i16, ptr %10, align 2, !tbaa !9
  %60 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 1
  store i16 %59, ptr %60, align 8, !tbaa !11
  br label %61

61:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #10
  store i64 %63, ptr %13, align 8, !tbaa !61
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #10
  store i16 -1, ptr %14, align 2, !tbaa !9
  %64 = load i64, ptr %13, align 8, !tbaa !61
  %65 = icmp ult i64 %64, 65535
  %66 = xor i1 %65, true
  %67 = zext i1 %66 to i64
  %68 = call i64 @llvm.expect.i64(i64 %67, i64 0)
  %69 = icmp ne i64 %68, 0
  br i1 %69, label %70, label %72

70:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %71 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 0
  store ptr %13, ptr %71, align 8, !tbaa !5
  call void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %72

72:                                               ; preds = %70, %61
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %73

73:                                               ; preds = %72
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #10
  %76 = trunc i64 %75 to i16
  %77 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  store i16 %76, ptr %77, align 2, !tbaa !62
  %78 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 9
  %79 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %80 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 10
  %81 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN8graphlab7dc_impl7dc_sendESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 8 dereferenceable(24) %5)
  %82 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 6
  %83 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %84 = load i16, ptr %83, align 2, !tbaa !62
  %85 = zext i16 %84 to i64
  call void @_ZNSt6vectorIjSaIjEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %85)
  %86 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 8
  %87 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %88 = load i16, ptr %87, align 2, !tbaa !62
  %89 = zext i16 %88 to i64
  call void @_ZNSt6vectorItSaItEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %89)
  %90 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 25
  %91 = call noundef i64 @_ZNK8graphlab18fixed_dense_bitsetILi256EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %90)
  %92 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %93 = load i16, ptr %92, align 2, !tbaa !62
  %94 = zext i16 %93 to i64
  %95 = icmp uge i64 %91, %94
  br i1 %95, label %96, label %97

96:                                               ; preds = %73
  br label %99

97:                                               ; preds = %73
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.6, i32 noundef 87, ptr noundef @__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EE) #11
  unreachable

98:                                               ; No predecessors!
  br label %99

99:                                               ; preds = %98, %96
  %100 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 25
  call void @_ZN8graphlab18fixed_dense_bitsetILi256EE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %100)
  %101 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %102 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %103 = load i16, ptr %102, align 2, !tbaa !62
  %104 = zext i16 %103 to i64
  call void @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %104)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  store i64 0, ptr %16, align 8, !tbaa !61
  br label %105

105:                                              ; preds = %177, %99
  %106 = load i64, ptr %16, align 8, !tbaa !61
  %107 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %108 = load i16, ptr %107, align 2, !tbaa !62
  %109 = zext i16 %108 to i64
  %110 = icmp ult i64 %106, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %180

112:                                              ; preds = %105
  %113 = load i64, ptr %16, align 8, !tbaa !61
  %114 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %115 = load i64, ptr %16, align 8, !tbaa !61
  %116 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %115) #10
  %117 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %116, i32 0, i32 0
  store i64 %113, ptr %117, align 8, !tbaa !63
  %118 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %119 = load i64, ptr %16, align 8, !tbaa !61
  %120 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %119) #10
  %121 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %120, i32 0, i32 1
  store ptr %58, ptr %121, align 8, !tbaa !71
  %122 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %123 = load i64, ptr %16, align 8, !tbaa !61
  %124 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %123) #10
  %125 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %124, i32 0, i32 2
  store i32 -1, ptr %125, align 8, !tbaa !72
  %126 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %127 = load i64, ptr %16, align 8, !tbaa !61
  %128 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %127) #10
  %129 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %128, i32 0, i32 3
  store i32 -1, ptr %129, align 4, !tbaa !73
  %130 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %131 = load i64, ptr %16, align 8, !tbaa !61
  %132 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %131) #10
  %133 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %132, i32 0, i32 4
  store ptr null, ptr %133, align 8, !tbaa !74
  %134 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %135 = load i64, ptr %16, align 8, !tbaa !61
  %136 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %135) #10
  %137 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %136, i32 0, i32 5
  store ptr null, ptr %137, align 8, !tbaa !75
  %138 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %139 = load i64, ptr %16, align 8, !tbaa !61
  %140 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %139) #10
  %141 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %140, i32 0, i32 6
  store i8 0, ptr %141, align 8, !tbaa !76
  %142 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %143 = load i64, ptr %16, align 8, !tbaa !61
  %144 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %143) #10
  %145 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %144, i32 0, i32 9
  %146 = getelementptr inbounds %struct.msghdr, ptr %145, i32 0, i32 0
  store ptr null, ptr %146, align 8, !tbaa !77
  %147 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %148 = load i64, ptr %16, align 8, !tbaa !61
  %149 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %148) #10
  %150 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %149, i32 0, i32 9
  %151 = getelementptr inbounds %struct.msghdr, ptr %150, i32 0, i32 1
  store i32 0, ptr %151, align 8, !tbaa !78
  %152 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %153 = load i64, ptr %16, align 8, !tbaa !61
  %154 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %153) #10
  %155 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %154, i32 0, i32 9
  %156 = getelementptr inbounds %struct.msghdr, ptr %155, i32 0, i32 4
  store ptr null, ptr %156, align 8, !tbaa !79
  %157 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %158 = load i64, ptr %16, align 8, !tbaa !61
  %159 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %157, i64 noundef %158) #10
  %160 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %159, i32 0, i32 9
  %161 = getelementptr inbounds %struct.msghdr, ptr %160, i32 0, i32 5
  store i64 0, ptr %161, align 8, !tbaa !80
  %162 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %163 = load i64, ptr %16, align 8, !tbaa !61
  %164 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef %163) #10
  %165 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %164, i32 0, i32 9
  %166 = getelementptr inbounds %struct.msghdr, ptr %165, i32 0, i32 6
  store i32 0, ptr %166, align 8, !tbaa !81
  %167 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %168 = load i64, ptr %16, align 8, !tbaa !61
  %169 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %168) #10
  %170 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %169, i32 0, i32 9
  %171 = getelementptr inbounds %struct.msghdr, ptr %170, i32 0, i32 3
  store i64 0, ptr %171, align 8, !tbaa !82
  %172 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %173 = load i64, ptr %16, align 8, !tbaa !61
  %174 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %172, i64 noundef %173) #10
  %175 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %174, i32 0, i32 9
  %176 = getelementptr inbounds %struct.msghdr, ptr %175, i32 0, i32 2
  store ptr null, ptr %176, align 8, !tbaa !83
  br label %177

177:                                              ; preds = %112
  %178 = load i64, ptr %16, align 8, !tbaa !61
  %179 = add i64 %178, 1
  store i64 %179, ptr %16, align 8, !tbaa !61
  br label %105, !llvm.loop !84

180:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @_ZN8graphlab7dc_impl24get_current_process_hashB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17)
  %181 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 5
  %182 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %181, ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  br label %183

183:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %184 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 5
  %185 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %184) #10
  store i64 %185, ptr %18, align 8, !tbaa !61
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  store i32 32, ptr %19, align 4, !tbaa !86
  %186 = load i64, ptr %18, align 8, !tbaa !61
  %187 = icmp eq i64 %186, 32
  %188 = xor i1 %187, true
  %189 = zext i1 %188 to i64
  %190 = call i64 @llvm.expect.i64(i64 %189, i64 0)
  %191 = icmp ne i64 %190, 0
  br i1 %191, label %192, label %194

192:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %193 = getelementptr inbounds %class.anon.39, ptr %20, i32 0, i32 0
  store ptr %18, ptr %193, align 8, !tbaa !5
  call void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %194

194:                                              ; preds = %192, %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %195

195:                                              ; preds = %194
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL14comm_init_lockE)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  store i64 0, ptr %21, align 8, !tbaa !61
  br label %196

196:                                              ; preds = %301, %195
  %197 = load i64, ptr %21, align 8, !tbaa !61
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %198) #10
  %200 = icmp ult i64 %197, %199
  br i1 %200, label %202, label %201

201:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %306

202:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  %204 = load i64, ptr %21, align 8, !tbaa !61
  %205 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %204) #10
  %206 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %205, ptr noundef @.str.7, i64 noundef 0) #10
  store i64 %206, ptr %22, align 8, !tbaa !61
  br label %207

207:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %208 = load i64, ptr %22, align 8, !tbaa !61
  store i64 %208, ptr %23, align 8, !tbaa !61
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  store i64 -1, ptr %24, align 8, !tbaa !61
  %209 = load i64, ptr %23, align 8, !tbaa !61
  %210 = icmp ne i64 %209, -1
  %211 = xor i1 %210, true
  %212 = zext i1 %211 to i64
  %213 = call i64 @llvm.expect.i64(i64 %212, i64 0)
  %214 = icmp ne i64 %213, 0
  br i1 %214, label %215, label %217

215:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %216 = getelementptr inbounds %class.anon.40, ptr %25, i32 0, i32 0
  store ptr %23, ptr %216, align 8, !tbaa !5
  call void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8) %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %217

217:                                              ; preds = %215, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #10
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = load i64, ptr %21, align 8, !tbaa !61
  %222 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %220, i64 noundef %221) #10
  %223 = load i64, ptr %22, align 8, !tbaa !61
  call void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 8 dereferenceable(32) %222, i64 noundef 0, i64 noundef %223)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #10
  %224 = load ptr, ptr %8, align 8, !tbaa !5
  %225 = load i64, ptr %21, align 8, !tbaa !61
  %226 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %224, i64 noundef %225) #10
  %227 = load i64, ptr %22, align 8, !tbaa !61
  %228 = add i64 %227, 1
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %226, i64 noundef %228, i64 noundef -1)
          to label %229 unwind label %248

229:                                              ; preds = %219
  %230 = invoke noundef i64 @_ZN5boost12lexical_castImNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %231 unwind label %252

231:                                              ; preds = %229
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #10
  store i64 %230, ptr %27, align 8, !tbaa !61
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %232 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  %233 = invoke ptr @gethostbyname(ptr noundef %232)
          to label %234 unwind label %257

234:                                              ; preds = %231
  store ptr %233, ptr %31, align 8, !tbaa !5
  br label %235

235:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  %236 = load ptr, ptr %31, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.hostent, ptr %236, i32 0, i32 3
  %238 = load i32, ptr %237, align 4, !tbaa !87
  store i32 %238, ptr %32, align 4, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  store i32 4, ptr %33, align 4, !tbaa !86
  %239 = load i32, ptr %32, align 4, !tbaa !86
  %240 = icmp eq i32 %239, 4
  %241 = xor i1 %240, true
  %242 = zext i1 %241 to i64
  %243 = call i64 @llvm.expect.i64(i64 %242, i64 0)
  %244 = icmp ne i64 %243, 0
  br i1 %244, label %245, label %265

245:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %246 = getelementptr inbounds %class.anon.41, ptr %34, i32 0, i32 0
  store ptr %32, ptr %246, align 8, !tbaa !5
  invoke void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_3clEv"(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %247 unwind label %261

247:                                              ; preds = %245
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %265

248:                                              ; preds = %219
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %29, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %30, align 4
  br label %256

252:                                              ; preds = %229
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %29, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %30, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  br label %256

256:                                              ; preds = %252, %248
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #10
  br label %305

257:                                              ; preds = %231
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %29, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %30, align 4
  br label %304

261:                                              ; preds = %245
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %29, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  br label %304

265:                                              ; preds = %247, %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  br label %266

266:                                              ; preds = %265
  br label %267

267:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  %268 = load ptr, ptr %31, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.hostent, ptr %268, i32 0, i32 4
  %270 = load ptr, ptr %269, align 8, !tbaa !89
  %271 = getelementptr inbounds ptr, ptr %270, i64 0
  %272 = load ptr, ptr %271, align 8, !tbaa !5
  %273 = load i32, ptr %272, align 4, !tbaa !86
  store i32 %273, ptr %35, align 4, !tbaa !86
  %274 = load i32, ptr %35, align 4, !tbaa !86
  %275 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 6
  %276 = load i64, ptr %21, align 8, !tbaa !61
  %277 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %275, i64 noundef %276) #10
  store i32 %274, ptr %277, align 4, !tbaa !86
  br label %278

278:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  %279 = load i64, ptr %27, align 8, !tbaa !61
  store i64 %279, ptr %36, align 8, !tbaa !61
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  store i32 65536, ptr %37, align 4, !tbaa !86
  %280 = load i64, ptr %36, align 8, !tbaa !61
  %281 = icmp ult i64 %280, 65536
  %282 = xor i1 %281, true
  %283 = zext i1 %282 to i64
  %284 = call i64 @llvm.expect.i64(i64 %283, i64 0)
  %285 = icmp ne i64 %284, 0
  br i1 %285, label %286, label %293

286:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %287 = getelementptr inbounds %class.anon.42, ptr %38, i32 0, i32 0
  store ptr %36, ptr %287, align 8, !tbaa !5
  invoke void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %288 unwind label %289

288:                                              ; preds = %286
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %293

289:                                              ; preds = %286
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %29, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  br label %304

293:                                              ; preds = %288, %278
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  br label %294

294:                                              ; preds = %293
  br label %295

295:                                              ; preds = %294
  %296 = load i64, ptr %27, align 8, !tbaa !61
  %297 = trunc i64 %296 to i16
  %298 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 8
  %299 = load i64, ptr %21, align 8, !tbaa !61
  %300 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorItSaItEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %298, i64 noundef %299) #10
  store i16 %297, ptr %300, align 2, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #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 @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %301

301:                                              ; preds = %295
  %302 = load i64, ptr %21, align 8, !tbaa !61
  %303 = add i64 %302, 1
  store i64 %303, ptr %21, align 8, !tbaa !61
  br label %196, !llvm.loop !90

304:                                              ; preds = %289, %261, %257
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %305

305:                                              ; preds = %304, %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #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 @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %479

306:                                              ; preds = %201
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL14comm_init_lockE)
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  store i64 0, ptr %40, align 8, !tbaa !61
  call void @_ZN8graphlab6atomicImEC2ERKm(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40)
  %307 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %307, ptr align 8 %39, i64 8, i1 true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  store i64 0, ptr %42, align 8, !tbaa !61
  call void @_ZN8graphlab6atomicImEC2ERKm(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42)
  %308 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %308, ptr align 8 %41, i64 8, i1 true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  %309 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %310 unwind label %323

310:                                              ; preds = %306
  %311 = invoke ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(48) %309, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %312 unwind label %327

312:                                              ; preds = %310
  %313 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %43, i32 0, i32 0
  store ptr %311, ptr %313, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %314 = load ptr, ptr %9, align 8, !tbaa !5
  %315 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %314) #10
  %316 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %46, i32 0, i32 0
  store ptr %315, ptr %316, align 8
  %317 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %46) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br i1 %317, label %318, label %332

318:                                              ; preds = %312
  %319 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #10
  %320 = getelementptr inbounds %"struct.std::pair", ptr %319, i32 0, i32 1
  %321 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %320) #10
  %322 = call i32 @atoi(ptr noundef %321) #12
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm14open_listeningEi(ptr noundef nonnull align 8 dereferenceable(833) %58, i32 noundef %322)
  br label %333

323:                                              ; preds = %306
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %29, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %30, align 4
  br label %331

327:                                              ; preds = %310
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %29, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %30, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  br label %331

331:                                              ; preds = %327, %323
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #10
  br label %478

332:                                              ; preds = %312
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm14open_listeningEi(ptr noundef nonnull align 8 dereferenceable(833) %58, i32 noundef 0)
  br label %333

333:                                              ; preds = %332, %318
  %334 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 1
  %335 = load i16, ptr %334, align 8, !tbaa !11
  %336 = zext i16 %335 to i32
  %337 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %338 = load i16, ptr %337, align 2, !tbaa !62
  %339 = zext i16 %338 to i32
  %340 = sub nsw i32 %339, 1
  %341 = icmp ne i32 %336, %340
  br i1 %341, label %342, label %391

342:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 2, ptr %47) #10
  store i16 0, ptr %47, align 2, !tbaa !9
  br label %343

343:                                              ; preds = %355, %342
  %344 = load i16, ptr %47, align 2, !tbaa !9
  %345 = zext i16 %344 to i32
  %346 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %347 = load i16, ptr %346, align 2, !tbaa !62
  %348 = zext i16 %347 to i32
  %349 = sub nsw i32 %348, 1
  %350 = icmp slt i32 %345, %349
  br i1 %350, label %352, label %351

351:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 2, ptr %47) #10
  br label %358

352:                                              ; preds = %343
  %353 = load i16, ptr %47, align 2, !tbaa !9
  %354 = zext i16 %353 to i64
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %58, i64 noundef %354)
  br label %355

355:                                              ; preds = %352
  %356 = load i16, ptr %47, align 2, !tbaa !9
  %357 = add i16 %356, 1
  store i16 %357, ptr %47, align 2, !tbaa !9
  br label %343, !llvm.loop !91

358:                                              ; preds = %351
  %359 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) %359)
  br label %360

360:                                              ; preds = %368, %358
  br label %361

361:                                              ; preds = %360
  %362 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %58)
  %363 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %364 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %363) #10
  %365 = sub i64 %364, 1
  %366 = icmp eq i64 %362, %365
  br i1 %366, label %367, label %368

367:                                              ; preds = %361
  br label %371

368:                                              ; preds = %361
  %369 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 13
  %370 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48) %369, ptr noundef nonnull align 8 dereferenceable(40) %370)
  br label %360, !llvm.loop !92

371:                                              ; preds = %367
  %372 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) %372)
  %373 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %374 = load i16, ptr %373, align 2, !tbaa !62
  %375 = zext i16 %374 to i32
  %376 = sub nsw i32 %375, 1
  %377 = sext i32 %376 to i64
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %58, i64 noundef %377)
  %378 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) %378)
  br label %379

379:                                              ; preds = %386, %371
  br label %380

380:                                              ; preds = %379
  %381 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %58)
  %382 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %383 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %382) #10
  %384 = icmp eq i64 %381, %383
  br i1 %384, label %385, label %386

385:                                              ; preds = %380
  br label %389

386:                                              ; preds = %380
  %387 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 13
  %388 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48) %387, ptr noundef nonnull align 8 dereferenceable(40) %388)
  br label %379, !llvm.loop !93

389:                                              ; preds = %385
  %390 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) %390)
  br label %446

391:                                              ; preds = %333
  br label %392

392:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 2, ptr %48) #10
  %393 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 1
  %394 = load i16, ptr %393, align 8, !tbaa !11
  store i16 %394, ptr %48, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #10
  %395 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %396 = load i16, ptr %395, align 2, !tbaa !62
  %397 = zext i16 %396 to i32
  %398 = sub nsw i32 %397, 1
  store i32 %398, ptr %49, align 4, !tbaa !86
  %399 = load i16, ptr %48, align 2, !tbaa !9
  %400 = zext i16 %399 to i32
  %401 = load i32, ptr %49, align 4, !tbaa !86
  %402 = trunc i32 %401 to i16
  %403 = zext i16 %402 to i32
  %404 = icmp eq i32 %400, %403
  %405 = xor i1 %404, true
  %406 = zext i1 %405 to i64
  %407 = call i64 @llvm.expect.i64(i64 %406, i64 0)
  %408 = icmp ne i64 %407, 0
  br i1 %408, label %409, label %412

409:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #10
  %410 = getelementptr inbounds %class.anon.49, ptr %50, i32 0, i32 0
  store ptr %48, ptr %410, align 8, !tbaa !5
  %411 = getelementptr inbounds %class.anon.49, ptr %50, i32 0, i32 1
  store ptr %49, ptr %411, align 8, !tbaa !5
  call void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_5clEv"(ptr noundef nonnull align 8 dereferenceable(16) %50)
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #10
  br label %412

412:                                              ; preds = %409, %392
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %48) #10
  br label %413

413:                                              ; preds = %412
  br label %414

414:                                              ; preds = %413
  %415 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %416 = load i16, ptr %415, align 2, !tbaa !62
  %417 = zext i16 %416 to i32
  %418 = sub nsw i32 %417, 1
  %419 = sext i32 %418 to i64
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %58, i64 noundef %419)
  %420 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) %420)
  br label %421

421:                                              ; preds = %428, %414
  br label %422

422:                                              ; preds = %421
  %423 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %58)
  %424 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 14
  %425 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %424) #10
  %426 = icmp eq i64 %423, %425
  br i1 %426, label %427, label %428

427:                                              ; preds = %422
  br label %431

428:                                              ; preds = %422
  %429 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 13
  %430 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48) %429, ptr noundef nonnull align 8 dereferenceable(40) %430)
  br label %421, !llvm.loop !94

431:                                              ; preds = %427
  %432 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 12
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) %432)
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  store i64 0, ptr %51, align 8, !tbaa !61
  br label %433

433:                                              ; preds = %442, %431
  %434 = load i64, ptr %51, align 8, !tbaa !61
  %435 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 2
  %436 = load i16, ptr %435, align 2, !tbaa !62
  %437 = zext i16 %436 to i64
  %438 = icmp ult i64 %434, %437
  br i1 %438, label %440, label %439

439:                                              ; preds = %433
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  br label %445

440:                                              ; preds = %433
  %441 = load i64, ptr %51, align 8, !tbaa !61
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %58, i64 noundef %441)
  br label %442

442:                                              ; preds = %440
  %443 = load i64, ptr %51, align 8, !tbaa !61
  %444 = add i64 %443, 1
  store i64 %444, ptr %51, align 8, !tbaa !61
  br label %433, !llvm.loop !95

445:                                              ; preds = %439
  br label %446

446:                                              ; preds = %445, %389
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv(ptr noundef nonnull align 8 dereferenceable(833) %58)
  %447 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 17
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #10
  %448 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 18
  %449 = load ptr, ptr %448, align 8, !tbaa !96
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN8graphlab7dc_impl11dc_tcp_comm12receive_loopEP10event_base to i64), i64 0 }, ptr %54, align 8, !tbaa !97
  %450 = getelementptr inbounds { i64, i64 }, ptr %54, i32 0, i32 0
  %451 = load i64, ptr %450, align 8
  %452 = getelementptr inbounds { i64, i64 }, ptr %54, i32 0, i32 1
  %453 = load i64, ptr %452, align 8
  call void @_ZN5boost4bindIvN8graphlab7dc_impl11dc_tcp_commEP10event_basePS3_S5_EENS_3_bi6bind_tIT_NS_4_mfi3mf1IS9_T0_T1_EENS7_9list_av_2IT2_T3_E4typeEEEMSC_FS9_SD_ESG_SH_(ptr dead_on_unwind writable sret(%"class.boost::_bi::bind_t") align 8 %53, i64 %451, i64 %453, ptr noundef %58, ptr noundef %449)
  call void @_ZN5boost8functionIFvvEEC2INS_3_bi6bind_tIvNS_4_mfi3mf1IvN8graphlab7dc_impl11dc_tcp_commEP10event_baseEENS4_5list2INS4_5valueIPSA_EENSF_ISC_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISL_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef byval(%"class.boost::_bi::bind_t") align 8 %53, i32 noundef 0)
  %454 = invoke noundef i64 @_ZN8graphlab6thread9cpu_countEv()
          to label %455 unwind label %470

455:                                              ; preds = %446
  %456 = sub i64 %454, 2
  invoke void @_ZN8graphlab12thread_group6launchERKN5boost8functionIFvvEEEm(ptr noundef nonnull align 8 dereferenceable(184) %447, ptr noundef nonnull align 8 dereferenceable(32) %52, i64 noundef %456)
          to label %457 unwind label %470

457:                                              ; preds = %455
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #10
  %458 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 19
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #10
  %459 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 20
  %460 = load ptr, ptr %459, align 8, !tbaa !98
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN8graphlab7dc_impl11dc_tcp_comm9send_loopEP10event_base to i64), i64 0 }, ptr %57, align 8, !tbaa !97
  %461 = getelementptr inbounds { i64, i64 }, ptr %57, i32 0, i32 0
  %462 = load i64, ptr %461, align 8
  %463 = getelementptr inbounds { i64, i64 }, ptr %57, i32 0, i32 1
  %464 = load i64, ptr %463, align 8
  call void @_ZN5boost4bindIvN8graphlab7dc_impl11dc_tcp_commEP10event_basePS3_S5_EENS_3_bi6bind_tIT_NS_4_mfi3mf1IS9_T0_T1_EENS7_9list_av_2IT2_T3_E4typeEEEMSC_FS9_SD_ESG_SH_(ptr dead_on_unwind writable sret(%"class.boost::_bi::bind_t") align 8 %56, i64 %462, i64 %464, ptr noundef %58, ptr noundef %460)
  call void @_ZN5boost8functionIFvvEEC2INS_3_bi6bind_tIvNS_4_mfi3mf1IvN8graphlab7dc_impl11dc_tcp_commEP10event_baseEENS4_5list2INS4_5valueIPSA_EENSF_ISC_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISL_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef byval(%"class.boost::_bi::bind_t") align 8 %56, i32 noundef 0)
  %465 = invoke noundef i64 @_ZN8graphlab6thread9cpu_countEv()
          to label %466 unwind label %474

466:                                              ; preds = %457
  %467 = sub i64 %465, 1
  invoke void @_ZN8graphlab12thread_group6launchERKN5boost8functionIFvvEEEm(ptr noundef nonnull align 8 dereferenceable(184) %458, ptr noundef nonnull align 8 dereferenceable(32) %55, i64 noundef %467)
          to label %468 unwind label %474

468:                                              ; preds = %466
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #10
  %469 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %58, i32 0, i32 3
  store i8 0, ptr %469, align 4, !tbaa !99
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  ret void

470:                                              ; preds = %455, %446
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %29, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %30, align 4
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #10
  br label %478

474:                                              ; preds = %466, %457
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %29, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %30, align 4
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #10
  br label %478

478:                                              ; preds = %474, %470, %331
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  br label %479

479:                                              ; preds = %478, %305
  %480 = load ptr, ptr %29, align 8
  %481 = load i32, ptr %30, align 4
  %482 = insertvalue { ptr, i32 } poison, ptr %480, 0
  %483 = insertvalue { ptr, i32 } %482, i32 %481, 1
  resume { ptr, i32 } %483
}

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8graphlab18fixed_dense_bitsetILi256EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

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

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

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

declare void @_ZN8graphlab7dc_impl24get_current_process_hashB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8) #7

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost12lexical_castImNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKT0_(ptr noundef nonnull align 8 dereferenceable(32)) #4

declare ptr @gethostbyname(ptr noundef) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_3clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab6atomicImEC2ERKm(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 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) #8

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #9

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_5clEv"(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

declare void @_ZN8graphlab12thread_group6launchERKN5boost8functionIFvvEEEm(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost4bindIvN8graphlab7dc_impl11dc_tcp_commEP10event_basePS3_S5_EENS_3_bi6bind_tIT_NS_4_mfi3mf1IS9_T0_T1_EENS7_9list_av_2IT2_T3_E4typeEEEMSC_FS9_SD_ESG_SH_(ptr dead_on_unwind noalias writable sret(%"class.boost::_bi::bind_t") align 8, i64, i64, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm12receive_loopEP10event_base(ptr noundef nonnull align 8 dereferenceable(833), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost8functionIFvvEEC2INS_3_bi6bind_tIvNS_4_mfi3mf1IvN8graphlab7dc_impl11dc_tcp_commEP10event_baseEENS4_5list2INS4_5valueIPSA_EENSF_ISC_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISL_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%"class.boost::_bi::bind_t") align 8, i32 noundef) unnamed_addr #0 align 2

declare noundef i64 @_ZN8graphlab6thread9cpu_countEv() #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm9send_loopEP10event_base(ptr noundef nonnull align 8 dereferenceable(833), ptr noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn 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 #7 = { "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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { inlinehint mustprogress nounwind willreturn memory(read) 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { nounwind willreturn memory(read) }

!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 = !{!"short", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_commE", !13, i64 0, !10, i64 8, !10, i64 10, !14, i64 12, !15, i64 16, !18, i64 48, !22, i64 72, !30, i64 120, !34, i64 144, !38, i64 168, !42, i64 192, !44, i64 200, !45, i64 240, !46, i64 288, !42, i64 312, !42, i64 320, !50, i64 328, !6, i64 512, !50, i64 520, !6, i64 704, !6, i64 712, !6, i64 720, !57, i64 728, !57, i64 744, !58, i64 760, !59, i64 792, !60, i64 800, !14, i64 832}
!13 = !{!"_ZTSN8graphlab7dc_impl12dc_comm_baseE"}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIjSaIjEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt3mapIjtSt4lessIjESaISt4pairIKjtEEE", !23, i64 0}
!23 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !25, i64 0, !27, i64 8}
!25 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !26, i64 0}
!26 = !{!"_ZTSSt4lessIjE"}
!27 = !{!"_ZTSSt15_Rb_tree_header", !28, i64 0, !17, i64 32}
!28 = !{!"_ZTSSt18_Rb_tree_node_base", !29, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!29 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!30 = !{!"_ZTSSt6vectorItSaItEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseItSaItEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!"_ZTSN8graphlab6atomicImEE", !43, i64 0}
!43 = !{!"_ZTSN8graphlab13graphlab_impl11atomic_implImLb1EEE", !17, i64 0}
!44 = !{!"_ZTSN8graphlab5mutexE", !7, i64 0}
!45 = !{!"_ZTSN8graphlab11conditionalE", !7, i64 0}
!46 = !{!"_ZTSSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSN8graphlab12thread_groupE", !17, i64 0, !17, i64 8, !44, i64 16, !45, i64 56, !51, i64 104}
!51 = !{!"_ZTSSt5queueISt4pairImPKcESt5dequeIS3_SaIS3_EEE", !52, i64 0}
!52 = !{!"_ZTSSt5dequeISt4pairImPKcESaIS3_EE", !53, i64 0}
!53 = !{!"_ZTSSt11_Deque_baseISt4pairImPKcESaIS3_EE", !54, i64 0}
!54 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE11_Deque_implE", !55, i64 0}
!55 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE16_Deque_impl_dataE", !6, i64 0, !17, i64 8, !56, i64 16, !56, i64 48}
!56 = !{!"_ZTSSt15_Deque_iteratorISt4pairImPKcERS3_PS3_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!57 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm13timeout_eventE", !14, i64 0, !6, i64 8}
!58 = !{!"_ZTSN8graphlab18fixed_dense_bitsetILi256EEE", !7, i64 0}
!59 = !{!"int", !7, i64 0}
!60 = !{!"_ZTSN8graphlab6threadE", !17, i64 0, !17, i64 8, !17, i64 16, !14, i64 24}
!61 = !{!17, !17, i64 0}
!62 = !{!12, !10, i64 10}
!63 = !{!64, !17, i64 0}
!64 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm11socket_infoE", !17, i64 0, !6, i64 8, !59, i64 16, !59, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !44, i64 48, !65, i64 88, !70, i64 160}
!65 = !{!"_ZTSN8graphlab7dc_impl21circular_iovec_bufferE", !66, i64 0, !66, i64 24, !17, i64 48, !17, i64 56, !17, i64 64}
!66 = !{!"_ZTSSt6vectorI5iovecSaIS0_EE", !67, i64 0}
!67 = !{!"_ZTSSt12_Vector_baseI5iovecSaIS0_EE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE12_Vector_implE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!70 = !{!"_ZTS6msghdr", !6, i64 0, !59, i64 8, !6, i64 16, !17, i64 24, !6, i64 32, !17, i64 40, !59, i64 48}
!71 = !{!64, !6, i64 8}
!72 = !{!64, !59, i64 16}
!73 = !{!64, !59, i64 20}
!74 = !{!64, !6, i64 24}
!75 = !{!64, !6, i64 32}
!76 = !{!64, !14, i64 40}
!77 = !{!64, !6, i64 160}
!78 = !{!64, !59, i64 168}
!79 = !{!64, !6, i64 192}
!80 = !{!64, !17, i64 200}
!81 = !{!64, !59, i64 208}
!82 = !{!64, !17, i64 184}
!83 = !{!64, !6, i64 176}
!84 = distinct !{!84, !85}
!85 = !{!"llvm.loop.mustprogress"}
!86 = !{!59, !59, i64 0}
!87 = !{!88, !59, i64 20}
!88 = !{!"_ZTS7hostent", !6, i64 0, !6, i64 8, !59, i64 16, !59, i64 20, !6, i64 24}
!89 = !{!88, !6, i64 24}
!90 = distinct !{!90, !85}
!91 = distinct !{!91, !85}
!92 = distinct !{!92, !85}
!93 = distinct !{!93, !85}
!94 = distinct !{!94, !85}
!95 = distinct !{!95, !85}
!96 = !{!12, !6, i64 512}
!97 = !{!7, !7, i64 0}
!98 = !{!12, !6, i64 704}
!99 = !{!12, !14, i64 12}


; 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.graphlab::mutex" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%class.anon = type { ptr }
%"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.anon.39 = type { ptr }
%class.anon.40 = type { ptr }
%class.anon.41 = type { ptr }
%class.anon.42 = type { ptr }
%"class.graphlab::atomic" = type { %"class.graphlab::graphlab_impl::atomic_impl" }
%"class.graphlab::graphlab_impl::atomic_impl" = type { i64 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::allocator.5" = type { i8 }
%"class.boost::function" = type { %"class.boost::function0" }
%"class.boost::function0" = type { %"class.boost::function_base" }
%"class.boost::function_base" = type { ptr, %"union.boost::detail::function::function_buffer" }
%"union.boost::detail::function::function_buffer" = type { %"union.boost::detail::function::function_buffer_members" }
%"union.boost::detail::function::function_buffer_members" = type { %"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" }
%"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" = type { { i64, i64 }, ptr }
%"class.boost::_bi::bind_t" = type { %"class.boost::_mfi::mf1", %"class.boost::_bi::list2" }
%"class.boost::_mfi::mf1" = type { { i64, i64 } }
%"class.boost::_bi::list2" = type { %"struct.boost::_bi::storage2" }
%"struct.boost::_bi::storage2" = type { %"struct.boost::_bi::storage1", %"class.boost::_bi::value.50" }
%"struct.boost::_bi::storage1" = type { %"class.boost::_bi::value" }
%"class.boost::_bi::value" = type { ptr }
%"class.boost::_bi::value.50" = type { ptr }

@_ZN8graphlabL14comm_init_lockE = external hidden global %"class.graphlab::mutex", align 8
@.str = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EE = external hidden unnamed_addr constant [189 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EE(ptr noundef nonnull align 8 dereferenceable(833) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, i16 noundef zeroext %3, ptr noundef %4, ptr noundef %5) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca i64, align 8
  %8 = alloca %class.anon, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca i64, align 8
  %11 = alloca %class.anon.39, align 8
  %12 = alloca i64, align 8
  %13 = alloca %class.anon.40, align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca i32, align 4
  %17 = alloca %class.anon.41, align 8
  %18 = alloca i64, align 8
  %19 = alloca %class.anon.42, align 8
  %20 = alloca %"class.graphlab::atomic", align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.graphlab::atomic", align 8
  %23 = alloca i64, align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.5", align 1
  %27 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %28 = alloca %"class.boost::function", align 8
  %29 = alloca %"class.boost::_bi::bind_t", align 8
  %30 = alloca %"class.boost::function", align 8
  %31 = alloca %"class.boost::_bi::bind_t", align 8
  %32 = getelementptr inbounds i8, ptr %0, i64 8
  store i16 %3, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %33 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  store i64 %33, ptr %7, align 8, !tbaa !59
  %34 = icmp ugt i64 %33, 65534
  br i1 %34, label %35, label %36, !prof !60

35:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  store ptr %7, ptr %8, align 8, !tbaa !61
  call void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %36

36:                                               ; preds = %35, %6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  %37 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %38 = trunc i64 %37 to i16
  %39 = getelementptr inbounds i8, ptr %0, i64 10
  store i16 %38, ptr %39, align 2, !tbaa !62
  %40 = getelementptr inbounds i8, ptr %0, i64 144
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %42 = getelementptr inbounds i8, ptr %0, i64 168
  %43 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN8graphlab7dc_impl7dc_sendESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 8 dereferenceable(24) %5)
  %44 = getelementptr inbounds i8, ptr %0, i64 48
  %45 = load i16, ptr %39, align 2, !tbaa !62
  %46 = zext i16 %45 to i64
  call void @_ZNSt6vectorIjSaIjEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 120
  %48 = load i16, ptr %39, align 2, !tbaa !62
  %49 = zext i16 %48 to i64
  call void @_ZNSt6vectorItSaItEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %49)
  %50 = getelementptr inbounds i8, ptr %0, i64 760
  %51 = call noundef i64 @_ZNK8graphlab18fixed_dense_bitsetILi256EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %50)
  %52 = load i16, ptr %39, align 2, !tbaa !62
  %53 = zext i16 %52 to i64
  %.not = icmp ult i64 %51, %53
  br i1 %.not, label %54, label %55

54:                                               ; preds = %36
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.6, i32 noundef 87, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EE) #10
  unreachable

55:                                               ; preds = %36
  call void @_ZN8graphlab18fixed_dense_bitsetILi256EE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %50)
  %56 = getelementptr inbounds i8, ptr %0, i64 288
  %57 = load i16, ptr %39, align 2, !tbaa !62
  %58 = zext i16 %57 to i64
  call void @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %58)
  %59 = load i16, ptr %39, align 2, !tbaa !62
  %.not95 = icmp eq i16 %59, 0
  br i1 %.not95, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %55
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  call void @_ZN8graphlab7dc_impl24get_current_process_hashB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9)
  %60 = getelementptr inbounds i8, ptr %0, i64 16
  %61 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %62 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %60) #9
  store i64 %62, ptr %10, align 8, !tbaa !59
  %.not61 = icmp eq i64 %62, 32
  br i1 %.not61, label %95, label %94, !prof !63

.lr.ph:                                           ; preds = %55, %.lr.ph
  %.075 = phi i64 [ %90, %.lr.ph ], [ 0, %55 ]
  %63 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  store i64 %.075, ptr %63, align 8, !tbaa !64
  %64 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %65 = getelementptr inbounds i8, ptr %64, i64 8
  store ptr %0, ptr %65, align 8, !tbaa !72
  %66 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  store i32 -1, ptr %67, align 8, !tbaa !73
  %68 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %69 = getelementptr inbounds i8, ptr %68, i64 20
  store i32 -1, ptr %69, align 4, !tbaa !74
  %70 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %71 = getelementptr inbounds i8, ptr %70, i64 24
  store ptr null, ptr %71, align 8, !tbaa !75
  %72 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %73 = getelementptr inbounds i8, ptr %72, i64 32
  store ptr null, ptr %73, align 8, !tbaa !76
  %74 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %75 = getelementptr inbounds i8, ptr %74, i64 40
  store i8 0, ptr %75, align 8, !tbaa !77
  %76 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %77 = getelementptr inbounds i8, ptr %76, i64 160
  store ptr null, ptr %77, align 8, !tbaa !78
  %78 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %79 = getelementptr inbounds i8, ptr %78, i64 168
  store i32 0, ptr %79, align 8, !tbaa !79
  %80 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %81 = getelementptr inbounds i8, ptr %80, i64 192
  store ptr null, ptr %81, align 8, !tbaa !80
  %82 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %83 = getelementptr inbounds i8, ptr %82, i64 200
  store i64 0, ptr %83, align 8, !tbaa !81
  %84 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %85 = getelementptr inbounds i8, ptr %84, i64 208
  store i32 0, ptr %85, align 8, !tbaa !82
  %86 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %87 = getelementptr inbounds i8, ptr %86, i64 184
  store i64 0, ptr %87, align 8, !tbaa !83
  %88 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %.075) #9
  %89 = getelementptr inbounds i8, ptr %88, i64 176
  store ptr null, ptr %89, align 8, !tbaa !84
  %90 = add nuw nsw i64 %.075, 1
  %91 = load i16, ptr %39, align 2, !tbaa !62
  %92 = zext i16 %91 to i64
  %93 = icmp ult i64 %90, %92
  br i1 %93, label %.lr.ph, label %._crit_edge, !llvm.loop !85

94:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  store ptr %10, ptr %11, align 8, !tbaa !61
  call void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %95

95:                                               ; preds = %94, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL14comm_init_lockE)
  %96 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %.not96 = icmp eq i64 %96, 0
  br i1 %.not96, label %._crit_edge79, label %.lr.ph78

._crit_edge79:                                    ; preds = %136, %95
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL14comm_init_lockE)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  store i64 0, ptr %21, align 8, !tbaa !59
  call void @_ZN8graphlab6atomicImEC2ERKm(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %97 = getelementptr inbounds i8, ptr %0, i64 312
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %97, ptr nonnull align 8 %20, i64 8, i1 true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  store i64 0, ptr %23, align 8, !tbaa !59
  call void @_ZN8graphlab6atomicImEC2ERKm(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %98 = getelementptr inbounds i8, ptr %0, i64 192
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %98, ptr nonnull align 8 %22, i64 8, i1 true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %143 unwind label %153

.lr.ph78:                                         ; preds = %95, %136
  %.05176 = phi i64 [ %139, %136 ], [ 0, %95 ]
  %99 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.05176) #9
  %100 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull @.str.7, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  store i64 %100, ptr %12, align 8, !tbaa !59
  %.not67 = icmp eq i64 %100, -1
  br i1 %.not67, label %101, label %102, !prof !60

101:                                              ; preds = %.lr.ph78
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  store ptr %12, ptr %13, align 8, !tbaa !61
  call void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %102

102:                                              ; preds = %101, %.lr.ph78
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  %103 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.05176) #9
  call void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %103, i64 noundef 0, i64 noundef %100)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  %104 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.05176) #9
  %105 = add i64 %100, 1
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %104, i64 noundef %105, i64 noundef -1)
          to label %106 unwind label %116

106:                                              ; preds = %102
  %107 = invoke noundef i64 @_ZN5boost12lexical_castImNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %108 unwind label %118

108:                                              ; preds = %106
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  %109 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  %110 = invoke ptr @gethostbyname(ptr noundef %109)
          to label %111 unwind label %121

111:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #9
  %112 = getelementptr inbounds i8, ptr %110, i64 20
  %113 = load i32, ptr %112, align 4, !tbaa !87
  store i32 %113, ptr %16, align 4, !tbaa !89
  %.not70 = icmp eq i32 %113, 4
  br i1 %.not70, label %125, label %114, !prof !63

114:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  store ptr %16, ptr %17, align 8, !tbaa !61
  invoke void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_3clEv"(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %115 unwind label %123

115:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %125

116:                                              ; preds = %102
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %120

118:                                              ; preds = %106
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %120

120:                                              ; preds = %118, %116
  %.pn68 = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %142

121:                                              ; preds = %108
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %142

123:                                              ; preds = %114
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #9
  br label %142

125:                                              ; preds = %115, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #9
  %126 = getelementptr inbounds i8, ptr %110, i64 24
  %127 = load ptr, ptr %126, align 8, !tbaa !90
  %128 = load ptr, ptr %127, align 8, !tbaa !61
  %129 = load i32, ptr %128, align 4, !tbaa !89
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %.05176) #9
  store i32 %129, ptr %130, align 4, !tbaa !89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  store i64 %107, ptr %18, align 8, !tbaa !59
  %131 = icmp ugt i64 %107, 65535
  br i1 %131, label %132, label %136, !prof !60

132:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  store ptr %18, ptr %19, align 8, !tbaa !61
  invoke void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %133 unwind label %134

133:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %136

134:                                              ; preds = %132
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %142

136:                                              ; preds = %133, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  %137 = trunc i64 %107 to i16
  %138 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorItSaItEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %.05176) #9
  store i16 %137, ptr %138, align 2, !tbaa !91
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  %139 = add nuw i64 %.05176, 1
  %140 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %141 = icmp ult i64 %139, %140
  br i1 %141, label %.lr.ph78, label %._crit_edge79, !llvm.loop !92

142:                                              ; preds = %121, %123, %134, %120
  %.pn71.pn = phi { ptr, i32 } [ %.pn68, %120 ], [ %135, %134 ], [ %124, %123 ], [ %122, %121 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  br label %231

143:                                              ; preds = %._crit_edge79
  %144 = invoke ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %145 unwind label %155

145:                                              ; preds = %143
  store ptr %144, ptr %24, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #9
  %146 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #9
  store ptr %146, ptr %27, align 8
  %147 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  br i1 %147, label %148, label %158

148:                                              ; preds = %145
  %149 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  %150 = getelementptr inbounds i8, ptr %149, i64 32
  %151 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %150) #9
  %152 = call i32 @atoi(ptr nocapture noundef %151) #11
  br label %158

153:                                              ; preds = %._crit_edge79
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %157

155:                                              ; preds = %143
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %157

157:                                              ; preds = %155, %153
  %.pn = phi { ptr, i32 } [ %156, %155 ], [ %154, %153 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  br label %230

158:                                              ; preds = %145, %148
  %.sink = phi i32 [ %152, %148 ], [ 0, %145 ]
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm14open_listeningEi(ptr noundef nonnull align 8 dereferenceable(833) %0, i32 noundef %.sink)
  %159 = load i16, ptr %32, align 8, !tbaa !5
  %160 = zext i16 %159 to i32
  %161 = load i16, ptr %39, align 2, !tbaa !62
  %162 = zext i16 %161 to i32
  %163 = add nsw i32 %162, -1
  %.not63 = icmp eq i32 %163, %160
  br i1 %.not63, label %194, label %.preheader

.preheader:                                       ; preds = %158
  %164 = icmp ugt i16 %161, 1
  br i1 %164, label %.lr.ph81, label %._crit_edge82

._crit_edge82:                                    ; preds = %.lr.ph81, %.preheader
  %165 = getelementptr inbounds i8, ptr %0, i64 200
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) %165)
  %166 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %0)
  %167 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  %168 = add i64 %167, -1
  %169 = icmp eq i64 %166, %168
  br i1 %169, label %._crit_edge85, label %.lr.ph84

.lr.ph84:                                         ; preds = %._crit_edge82
  %170 = getelementptr inbounds i8, ptr %0, i64 240
  br label %178

.lr.ph81:                                         ; preds = %.preheader, %.lr.ph81
  %.06080 = phi i16 [ %172, %.lr.ph81 ], [ 0, %.preheader ]
  %171 = zext i16 %.06080 to i64
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %0, i64 noundef %171)
  %172 = add nuw i16 %.06080, 1
  %173 = zext i16 %172 to i32
  %174 = load i16, ptr %39, align 2, !tbaa !62
  %175 = zext i16 %174 to i32
  %176 = add nsw i32 %175, -1
  %177 = icmp sgt i32 %176, %173
  br i1 %177, label %.lr.ph81, label %._crit_edge82, !llvm.loop !93

178:                                              ; preds = %.lr.ph84, %178
  call void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48) %170, ptr noundef nonnull align 8 dereferenceable(40) %165)
  %179 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %0)
  %180 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  %181 = add i64 %180, -1
  %182 = icmp eq i64 %179, %181
  br i1 %182, label %._crit_edge85, label %178, !llvm.loop !94

._crit_edge85:                                    ; preds = %178, %._crit_edge82
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) %165)
  %183 = load i16, ptr %39, align 2, !tbaa !62
  %184 = zext i16 %183 to i64
  %185 = add nsw i64 %184, -1
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %0, i64 noundef %185)
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) %165)
  %186 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %0)
  %187 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  %188 = icmp eq i64 %186, %187
  br i1 %188, label %._crit_edge88, label %.lr.ph87

.lr.ph87:                                         ; preds = %._crit_edge85
  %189 = getelementptr inbounds i8, ptr %0, i64 240
  br label %190

190:                                              ; preds = %.lr.ph87, %190
  call void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48) %189, ptr noundef nonnull align 8 dereferenceable(40) %165)
  %191 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %0)
  %192 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  %193 = icmp eq i64 %191, %192
  br i1 %193, label %._crit_edge88, label %190, !llvm.loop !95

._crit_edge88:                                    ; preds = %190, %._crit_edge85
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) %165)
  br label %.loopexit

194:                                              ; preds = %158
  %195 = zext i16 %161 to i64
  %196 = add nsw i64 %195, -1
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %0, i64 noundef %196)
  %197 = getelementptr inbounds i8, ptr %0, i64 200
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) %197)
  %198 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %0)
  %199 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  %200 = icmp eq i64 %198, %199
  br i1 %200, label %._crit_edge91, label %.lr.ph90

.lr.ph90:                                         ; preds = %194
  %201 = getelementptr inbounds i8, ptr %0, i64 240
  br label %202

202:                                              ; preds = %.lr.ph90, %202
  call void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48) %201, ptr noundef nonnull align 8 dereferenceable(40) %197)
  %203 = call noundef i64 @_ZNK8graphlab7dc_impl11dc_tcp_comm16num_in_connectedEv(ptr noundef nonnull align 8 dereferenceable(833) %0)
  %204 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  %205 = icmp eq i64 %203, %204
  br i1 %205, label %._crit_edge91, label %202, !llvm.loop !96

._crit_edge91:                                    ; preds = %202, %194
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) %197)
  %206 = load i16, ptr %39, align 2, !tbaa !62
  %.not97 = icmp eq i16 %206, 0
  br i1 %.not97, label %.loopexit, label %.lr.ph94

.lr.ph94:                                         ; preds = %._crit_edge91, %.lr.ph94
  %.05992 = phi i64 [ %207, %.lr.ph94 ], [ 0, %._crit_edge91 ]
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm7connectEm(ptr noundef nonnull align 8 dereferenceable(833) %0, i64 noundef %.05992)
  %207 = add nuw nsw i64 %.05992, 1
  %208 = load i16, ptr %39, align 2, !tbaa !62
  %209 = zext i16 %208 to i64
  %210 = icmp ult i64 %207, %209
  br i1 %210, label %.lr.ph94, label %.loopexit, !llvm.loop !97

.loopexit:                                        ; preds = %.lr.ph94, %._crit_edge91, %._crit_edge88
  call void @_ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv(ptr noundef nonnull align 8 dereferenceable(833) %0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #9
  %211 = getelementptr inbounds i8, ptr %0, i64 512
  %212 = load ptr, ptr %211, align 8, !tbaa !98
  call void @_ZN5boost4bindIvN8graphlab7dc_impl11dc_tcp_commEP10event_basePS3_S5_EENS_3_bi6bind_tIT_NS_4_mfi3mf1IS9_T0_T1_EENS7_9list_av_2IT2_T3_E4typeEEEMSC_FS9_SD_ESG_SH_(ptr dead_on_unwind nonnull writable sret(%"class.boost::_bi::bind_t") align 8 %29, i64 ptrtoint (ptr @_ZN8graphlab7dc_impl11dc_tcp_comm12receive_loopEP10event_base to i64), i64 0, ptr noundef nonnull %0, ptr noundef %212)
  call void @_ZN5boost8functionIFvvEEC2INS_3_bi6bind_tIvNS_4_mfi3mf1IvN8graphlab7dc_impl11dc_tcp_commEP10event_baseEENS4_5list2INS4_5valueIPSA_EENSF_ISC_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISL_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull byval(%"class.boost::_bi::bind_t") align 8 %29, i32 noundef 0)
  %213 = invoke noundef i64 @_ZN8graphlab6thread9cpu_countEv()
          to label %214 unwind label %226

214:                                              ; preds = %.loopexit
  %215 = getelementptr inbounds i8, ptr %0, i64 328
  %216 = add i64 %213, -2
  invoke void @_ZN8graphlab12thread_group6launchERKN5boost8functionIFvvEEEm(ptr noundef nonnull align 8 dereferenceable(184) %215, ptr noundef nonnull align 8 dereferenceable(32) %28, i64 noundef %216)
          to label %217 unwind label %226

217:                                              ; preds = %214
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #9
  %218 = getelementptr inbounds i8, ptr %0, i64 704
  %219 = load ptr, ptr %218, align 8, !tbaa !99
  call void @_ZN5boost4bindIvN8graphlab7dc_impl11dc_tcp_commEP10event_basePS3_S5_EENS_3_bi6bind_tIT_NS_4_mfi3mf1IS9_T0_T1_EENS7_9list_av_2IT2_T3_E4typeEEEMSC_FS9_SD_ESG_SH_(ptr dead_on_unwind nonnull writable sret(%"class.boost::_bi::bind_t") align 8 %31, i64 ptrtoint (ptr @_ZN8graphlab7dc_impl11dc_tcp_comm9send_loopEP10event_base to i64), i64 0, ptr noundef nonnull %0, ptr noundef %219)
  call void @_ZN5boost8functionIFvvEEC2INS_3_bi6bind_tIvNS_4_mfi3mf1IvN8graphlab7dc_impl11dc_tcp_commEP10event_baseEENS4_5list2INS4_5valueIPSA_EENSF_ISC_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISL_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull byval(%"class.boost::_bi::bind_t") align 8 %31, i32 noundef 0)
  %220 = invoke noundef i64 @_ZN8graphlab6thread9cpu_countEv()
          to label %221 unwind label %228

221:                                              ; preds = %217
  %222 = getelementptr inbounds i8, ptr %0, i64 520
  %223 = add i64 %220, -1
  invoke void @_ZN8graphlab12thread_group6launchERKN5boost8functionIFvvEEEm(ptr noundef nonnull align 8 dereferenceable(184) %222, ptr noundef nonnull align 8 dereferenceable(32) %30, i64 noundef %223)
          to label %224 unwind label %228

224:                                              ; preds = %221
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  %225 = getelementptr inbounds i8, ptr %0, i64 12
  store i8 0, ptr %225, align 4, !tbaa !100
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  ret void

226:                                              ; preds = %214, %.loopexit
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  br label %230

228:                                              ; preds = %221, %217
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9function0IvED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  br label %230

230:                                              ; preds = %228, %226, %157
  %.pn65 = phi { ptr, i32 } [ %229, %228 ], [ %227, %226 ], [ %.pn, %157 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  br label %231

231:                                              ; preds = %230, %142
  %.pn71.pn.pn = phi { ptr, i32 } [ %.pn71.pn, %142 ], [ %.pn65, %230 ]
  resume { ptr, i32 } %.pn71.pn.pn
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8graphlab18fixed_dense_bitsetILi256EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

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

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

declare void @_ZN8graphlab7dc_impl24get_current_process_hashB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8) local_unnamed_addr #6

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost12lexical_castImNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKT0_(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_3clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab7dc_impl11dc_tcp_comm4initERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKSt3mapIS8_S8_St4lessIS8_ESaISt4pairIKS8_S8_EEEtS2_IPNS0_10dc_receiveESaISO_EES2_IPNS0_7dc_sendESaISS_EEENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab6atomicImEC2ERKm(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 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
declare dso_local ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #8

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK8graphlab11conditional4waitERKNS_5mutexE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

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

declare void @_ZN8graphlab12thread_group6launchERKN5boost8functionIFvvEEEm(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost4bindIvN8graphlab7dc_impl11dc_tcp_commEP10event_basePS3_S5_EENS_3_bi6bind_tIT_NS_4_mfi3mf1IS9_T0_T1_EENS7_9list_av_2IT2_T3_E4typeEEEMSC_FS9_SD_ESG_SH_(ptr dead_on_unwind noalias writable sret(%"class.boost::_bi::bind_t") align 8, i64, i64, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm12receive_loopEP10event_base(ptr noundef nonnull align 8 dereferenceable(833), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost8functionIFvvEEC2INS_3_bi6bind_tIvNS_4_mfi3mf1IvN8graphlab7dc_impl11dc_tcp_commEP10event_baseEENS4_5list2INS4_5valueIPSA_EENSF_ISC_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISL_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%"class.boost::_bi::bind_t") align 8, i32 noundef) unnamed_addr #0 align 2

declare noundef i64 @_ZN8graphlab6thread9cpu_countEv() local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm9send_loopEP10event_base(ptr noundef nonnull align 8 dereferenceable(833), ptr noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { noreturn 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 #6 = { "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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 }
attributes #10 = { noreturn nounwind }
attributes #11 = { nounwind willreturn memory(read) }

!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, !8, i64 8}
!6 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_commE", !7, i64 0, !8, i64 8, !8, i64 10, !11, i64 12, !12, i64 16, !16, i64 48, !20, i64 72, !28, i64 120, !32, i64 144, !36, i64 168, !40, i64 192, !42, i64 200, !43, i64 240, !44, i64 288, !40, i64 312, !40, i64 320, !48, i64 328, !14, i64 512, !48, i64 520, !14, i64 704, !14, i64 712, !14, i64 720, !55, i64 728, !55, i64 744, !56, i64 760, !57, i64 792, !58, i64 800, !11, i64 832}
!7 = !{!"_ZTSN8graphlab7dc_impl12dc_comm_baseE"}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !15, i64 8, !9, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!"_ZTSSt6vectorIjSaIjEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!20 = !{!"_ZTSSt3mapIjtSt4lessIjESaISt4pairIKjtEEE", !21, i64 0}
!21 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !23, i64 0, !25, i64 8}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessIjE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !15, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !9, i64 0}
!28 = !{!"_ZTSSt6vectorItSaItEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseItSaItEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!32 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!36 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!40 = !{!"_ZTSN8graphlab6atomicImEE", !41, i64 0}
!41 = !{!"_ZTSN8graphlab13graphlab_impl11atomic_implImLb1EEE", !15, i64 0}
!42 = !{!"_ZTSN8graphlab5mutexE", !9, i64 0}
!43 = !{!"_ZTSN8graphlab11conditionalE", !9, i64 0}
!44 = !{!"_ZTSSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!48 = !{!"_ZTSN8graphlab12thread_groupE", !15, i64 0, !15, i64 8, !42, i64 16, !43, i64 56, !49, i64 104}
!49 = !{!"_ZTSSt5queueISt4pairImPKcESt5dequeIS3_SaIS3_EEE", !50, i64 0}
!50 = !{!"_ZTSSt5dequeISt4pairImPKcESaIS3_EE", !51, i64 0}
!51 = !{!"_ZTSSt11_Deque_baseISt4pairImPKcESaIS3_EE", !52, i64 0}
!52 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE11_Deque_implE", !53, i64 0}
!53 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE16_Deque_impl_dataE", !14, i64 0, !15, i64 8, !54, i64 16, !54, i64 48}
!54 = !{!"_ZTSSt15_Deque_iteratorISt4pairImPKcERS3_PS3_E", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!55 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm13timeout_eventE", !11, i64 0, !14, i64 8}
!56 = !{!"_ZTSN8graphlab18fixed_dense_bitsetILi256EEE", !9, i64 0}
!57 = !{!"int", !9, i64 0}
!58 = !{!"_ZTSN8graphlab6threadE", !15, i64 0, !15, i64 8, !15, i64 16, !11, i64 24}
!59 = !{!15, !15, i64 0}
!60 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!61 = !{!14, !14, i64 0}
!62 = !{!6, !8, i64 10}
!63 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!64 = !{!65, !15, i64 0}
!65 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm11socket_infoE", !15, i64 0, !14, i64 8, !57, i64 16, !57, i64 20, !14, i64 24, !14, i64 32, !11, i64 40, !42, i64 48, !66, i64 88, !71, i64 160}
!66 = !{!"_ZTSN8graphlab7dc_impl21circular_iovec_bufferE", !67, i64 0, !67, i64 24, !15, i64 48, !15, i64 56, !15, i64 64}
!67 = !{!"_ZTSSt6vectorI5iovecSaIS0_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseI5iovecSaIS0_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!71 = !{!"_ZTS6msghdr", !14, i64 0, !57, i64 8, !14, i64 16, !15, i64 24, !14, i64 32, !15, i64 40, !57, i64 48}
!72 = !{!65, !14, i64 8}
!73 = !{!65, !57, i64 16}
!74 = !{!65, !57, i64 20}
!75 = !{!65, !14, i64 24}
!76 = !{!65, !14, i64 32}
!77 = !{!65, !11, i64 40}
!78 = !{!65, !14, i64 160}
!79 = !{!65, !57, i64 168}
!80 = !{!65, !14, i64 192}
!81 = !{!65, !15, i64 200}
!82 = !{!65, !57, i64 208}
!83 = !{!65, !15, i64 184}
!84 = !{!65, !14, i64 176}
!85 = distinct !{!85, !86}
!86 = !{!"llvm.loop.mustprogress"}
!87 = !{!88, !57, i64 20}
!88 = !{!"_ZTS7hostent", !14, i64 0, !14, i64 8, !57, i64 16, !57, i64 20, !14, i64 24}
!89 = !{!57, !57, i64 0}
!90 = !{!88, !14, i64 24}
!91 = !{!8, !8, i64 0}
!92 = distinct !{!92, !86}
!93 = distinct !{!93, !86}
!94 = distinct !{!94, !86}
!95 = distinct !{!95, !86}
!96 = distinct !{!96, !86}
!97 = distinct !{!97, !86}
!98 = !{!6, !14, i64 512}
!99 = !{!6, !14, i64 704}
!100 = !{!6, !11, i64 12}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass