	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_recvdone_event
_send_recvdone_event:                   ## @send_recvdone_event
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rax
	movq	8(%rax), %r14
	movq	%r14, -40(%rbp)
	movq	%rdi, 8(%rax)
	movq	(%rsi), %rdi
	movq	_ev_link@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_ISC_LINK_LINKED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	movq	(%rbx), %rsi
	movl	(%r12), %edx
	callq	_ISC_LIST_DEQUEUE
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movq	_ISC_SOCKEVENTATTR_ATTACHED@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_isc_task_sendanddetach
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isc_task_send                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ev_link,4,2                    ## @ev_link
	.comm	_ISC_SOCKEVENTATTR_ATTACHED,4,2 ## @ISC_SOCKEVENTATTR_ATTACHED
	.no_dead_strip	_send_recvdone_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_recvdone_event
_send_recvdone_event:                   ; @send_recvdone_event
	.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, x1
	mov	x21, x0
	ldr	x8, [x1]
	ldr	x20, [x8, #8]
	str	x20, [sp, #8]
	str	x0, [x8, #8]
	ldr	x0, [x1]
Lloh0:
	adrp	x22, _ev_link@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ev_link@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_ISC_LINK_LINKED
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	ldr	x1, [x19]
	ldr	w2, [x22]
	bl	_ISC_LIST_DEQUEUE
LBB0_2:
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _ISC_SOCKEVENTATTR_ATTACHED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ISC_SOCKEVENTATTR_ATTACHED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_4
; %bb.3:
	add	x0, sp, #8
	mov	x1, x19
	bl	_isc_task_sendanddetach
	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
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	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
	b	_isc_task_send
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ev_link,4,2                    ; @ev_link
	.comm	_ISC_SOCKEVENTATTR_ATTACHED,4,2 ; @ISC_SOCKEVENTATTR_ATTACHED
	.no_dead_strip	_send_recvdone_event
.subsections_via_symbols
