	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_receive                 ## -- Begin function remove_receive
	.p2align	4, 0x90
_remove_receive:                        ## @remove_receive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_readw
	movq	_PKT_IN_USE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rsi
	callq	_writew
	movq	(%rbx), %rsi
	cmpq	8(%rbx), %rsi
	jne	LBB0_2
## %bb.1:
	movq	32(%rbx), %rsi
	jmp	LBB0_3
LBB0_2:
	incq	%rsi
LBB0_3:
	movq	%rsi, (%rbx)
	movl	24(%rbx), %edi
	callq	_RIO_OFF
	movq	16(%rbx), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writew                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PKT_IN_USE,4,2                 ## @PKT_IN_USE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_receive                 ; -- Begin function remove_receive
	.p2align	2
_remove_receive:                        ; @remove_receive
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_readw
Lloh0:
	adrp	x8, _PKT_IN_USE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PKT_IN_USE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x1, [x19]
	bl	_writew
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x1, [x19, #32]
	b	LBB0_3
LBB0_2:
	add	x1, x8, #1
LBB0_3:
	str	x1, [x19]
	ldr	w0, [x19, #24]
	bl	_RIO_OFF
	ldr	x1, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writew
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PKT_IN_USE,4,2                 ; @PKT_IN_USE
.subsections_via_symbols
