	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enq_receive_complete
_enq_receive_complete:                  ## @enq_receive_complete
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movq	%rdx, %r13
	shlq	$4, %r13
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r13), %r15
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rsi, %rdi
	movq	%r15, %rsi
	callq	_recv_comp_slot_avail
	movq	-64(%rbp), %rax
	movq	_NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_send_recv_completions
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_recv_comp_slot_avail
LBB0_2:
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_netdev_err
	jmp	LBB0_5
LBB0_4:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r13), %rax
	movslq	(%r15), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, 8(%rax,%rdx)
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%rax,%rdx)
	incq	%rcx
	xorl	%eax, %eax
	cmpq	%rcx, (%rbx)
	cmovnel	%ecx, %eax
	movl	%eax, (%r15)
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAPI_POLL_WEIGHT,8,3           ## @NAPI_POLL_WEIGHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Recv_comp full buf q:%hd, tid:%llx\n"

	.no_dead_strip	_enq_receive_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enq_receive_complete
_enq_receive_complete:                  ; @enq_receive_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x19, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
	ldr	x25, [x1, #8]
	add	x20, x25, x2, lsl #4
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x1
	mov	x1, x20
	bl	_recv_comp_slot_avail
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	bl	_send_recv_completions
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	mov	x1, x20
	bl	_recv_comp_slot_avail
LBB0_2:
	ldr	x8, [sp]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	mov	x2, x23
	mov	x3, x19
	bl	_netdev_err
	b	LBB0_5
LBB0_4:
	add	x8, x25, x23, lsl #4
	ldr	x8, [x8, #8]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #4
	str	w19, [x8, #8]
	str	x22, [x8]
	add	x8, x9, #1
	ldr	x9, [x21]
	cmp	x9, x8
	csel	w8, wzr, w8, eq
	str	w8, [x20]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NAPI_POLL_WEIGHT,8,3           ; @NAPI_POLL_WEIGHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Recv_comp full buf q:%hd, tid:%llx\n"

	.no_dead_strip	_enq_receive_complete
.subsections_via_symbols
