; LLVM IR from yinqiwen/ardb :: src/common/channel/socket/socket_channel.ll (ZN4ardb13SocketChannel6DoBindEPNS_7AddressE)

; 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.ardb::SocketInetAddress" = type <{ %"class.ardb::Address", %"union.ardb::SocketInetAddress::MyAddrUnion", [2 x i8] }>
%"class.ardb::Address" = type { ptr }
%"union.ardb::SocketInetAddress::MyAddrUnion" = type { %struct.sockaddr, [94 x i8] }
%struct.sockaddr = type { i16, [14 x i8] }
%"struct.ardb::InstanceOf" = type { i8 }
%"struct.ardb::InstanceOf.0" = type { i8 }
%"struct.ardb::InstanceOf.1" = type { i8 }
%struct.sockaddr_un = type { i16, [108 x i8] }

@.str = external hidden unnamed_addr constant [92 x i8], align 1
@__FUNCTION__._ZN4ardb13SocketChannel6DoBindEPNS_7AddressE = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [37 x i8], align 1

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv() #0

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv() #0

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

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #2

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4ardb13SocketChannel6DoBindEPNS_7AddressE(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.ardb::SocketInetAddress", align 8
  %7 = alloca %"struct.ardb::InstanceOf", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %"class.ardb::SocketInetAddress", align 8
  %12 = alloca %"struct.ardb::InstanceOf.0", align 1
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.ardb::InstanceOf.1", align 1
  %15 = alloca ptr, align 8
  %16 = alloca %"class.ardb::SocketInetAddress", align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %4, align 8
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = icmp eq ptr null, %22
  br i1 %23, label %24, label %25

24:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  br label %166

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 120, ptr %6) #7
  call void @_ZN4ardb17SocketInetAddressC2Ev(ptr noundef nonnull align 8 dereferenceable(118) %6)
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4ardb10InstanceOfINS_17SocketHostAddressEEC2INS_7AddressEEEPKT_(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef %26)
          to label %27 unwind label %41

27:                                               ; preds = %25
  %28 = getelementptr inbounds %"struct.ardb::InstanceOf", ptr %7, i32 0, i32 0
  %29 = load i8, ptr %28, align 1, !tbaa !9, !range !12, !noundef !13
  %30 = trunc i8 %29 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br i1 %30, label %31, label %49

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %32, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 120, ptr %11) #7
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketHostAddress7GetHostB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(42) %33)
          to label %35 unwind label %45

35:                                               ; preds = %31
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = invoke noundef zeroext i16 @_ZNK4ardb17SocketHostAddress7GetPortEv(ptr noundef nonnull align 8 dereferenceable(42) %36)
          to label %38 unwind label %45

38:                                               ; preds = %35
  invoke void @_ZN4ardb16get_inet_addressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr dead_on_unwind writable sret(%"class.ardb::SocketInetAddress") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %34, i16 noundef zeroext %37)
          to label %39 unwind label %45

39:                                               ; preds = %38
  %40 = call noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSEOS0_(ptr noundef nonnull align 8 dereferenceable(118) %6, ptr noundef nonnull align 8 dereferenceable(118) %11) #7
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %11) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %95

41:                                               ; preds = %25
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %165

45:                                               ; preds = %38, %35, %31
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %8, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %165

49:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4ardb10InstanceOfINS_17SocketInetAddressEEC2INS_7AddressEEEPKT_(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef %50)
          to label %51 unwind label %59

51:                                               ; preds = %49
  %52 = getelementptr inbounds %"struct.ardb::InstanceOf.0", ptr %12, i32 0, i32 0
  %53 = load i8, ptr %52, align 1, !tbaa !14, !range !12, !noundef !13
  %54 = trunc i8 %53 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  br i1 %54, label %55, label %63

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %56, ptr %13, align 8, !tbaa !5
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  %58 = call noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSERKS0_(ptr noundef nonnull align 8 dereferenceable(118) %6, ptr noundef nonnull align 8 dereferenceable(118) %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %94

59:                                               ; preds = %49
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %8, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  br label %165

63:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4ardb10InstanceOfINS_17SocketUnixAddressEEC2INS_7AddressEEEPKT_(ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef %64)
          to label %65 unwind label %79

65:                                               ; preds = %63
  %66 = getelementptr inbounds %"struct.ardb::InstanceOf.1", ptr %14, i32 0, i32 0
  %67 = load i8, ptr %66, align 1, !tbaa !16, !range !12, !noundef !13
  %68 = trunc i8 %67 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br i1 %68, label %69, label %92

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %70, ptr %15, align 8, !tbaa !5
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketUnixAddress7GetPathB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40) %71)
          to label %73 unwind label %83

