	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_perform_accept      ## -- Begin function comm_point_perform_accept
	.p2align	4, 0x90
_comm_point_perform_accept:             ## @comm_point_perform_accept
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$4, (%rdx)
	movl	32(%rdi), %edi
	callq	_accept
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.4:
	movl	%eax, %r15d
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.5:
	movq	(%rbx), %rax
	movq	_comm_tcp_accept@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.6:
	movq	(%r12), %rdx
	movq	%r14, %rsi
	callq	_tcl_addr_lookup
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_tcl_new_connection
	testl	%eax, %eax
	je	LBB0_7
LBB0_10:
	movl	%r15d, %edi
	callq	_fd_set_nonblock
	jmp	LBB0_11
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EINTR@GOTPCREL(%rip), %rax
	movl	$-1, %r15d
	cmpq	(%rax), %rdi
	je	LBB0_11
## %bb.2:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_11
## %bb.3:
	callq	_strerror
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_log_err_addr
	jmp	LBB0_11
LBB0_7:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_9
## %bb.8:
	movq	(%r12), %rcx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_log_err_addr
LBB0_9:
	movl	%r15d, %edi
	callq	_close
	movl	$-1, %r15d
LBB0_11:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"accept failed"

	.comm	_comm_tcp_accept,8,3            ## @comm_tcp_accept
	.comm	_verbosity,4,2                  ## @verbosity
L_.str.1:                               ## @.str.1
	.asciz	"accept rejected"

L_.str.2:                               ## @.str.2
	.asciz	"connection limit exceeded"

	.comm	_ECONNABORTED,8,3               ## @ECONNABORTED
	.comm	_EMFILE,8,3                     ## @EMFILE
	.comm	_ENFILE,8,3                     ## @ENFILE
	.comm	_EPROTO,8,3                     ## @EPROTO
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.comm	_NETEVENT_SLOW_ACCEPT_TIME,4,2  ## @NETEVENT_SLOW_ACCEPT_TIME
	.comm	_SOCK_NONBLOCK,4,2              ## @SOCK_NONBLOCK
	.comm	_UB_EV_READ,4,2                 ## @UB_EV_READ
	.comm	_UB_EV_TIMEOUT,4,2              ## @UB_EV_TIMEOUT
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.comm	_WSAECONNRESET,8,3              ## @WSAECONNRESET
	.comm	_WSAEINPROGRESS,8,3             ## @WSAEINPROGRESS
	.comm	_WSAEWOULDBLOCK,8,3             ## @WSAEWOULDBLOCK
	.comm	_comm_base_handle_slow_accept,4,2 ## @comm_base_handle_slow_accept
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_perform_accept      ; -- Begin function comm_point_perform_accept
	.p2align	2
_comm_point_perform_accept:             ; @comm_point_perform_accept
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	w8, #4
	str	x8, [x2]
	ldr	w0, [x0, #32]
	bl	_accept
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _comm_tcp_accept@GOTPAGE
Lloh1:
	ldr	x9, [x9, _comm_tcp_accept@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x2, [x21]
	mov	x1, x19
	bl	_tcl_addr_lookup
	str	w0, [x22, #8]
	bl	_tcl_new_connection
	cbz	w0, LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_fd_set_nonblock
	b	LBB0_11
LBB0_5:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
Lloh6:
	adrp	x8, _EINTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_10
; %bb.6:
	bl	_strerror
	mov	x1, x0
	ldr	x3, [x21]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_log_err_addr
	b	LBB0_10
LBB0_7:
Lloh14:
	adrp	x8, _verbosity@GOTPAGE
Lloh15:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_9
; %bb.8:
	ldr	x3, [x21]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_log_err_addr
LBB0_9:
	mov	x0, x20
	bl	_close
LBB0_10:
	mov	w20, #-1
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"accept failed"

	.comm	_comm_tcp_accept,8,3            ; @comm_tcp_accept
	.comm	_verbosity,4,2                  ; @verbosity
l_.str.1:                               ; @.str.1
	.asciz	"accept rejected"

l_.str.2:                               ; @.str.2
	.asciz	"connection limit exceeded"

	.comm	_ECONNABORTED,8,3               ; @ECONNABORTED
	.comm	_EMFILE,8,3                     ; @EMFILE
	.comm	_ENFILE,8,3                     ; @ENFILE
	.comm	_EPROTO,8,3                     ; @EPROTO
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.comm	_NETEVENT_SLOW_ACCEPT_TIME,4,2  ; @NETEVENT_SLOW_ACCEPT_TIME
	.comm	_SOCK_NONBLOCK,4,2              ; @SOCK_NONBLOCK
	.comm	_UB_EV_READ,4,2                 ; @UB_EV_READ
	.comm	_UB_EV_TIMEOUT,4,2              ; @UB_EV_TIMEOUT
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.comm	_WSAECONNRESET,8,3              ; @WSAECONNRESET
	.comm	_WSAEINPROGRESS,8,3             ; @WSAEINPROGRESS
	.comm	_WSAEWOULDBLOCK,8,3             ; @WSAEWOULDBLOCK
	.comm	_comm_base_handle_slow_accept,4,2 ; @comm_base_handle_slow_accept
.subsections_via_symbols
