	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function greth_interrupt
_greth_interrupt:                       ## @greth_interrupt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	_GRETH_REGLOAD
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_GRETH_REGLOAD
	movq	_GRETH_INT_RE@GOTPCREL(%rip), %rcx
	movq	_GRETH_INT_RX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%r15d, %edx
	je	LBB0_2
## %bb.1:
	movq	_GRETH_RXI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
LBB0_2:
	movq	_GRETH_INT_TE@GOTPCREL(%rip), %rcx
	movq	_GRETH_INT_TX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%r15d, %edx
	je	LBB0_5
## %bb.3:
	movq	_GRETH_TXI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_greth_disable_irqs
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_napi_schedule
LBB0_5:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_GRETH_INT_RE,4,2               ## @GRETH_INT_RE
	.comm	_GRETH_INT_RX,4,2               ## @GRETH_INT_RX
	.comm	_GRETH_RXI,4,2                  ## @GRETH_RXI
	.comm	_GRETH_INT_TE,4,2               ## @GRETH_INT_TE
	.comm	_GRETH_INT_TX,4,2               ## @GRETH_INT_TX
	.comm	_GRETH_TXI,4,2                  ## @GRETH_TXI
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_greth_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function greth_interrupt
_greth_interrupt:                       ; @greth_interrupt
	.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
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_netdev_priv
	mov	x20, x0
	bl	_spin_lock
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	bl	_GRETH_REGLOAD
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_GRETH_REGLOAD
Lloh3:
	adrp	x8, _GRETH_INT_RE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GRETH_INT_RE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GRETH_INT_RX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GRETH_INT_RX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _GRETH_RXI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GRETH_RXI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_4
LBB0_2:
Lloh12:
	adrp	x8, _GRETH_INT_TE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GRETH_INT_TE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _GRETH_INT_TX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GRETH_INT_TX@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_5
; %bb.3:
Lloh18:
	adrp	x8, _GRETH_TXI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GRETH_TXI@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_greth_disable_irqs
	add	x0, x20, #4
	bl	_napi_schedule
LBB0_5:
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x19
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_GRETH_INT_RE,4,2               ; @GRETH_INT_RE
	.comm	_GRETH_INT_RX,4,2               ; @GRETH_INT_RX
	.comm	_GRETH_RXI,4,2                  ; @GRETH_RXI
	.comm	_GRETH_INT_TE,4,2               ; @GRETH_INT_TE
	.comm	_GRETH_INT_TX,4,2               ; @GRETH_INT_TX
	.comm	_GRETH_TXI,4,2                  ; @GRETH_TXI
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_greth_interrupt
.subsections_via_symbols