73:                                               ; preds = %69
  %74 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %72) #7
  %75 = call i32 @unlink(ptr noundef %74) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr %16) #7
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN4ardb16get_inet_addressERKNS_17SocketUnixAddressE(ptr dead_on_unwind writable sret(%"class.ardb::SocketInetAddress") align 8 %16, ptr noundef nonnull align 8 dereferenceable(40) %76)
          to label %77 unwind label %87

77:                                               ; preds = %73
  %78 = call noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSEOS0_(ptr noundef nonnull align 8 dereferenceable(118) %6, ptr noundef nonnull align 8 dereferenceable(118) %16) #7
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %16) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %93

79:                                               ; preds = %63
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %8, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %165

83:                                               ; preds = %69
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %8, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %9, align 4
  br label %91

87:                                               ; preds = %73
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %8, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %16) #7
  br label %91

91:                                               ; preds = %87, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %165

92:                                               ; preds = %65
  store i1 false, ptr %3, align 1
  store i32 1, ptr %17, align 4
  br label %164

93:                                               ; preds = %77
  br label %94

94:                                               ; preds = %93, %55
  br label %95

95:                                               ; preds = %94, %39
  %96 = invoke noundef zeroext i1 @_ZNK4ardb17SocketInetAddress6IsUnixEv(ptr noundef nonnull align 8 dereferenceable(118) %6)
          to label %97 unwind label %113

97:                                               ; preds = %95
  br i1 %96, label %98, label %124

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %99 = invoke noundef nonnull align 2 dereferenceable(16) ptr @_ZNK4ardb17SocketInetAddress14GetRawSockAddrEv(ptr noundef nonnull align 8 dereferenceable(118) %6)
          to label %100 unwind label %117

100:                                              ; preds = %98
  store ptr %99, ptr %18, align 8, !tbaa !5
  br label %101

101:                                              ; preds = %100
  %102 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %103 unwind label %117

103:                                              ; preds = %101
  %104 = invoke noundef zeroext i1 %102(i32 noundef 5)
          to label %105 unwind label %117

105:                                              ; preds = %103
  br i1 %104, label %106, label %121

106:                                              ; preds = %105
  %107 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %108 unwind label %117

108:                                              ; preds = %106
  %109 = load ptr, ptr %18, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.sockaddr_un, ptr %109, i32 0, i32 1
  %111 = getelementptr inbounds [108 x i8], ptr %110, i64 0, i64 0
  invoke void (i32, ptr, ptr, i32, ptr, ...) %107(i32 noundef 5, ptr noundef @.str, ptr noundef @__FUNCTION__._ZN4ardb13SocketChannel6DoBindEPNS_7AddressE, i32 noundef 171, ptr noundef @.str.9, ptr noundef %111)
          to label %112 unwind label %117

112:                                              ; preds = %108
  br label %121

113:                                              ; preds = %95
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %8, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %9, align 4
  br label %165

117:                                              ; preds = %108, %106, %103, %101, %98
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %8, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %165

121:                                              ; preds = %112, %105
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %124

124:                                              ; preds = %123, %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %125 = invoke noundef i32 @_ZNK4ardb17SocketInetAddress9GetDomainEv(ptr noundef nonnull align 8 dereferenceable(118) %6)
          to label %126 unwind label %137

126:                                              ; preds = %124
  %127 = invoke noundef i32 @_ZN4ardb13SocketChannel11GetSocketFDEi(ptr noundef nonnull align 8 dereferenceable(276) %21, i32 noundef %125)
          to label %128 unwind label %137

128:                                              ; preds = %126
  store i32 %127, ptr %19, align 4, !tbaa !18
  %129 = load i32, ptr %19, align 4, !tbaa !18
  %130 = invoke noundef nonnull align 2 dereferenceable(16) ptr @_ZNK4ardb17SocketInetAddress14GetRawSockAddrEv(ptr noundef nonnull align 8 dereferenceable(118) %6)
          to label %131 unwind label %137

131:                                              ; preds = %128
  %132 = invoke noundef i32 @_ZNK4ardb17SocketInetAddress18GetRawSockAddrSizeEv(ptr noundef nonnull align 8 dereferenceable(118) %6)
          to label %133 unwind label %137

133:                                              ; preds = %131
  %134 = call i32 @bind(i32 noundef %129, ptr noundef %130, i32 noundef %132) #7
  %135 = icmp eq i32 0, %134
  br i1 %135, label %136, label %141

136:                                              ; preds = %133
  store i1 true, ptr %3, align 1
  store i32 1, ptr %17, align 4
  br label %162

