	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nps_enet_poll
_nps_enet_poll:                         ## @nps_enet_poll
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_nps_enet_tx_handler
	movq	%rbx, %rdi
	callq	_nps_enet_rx_handler
	movl	%eax, %r12d
	cmpl	%r13d, %eax
	jge	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_napi_complete_done
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_NPS_ENET_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RX_RDY_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %eax
	shll	%cl, %eax
	movq	_TX_DONE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_NPS_ENET_REG_BUF_INT_ENABLE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_nps_enet_reg_set
	movq	%r15, %rdi
	callq	_nps_enet_is_tx_pending
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_nps_enet_reg_set
	movq	%r14, %rdi
	callq	_napi_reschedule
LBB0_4:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPS_ENET_ENABLE,4,2            ## @NPS_ENET_ENABLE
	.comm	_RX_RDY_SHIFT,4,2               ## @RX_RDY_SHIFT
	.comm	_TX_DONE_SHIFT,4,2              ## @TX_DONE_SHIFT
	.comm	_NPS_ENET_REG_BUF_INT_ENABLE,4,2 ## @NPS_ENET_REG_BUF_INT_ENABLE
	.no_dead_strip	_nps_enet_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nps_enet_poll
_nps_enet_poll:                         ; @nps_enet_poll
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x1
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_nps_enet_tx_handler
	mov	x0, x20
	bl	_nps_enet_rx_handler
	mov	x20, x0
	cmp	w0, w22
	b.ge	LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_napi_complete_done
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _NPS_ENET_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPS_ENET_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RX_RDY_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RX_RDY_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w8, w9
Lloh6:
	adrp	x10, _TX_DONE_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TX_DONE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w8, w9
Lloh9:
	adrp	x22, _NPS_ENET_REG_BUF_INT_ENABLE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _NPS_ENET_REG_BUF_INT_ENABLE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_nps_enet_reg_set
	mov	x0, x21
	bl	_nps_enet_is_tx_pending
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x22]
	mov	x0, x21
	mov	w2, #0
	bl	_nps_enet_reg_set
	mov	x0, x19
	bl	_napi_reschedule
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NPS_ENET_ENABLE,4,2            ; @NPS_ENET_ENABLE
	.comm	_RX_RDY_SHIFT,4,2               ; @RX_RDY_SHIFT
	.comm	_TX_DONE_SHIFT,4,2              ; @TX_DONE_SHIFT
	.comm	_NPS_ENET_REG_BUF_INT_ENABLE,4,2 ; @NPS_ENET_REG_BUF_INT_ENABLE
	.no_dead_strip	_nps_enet_poll
.subsections_via_symbols
