	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispatch_recv
_dispatch_recv:                         ## @dispatch_recv
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_INSIST
	movq	8(%rbx), %rax
	movq	_isc_sockettype_fdwatch@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_1
## %bb.3:
	leaq	48(%rbx), %r14
	movq	%rax, %rcx
	jmp	LBB0_4
LBB0_1:
	movl	56(%rbx), %edi
	callq	_ISC_LIST_HEAD
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r14
	movq	_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	(%r14)
	pushq	%r14
	pushq	%rax
	callq	_socket_log
	addq	$32, %rsp
	movq	8(%rbx), %rcx
	movq	(%r15), %rax
LBB0_4:
	movq	(%r14), %rdi
	movl	$1, (%rbx)
	leaq	24(%rbx), %rdx
	movq	%rdx, -32(%rbp)
	incl	16(%rbx)
	movq	%rbx, 40(%rbx)
	cmpq	%rax, %rcx
	jne	LBB0_5
## %bb.6:
	movq	_internal_fdwatch_read@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_internal_recv@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%rbx, 24(%rbx)
	leaq	-32(%rbp), %rsi
	callq	_isc_task_send
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isc_sockettype_fdwatch,8,3     ## @isc_sockettype_fdwatch
	.comm	_EVENT,4,2                      ## @EVENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dispatch_recv:  event %p -> task %p"

	.comm	_internal_fdwatch_read,4,2      ## @internal_fdwatch_read
	.comm	_internal_recv,4,2              ## @internal_recv
	.no_dead_strip	_dispatch_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispatch_recv
_dispatch_recv:                         ; @dispatch_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_INSIST
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x21, _isc_sockettype_fdwatch@GOTPAGE
Lloh1:
	ldr	x21, [x21, _isc_sockettype_fdwatch@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x20, x19, #48
	mov	x9, x8
	b	LBB0_4
LBB0_2:
	ldr	w0, [x19, #56]
	bl	_ISC_LIST_HEAD
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
Lloh2:
	adrp	x8, _EVENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EVENT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	ldr	x8, [x0]
	str	x8, [sp]
Lloh5:
	adrp	x6, l_.str@PAGE
Lloh6:
	add	x6, x6, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	mov	x7, x20
	bl	_socket_log
	ldr	x9, [x19, #8]
	ldr	x8, [x21]
LBB0_4:
	ldr	x0, [x20]
	mov	w10, #1
	str	w10, [x19]
	add	x10, x19, #24
	str	x10, [sp, #8]
	ldr	w10, [x19, #16]
	add	w10, w10, #1
	str	w10, [x19, #16]
Lloh7:
	adrp	x10, _internal_fdwatch_read@GOTPAGE
Lloh8:
	ldr	x10, [x10, _internal_fdwatch_read@GOTPAGEOFF]
Lloh9:
	adrp	x11, _internal_recv@GOTPAGE
Lloh10:
	ldr	x11, [x11, _internal_recv@GOTPAGEOFF]
	str	x19, [x19, #40]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	x19, [x19, #24]
	add	x1, sp, #8
	bl	_isc_task_send
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_isc_sockettype_fdwatch,8,3     ; @isc_sockettype_fdwatch
	.comm	_EVENT,4,2                      ; @EVENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dispatch_recv:  event %p -> task %p"

	.comm	_internal_fdwatch_read,4,2      ; @internal_fdwatch_read
	.comm	_internal_recv,4,2              ; @internal_recv
	.no_dead_strip	_dispatch_recv
.subsections_via_symbols