137:                                              ; preds = %131, %128, %126, %124
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %8, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %9, align 4
  br label %163

141:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %142 = call ptr @__errno_location() #8
  %143 = load i32, ptr %142, align 4, !tbaa !18
  store i32 %143, ptr %20, align 4, !tbaa !18
  br label %144

144:                                              ; preds = %141
  %145 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %146 unwind label %155

146:                                              ; preds = %144
  %147 = invoke noundef zeroext i1 %145(i32 noundef 2)
          to label %148 unwind label %155

148:                                              ; preds = %146
  br i1 %147, label %149, label %159

149:                                              ; preds = %148
  %150 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %151 unwind label %155

151:                                              ; preds = %149
  %152 = load i32, ptr %20, align 4, !tbaa !18
  %153 = call ptr @strerror(i32 noundef %152) #7
  invoke void (i32, ptr, ptr, i32, ptr, ...) %150(i32 noundef 2, ptr noundef @.str, ptr noundef @__FUNCTION__._ZN4ardb13SocketChannel6DoBindEPNS_7AddressE, i32 noundef 179, ptr noundef @.str.10, ptr noundef %153)
          to label %154 unwind label %155

154:                                              ; preds = %151
  br label %159

155:                                              ; preds = %151, %149, %146, %144
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %8, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %163

159:                                              ; preds = %154, %148
  br label %160

160:                                              ; preds = %159
  br label %161

161:                                              ; preds = %160
  store i1 false, ptr %3, align 1
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %162

162:                                              ; preds = %161, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %164

163:                                              ; preds = %155, %137
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %165

164:                                              ; preds = %162, %92
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %6) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %6) #7
  br label %166

165:                                              ; preds = %163, %117, %113, %91, %79, %59, %45, %41
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %6) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %6) #7
  br label %168

166:                                              ; preds = %164, %24
  %167 = load i1, ptr %3, align 1
  ret i1 %167

168:                                              ; preds = %165
  %169 = load ptr, ptr %8, align 8
  %170 = load i32, ptr %9, align 4
  %171 = insertvalue { ptr, i32 } poison, ptr %169, 0
  %172 = insertvalue { ptr, i32 } %171, i32 %170, 1
  resume { ptr, i32 } %172
}

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4ardb16get_inet_addressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr dead_on_unwind writable sret(%"class.ardb::SocketInetAddress") align 8, ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSEOS0_(ptr noundef nonnull align 8 dereferenceable(118), ptr noundef nonnull align 8 dereferenceable(118)) #6 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSERKS0_(ptr noundef nonnull align 8 dereferenceable(118), ptr noundef nonnull align 8 dereferenceable(118)) #6 align 2

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

; Function Attrs: nounwind
declare i32 @unlink(ptr noundef) #2

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

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

declare void @_ZN4ardb16get_inet_addressERKNS_17SocketUnixAddressE(ptr dead_on_unwind writable sret(%"class.ardb::SocketInetAddress") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4ardb13SocketChannel11GetSocketFDEi(ptr noundef nonnull align 8 dereferenceable(276), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4ardb17SocketInetAddress9GetDomainEv(ptr noundef nonnull align 8 dereferenceable(118)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4ardb17SocketInetAddress18GetRawSockAddrSizeEv(ptr noundef nonnull align 8 dereferenceable(118)) #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN4ardb10InstanceOfINS_17SocketHostAddressEEE", !11, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!15, !11, i64 0}
!15 = !{!"_ZTSN4ardb10InstanceOfINS_17SocketInetAddressEEE", !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"_ZTSN4ardb10InstanceOfINS_17SocketUnixAddressEEE", !11, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !7, i64 0}


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

%"class.ardb::SocketInetAddress" = type <{ %"class.ardb::Address", %"union.ardb::SocketInetAddress::MyAddrUnion", [2 x i8] }>
%"class.ardb::Address" = type { ptr }
%"union.ardb::SocketInetAddress::MyAddrUnion" = type { %struct.sockaddr, [94 x i8] }
%struct.sockaddr = type { i16, [14 x i8] }
%"struct.ardb::InstanceOf" = type { i8 }
%"struct.ardb::InstanceOf.0" = type { i8 }
%"struct.ardb::InstanceOf.1" = type { i8 }

@.str = external hidden unnamed_addr constant [92 x i8], align 1
@__FUNCTION__._ZN4ardb13SocketChannel6DoBindEPNS_7AddressE = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [37 x i8], align 1

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv() local_unnamed_addr #0

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv() local_unnamed_addr #0

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4ardb13SocketChannel6DoBindEPNS_7AddressE(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.ardb::SocketInetAddress", align 8
  %4 = alloca %"struct.ardb::InstanceOf", align 1
  %5 = alloca %"class.ardb::SocketInetAddress", align 8
  %6 = alloca %"struct.ardb::InstanceOf.0", align 1
  %7 = alloca %"struct.ardb::InstanceOf.1", align 1
  %8 = alloca %"class.ardb::SocketInetAddress", align 8
  %9 = icmp eq ptr %1, null
  br i1 %9, label %80, label %10

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %3) #8
  call void @_ZN4ardb17SocketInetAddressC2Ev(ptr noundef nonnull align 8 dereferenceable(118) %3)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #8
  call void @_ZN4ardb10InstanceOfINS_17SocketHostAddressEEC2INS_7AddressEEEPKT_(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull %1)
  %11 = load i8, ptr %4, align 1, !tbaa !5, !range !10, !noundef !11
  %12 = trunc nuw i8 %11 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  br i1 %12, label %13, label %20

13:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %5) #8
  %14 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketHostAddress7GetHostB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(42) %1)
  %15 = call noundef zeroext i16 @_ZNK4ardb17SocketHostAddress7GetPortEv(ptr noundef nonnull align 8 dereferenceable(42) %1)
  invoke void @_ZN4ardb16get_inet_addressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr dead_on_unwind nonnull writable sret(%"class.ardb::SocketInetAddress") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %14, i16 noundef zeroext %15)
          to label %16 unwind label %18

