	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nps_enet_irq_handler
_nps_enet_irq_handler:                  ## @nps_enet_irq_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_NPS_ENET_REG_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nps_enet_reg_get
	movl	%eax, %ebx
	movq	_RX_CTL_CR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_RX_CTL_CR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movq	%r14, %rdi
	callq	_nps_enet_is_tx_pending
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_4
LBB0_2:
	movq	%r14, %rdi
	callq	_napi_schedule_prep
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NPS_ENET_REG_BUF_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_nps_enet_reg_set
	movq	%r14, %rdi
	callq	___napi_schedule
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPS_ENET_REG_RX_CTL,4,2        ## @NPS_ENET_REG_RX_CTL
	.comm	_RX_CTL_CR_MASK,4,2             ## @RX_CTL_CR_MASK
	.comm	_RX_CTL_CR_SHIFT,4,2            ## @RX_CTL_CR_SHIFT
	.comm	_NPS_ENET_REG_BUF_INT_ENABLE,4,2 ## @NPS_ENET_REG_BUF_INT_ENABLE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_nps_enet_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nps_enet_irq_handler
_nps_enet_irq_handler:                  ; @nps_enet_irq_handler
	.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	x0, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _NPS_ENET_REG_RX_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPS_ENET_REG_RX_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nps_enet_reg_get
	mov	x20, x0
Lloh3:
	adrp	x8, _RX_CTL_CR_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_CTL_CR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _RX_CTL_CR_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_CTL_CR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_nps_enet_is_tx_pending
	cbnz	x0, LBB0_2
; %bb.1:
	and	w8, w22, w20
	asr	w8, w8, w21
	cbz	w8, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_napi_schedule_prep
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _NPS_ENET_REG_BUF_INT_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NPS_ENET_REG_BUF_INT_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_nps_enet_reg_set
	mov	x0, x19
	bl	___napi_schedule
LBB0_4:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NPS_ENET_REG_RX_CTL,4,2        ; @NPS_ENET_REG_RX_CTL
	.comm	_RX_CTL_CR_MASK,4,2             ; @RX_CTL_CR_MASK
	.comm	_RX_CTL_CR_SHIFT,4,2            ; @RX_CTL_CR_SHIFT
	.comm	_NPS_ENET_REG_BUF_INT_ENABLE,4,2 ; @NPS_ENET_REG_BUF_INT_ENABLE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_nps_enet_irq_handler
.subsections_via_symbols
