	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arc_emac_poll
_arc_emac_poll:                         ## @arc_emac_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, %r14d
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_arc_emac_tx_clean
	movq	%rbx, %rdi
	callq	_arc_emac_rx_miss_handle
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_arc_emac_rx
	movl	%eax, %r12d
	cmpl	%r14d, %eax
	jae	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_napi_complete_done
	movq	_R_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RXINT_MASK@GOTPCREL(%rip), %rax
	movq	_TXINT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_arc_reg_or
LBB0_2:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_arc_emac_rx_stall_check
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_ENABLE,4,2                   ## @R_ENABLE
	.comm	_RXINT_MASK,4,2                 ## @RXINT_MASK
	.comm	_TXINT_MASK,4,2                 ## @TXINT_MASK
	.no_dead_strip	_arc_emac_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arc_emac_poll
_arc_emac_poll:                         ; @arc_emac_poll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x23, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_arc_emac_tx_clean
	mov	x0, x20
	bl	_arc_emac_rx_miss_handle
	mov	x0, x20
	mov	x1, x19
	bl	_arc_emac_rx
	mov	x22, x0
	cmp	w0, w19
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	bl	_napi_complete_done
Lloh0:
	adrp	x8, _R_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_ENABLE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RXINT_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RXINT_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _TXINT_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TXINT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x21
	bl	_arc_reg_or
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_arc_emac_rx_stall_check
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_R_ENABLE,4,2                   ; @R_ENABLE
	.comm	_RXINT_MASK,4,2                 ; @RXINT_MASK
	.comm	_TXINT_MASK,4,2                 ; @TXINT_MASK
	.no_dead_strip	_arc_emac_poll
.subsections_via_symbols