16:                                               ; preds = %13
  %17 = call noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSEOS0_(ptr noundef nonnull align 8 dereferenceable(118) %3, ptr noundef nonnull align 8 dereferenceable(118) %5) #8
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %5) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %5) #8
  br label %36

18:                                               ; preds = %13
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %5) #8
  br label %79

20:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #8
  call void @_ZN4ardb10InstanceOfINS_17SocketInetAddressEEC2INS_7AddressEEEPKT_(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull %1)
  %21 = load i8, ptr %6, align 1, !tbaa !12, !range !10, !noundef !11
  %22 = trunc nuw i8 %21 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  br i1 %22, label %23, label %25

23:                                               ; preds = %20
  %24 = call noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSERKS0_(ptr noundef nonnull align 8 dereferenceable(118) %3, ptr noundef nonnull align 8 dereferenceable(118) %1) #8
  br label %36

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #8
  call void @_ZN4ardb10InstanceOfINS_17SocketUnixAddressEEC2INS_7AddressEEEPKT_(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull %1)
  %26 = load i8, ptr %7, align 1, !tbaa !14, !range !10, !noundef !11
  %27 = trunc nuw i8 %26 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  br i1 %27, label %28, label %78

28:                                               ; preds = %25
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketUnixAddress7GetPathB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %30 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  %31 = call i32 @unlink(ptr noundef %30) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %8) #8
  invoke void @_ZN4ardb16get_inet_addressERKNS_17SocketUnixAddressE(ptr dead_on_unwind nonnull writable sret(%"class.ardb::SocketInetAddress") align 8 %8, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %32 unwind label %34

32:                                               ; preds = %28
  %33 = call noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSEOS0_(ptr noundef nonnull align 8 dereferenceable(118) %3, ptr noundef nonnull align 8 dereferenceable(118) %8) #8
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %8) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %8) #8
  br label %36

34:                                               ; preds = %28
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %8) #8
  br label %79

36:                                               ; preds = %23, %32, %16
  %37 = invoke noundef zeroext i1 @_ZNK4ardb17SocketInetAddress6IsUnixEv(ptr noundef nonnull align 8 dereferenceable(118) %3)
          to label %38 unwind label %49

38:                                               ; preds = %36
  br i1 %37, label %39, label %53

39:                                               ; preds = %38
  %40 = call noundef nonnull align 2 dereferenceable(16) ptr @_ZNK4ardb17SocketInetAddress14GetRawSockAddrEv(ptr noundef nonnull align 8 dereferenceable(118) %3)
  %41 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %42 unwind label %51

42:                                               ; preds = %39
  %43 = invoke noundef zeroext i1 %41(i32 noundef 5)
          to label %44 unwind label %51

44:                                               ; preds = %42
  br i1 %43, label %45, label %53

45:                                               ; preds = %44
  %46 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %47 unwind label %51

47:                                               ; preds = %45
  %48 = getelementptr inbounds i8, ptr %40, i64 2
  invoke void (i32, ptr, ptr, i32, ptr, ...) %46(i32 noundef 5, ptr noundef nonnull @.str, ptr noundef nonnull @__FUNCTION__._ZN4ardb13SocketChannel6DoBindEPNS_7AddressE, i32 noundef 171, ptr noundef nonnull @.str.9, ptr noundef nonnull %48)
          to label %53 unwind label %51

