	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function listener_read_cb
_listener_read_cb:                      ## @listener_read_cb
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_LOCK
	movq	$4, -48(%rbp)
	movl	32(%r15), %ecx
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_evutil_accept4_
	testq	%rax, %rax
	js	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_evutil_closesocket
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$4, -48(%rbp)
	movl	32(%r15), %ecx
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_evutil_accept4_
	movq	%rax, %rbx
	testq	%rax, %rax
	js	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %r12
	testq	%r12, %r12
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	(%r15)
	movq	8(%r15), %r13
	movq	%r15, %rdi
	callq	_UNLOCK
	movl	-48(%rbp), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	movq	%r13, %r8
	callq	*%r12
	movq	%r15, %rdi
	callq	_LOCK
	movl	(%r15), %eax
	cmpl	$1, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%eax
	movl	%eax, (%r15)
	jmp	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	callq	_evutil_socket_geterror
	movl	%eax, %edi
	callq	_EVUTIL_ERR_ACCEPT_RETRIABLE
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:
	incl	(%r15)
	movq	8(%r15), %r14
	movq	%r15, %rdi
	callq	_UNLOCK
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*%rbx
	movq	%r15, %rdi
	callq	_LOCK
	movq	%r15, %rdi
	callq	_listener_decref_and_unlock
	jmp	LBB0_15
LBB0_5:
	movq	%rbx, %rdi
	callq	_evutil_closesocket
LBB0_11:
	movq	%r15, %rdi
	callq	_UNLOCK
	jmp	LBB0_15
LBB0_7:
	movq	%r15, %rdi
	callq	_listener_decref_and_unlock
	movl	%eax, %edi
	callq	_EVUTIL_ASSERT
	movq	%rbx, %rdi
	callq	_evutil_closesocket
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_event_sock_warn
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error from accept() call"

	.no_dead_strip	_listener_read_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function listener_read_cb
_listener_read_cb:                      ; @listener_read_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x0
	mov	x0, x2
	bl	_LOCK
	mov	w8, #4
	str	x8, [sp]
	ldr	w3, [x19, #32]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	bl	_evutil_accept4_
	tbnz	x0, #63, LBB0_8
; %bb.1:
	mov	x21, x0
	mov	w23, #4
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_evutil_closesocket
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x23, [sp]
	ldr	w3, [x19, #32]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	bl	_evutil_accept4_
	mov	x21, x0
	tbnz	x0, #63, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x24, [x19, #24]
	cbz	x24, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x22, [x19, #8]
	mov	x0, x19
	bl	_UNLOCK
	ldr	w3, [sp]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	mov	x4, x22
	blr	x24
	mov	x0, x19
	bl	_LOCK
	ldr	w8, [x19]
	subs	w8, w8, #1
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w8, [x19]
	b	LBB0_3
LBB0_8:
	mov	x0, x20
	bl	_evutil_socket_geterror
	bl	_EVUTIL_ERR_ACCEPT_RETRIABLE
	cbnz	x0, LBB0_12
; %bb.9:
	ldr	x21, [x19, #16]
	cbz	x21, LBB0_14
; %bb.10:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x20, [x19, #8]
	mov	x0, x19
	bl	_UNLOCK
	mov	x0, x19
	mov	x1, x20
	blr	x21
	mov	x0, x19
	bl	_LOCK
	mov	x0, x19
	bl	_listener_decref_and_unlock
	b	LBB0_15
LBB0_11:
	mov	x0, x21
	bl	_evutil_closesocket
LBB0_12:
	mov	x0, x19
	bl	_UNLOCK
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	bl	_listener_decref_and_unlock
	bl	_EVUTIL_ASSERT
	mov	x0, x21
	bl	_evutil_closesocket
	b	LBB0_15
LBB0_14:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_event_sock_warn
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error from accept() call"

	.no_dead_strip	_listener_read_cb
.subsections_via_symbols