49:                                               ; preds = %36
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %79

51:                                               ; preds = %47, %45, %42, %39
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %79

53:                                               ; preds = %44, %47, %38
  %54 = invoke noundef i32 @_ZNK4ardb17SocketInetAddress9GetDomainEv(ptr noundef nonnull align 8 dereferenceable(118) %3)
          to label %55 unwind label %63

55:                                               ; preds = %53
  %56 = invoke noundef i32 @_ZN4ardb13SocketChannel11GetSocketFDEi(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %54)
          to label %57 unwind label %63

57:                                               ; preds = %55
  %58 = call noundef nonnull align 2 dereferenceable(16) ptr @_ZNK4ardb17SocketInetAddress14GetRawSockAddrEv(ptr noundef nonnull align 8 dereferenceable(118) %3)
  %59 = invoke noundef i32 @_ZNK4ardb17SocketInetAddress18GetRawSockAddrSizeEv(ptr noundef nonnull align 8 dereferenceable(118) %3)
          to label %60 unwind label %63

60:                                               ; preds = %57
  %61 = call i32 @bind(i32 noundef %56, ptr noundef nonnull %58, i32 noundef %59) #8
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %78, label %65

63:                                               ; preds = %57, %55, %53
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %79

65:                                               ; preds = %60
  %66 = tail call ptr @__errno_location() #9
  %67 = load i32, ptr %66, align 4, !tbaa !16
  %68 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %69 unwind label %76

69:                                               ; preds = %65
  %70 = invoke noundef zeroext i1 %68(i32 noundef 2)
          to label %71 unwind label %76

71:                                               ; preds = %69
  br i1 %70, label %72, label %78

72:                                               ; preds = %71
  %73 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %74 unwind label %76

74:                                               ; preds = %72
  %75 = call ptr @strerror(i32 noundef %67) #8
  invoke void (i32, ptr, ptr, i32, ptr, ...) %73(i32 noundef 2, ptr noundef nonnull @.str, ptr noundef nonnull @__FUNCTION__._ZN4ardb13SocketChannel6DoBindEPNS_7AddressE, i32 noundef 179, ptr noundef nonnull @.str.10, ptr noundef %75)
          to label %78 unwind label %76

76:                                               ; preds = %74, %72, %69, %65
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %79

78:                                               ; preds = %60, %74, %71, %25
  %.1 = phi i1 [ false, %25 ], [ false, %71 ], [ false, %74 ], [ true, %60 ]
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %3) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %3) #8
  br label %80

79:                                               ; preds = %63, %76, %51, %49, %34, %18
  %.pn.pn = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ], [ %19, %18 ], [ %35, %34 ], [ %77, %76 ], [ %64, %63 ]
  call void @_ZN4ardb7AddressD2Ev(ptr noundef nonnull align 8 dereferenceable(118) %3) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn.pn

80:                                               ; preds = %2, %78
  %.2 = phi i1 [ %.1, %78 ], [ false, %2 ]
  ret i1 %.2
}

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4ardb16get_inet_addressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr dead_on_unwind writable sret(%"class.ardb::SocketInetAddress") align 8, ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSEOS0_(ptr noundef nonnull align 8 dereferenceable(118), ptr noundef nonnull align 8 dereferenceable(118)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(118) ptr @_ZN4ardb17SocketInetAddressaSERKS0_(ptr noundef nonnull align 8 dereferenceable(118), ptr noundef nonnull align 8 dereferenceable(118)) local_unnamed_addr #6 align 2

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

; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #7

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

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

declare void @_ZN4ardb16get_inet_addressERKNS_17SocketUnixAddressE(ptr dead_on_unwind writable sret(%"class.ardb::SocketInetAddress") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4ardb13SocketChannel11GetSocketFDEi(ptr noundef nonnull align 8 dereferenceable(276), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4ardb17SocketInetAddress9GetDomainEv(ptr noundef nonnull align 8 dereferenceable(118)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4ardb17SocketInetAddress18GetRawSockAddrSizeEv(ptr noundef nonnull align 8 dereferenceable(118)) local_unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN4ardb10InstanceOfINS_17SocketHostAddressEEE", !7, i64 0}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{i8 0, i8 2}
!11 = !{}
!12 = !{!13, !7, i64 0}
!13 = !{!"_ZTSN4ardb10InstanceOfINS_17SocketInetAddressEEE", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"_ZTSN4ardb10InstanceOfINS_17SocketUnixAddressEEE", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}


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