	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spider_net_interrupt
_spider_net_interrupt:                  ## @spider_net_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	%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
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_SPIDER_NET_GHIINT0STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_spider_net_read_reg
	movl	%eax, %r14d
	movq	_SPIDER_NET_GHIINT1STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_spider_net_read_reg
	movl	%eax, %r12d
	movq	_SPIDER_NET_GHIINT2STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_spider_net_read_reg
	movl	%eax, %r13d
	movq	_SPIDER_NET_INT0_MASK_VALUE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_SPIDER_NET_INT1_MASK_VALUE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_SPIDER_NET_INT2_MASK_VALUE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_3
LBB0_4:
	movq	_SPIDER_NET_RXINT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_spider_net_rx_irq_off
	movq	%rbx, %rdi
	callq	_napi_schedule
	incl	4(%rbx)
LBB0_6:
	movq	_SPIDER_NET_TXINT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_napi_schedule
LBB0_8:
	movq	_SPIDER_NET_LINKINT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_spider_net_link_reset
LBB0_10:
	movq	_SPIDER_NET_ERRINT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	callq	_spider_net_handle_error_irq
LBB0_12:
	movq	_SPIDER_NET_GHIINT0STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_spider_net_write_reg
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_SPIDER_NET_GHIINT0STS,4,2      ## @SPIDER_NET_GHIINT0STS
	.comm	_SPIDER_NET_GHIINT1STS,4,2      ## @SPIDER_NET_GHIINT1STS
	.comm	_SPIDER_NET_GHIINT2STS,4,2      ## @SPIDER_NET_GHIINT2STS
	.comm	_SPIDER_NET_INT0_MASK_VALUE,4,2 ## @SPIDER_NET_INT0_MASK_VALUE
	.comm	_SPIDER_NET_INT1_MASK_VALUE,4,2 ## @SPIDER_NET_INT1_MASK_VALUE
	.comm	_SPIDER_NET_INT2_MASK_VALUE,4,2 ## @SPIDER_NET_INT2_MASK_VALUE
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_SPIDER_NET_RXINT,4,2           ## @SPIDER_NET_RXINT
	.comm	_SPIDER_NET_TXINT,4,2           ## @SPIDER_NET_TXINT
	.comm	_SPIDER_NET_LINKINT,4,2         ## @SPIDER_NET_LINKINT
	.comm	_SPIDER_NET_ERRINT,4,2          ## @SPIDER_NET_ERRINT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_spider_net_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spider_net_interrupt
_spider_net_interrupt:                  ; @spider_net_interrupt
	.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	x21, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x24, _SPIDER_NET_GHIINT0STS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SPIDER_NET_GHIINT0STS@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_spider_net_read_reg
	mov	x20, x0
Lloh2:
	adrp	x8, _SPIDER_NET_GHIINT1STS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SPIDER_NET_GHIINT1STS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_spider_net_read_reg
	mov	x22, x0
Lloh5:
	adrp	x8, _SPIDER_NET_GHIINT2STS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPIDER_NET_GHIINT2STS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_spider_net_read_reg
	mov	x23, x0
Lloh8:
	adrp	x8, _SPIDER_NET_INT0_MASK_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SPIDER_NET_INT0_MASK_VALUE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_3
; %bb.1:
Lloh11:
	adrp	x8, _SPIDER_NET_INT1_MASK_VALUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SPIDER_NET_INT1_MASK_VALUE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_3
; %bb.2:
Lloh14:
	adrp	x8, _SPIDER_NET_INT2_MASK_VALUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SPIDER_NET_INT2_MASK_VALUE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_13
LBB0_3:
Lloh17:
	adrp	x8, _SPIDER_NET_RXINT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SPIDER_NET_RXINT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_spider_net_rx_irq_off
	mov	x0, x19
	bl	_napi_schedule
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_5:
Lloh20:
	adrp	x8, _SPIDER_NET_TXINT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SPIDER_NET_TXINT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_napi_schedule
LBB0_7:
Lloh23:
	adrp	x8, _SPIDER_NET_LINKINT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SPIDER_NET_LINKINT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_spider_net_link_reset
LBB0_9:
Lloh26:
	adrp	x8, _SPIDER_NET_ERRINT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SPIDER_NET_ERRINT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	bl	_spider_net_handle_error_irq
LBB0_11:
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_spider_net_write_reg
Lloh29:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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
LBB0_13:
Lloh31:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SPIDER_NET_GHIINT0STS,4,2      ; @SPIDER_NET_GHIINT0STS
	.comm	_SPIDER_NET_GHIINT1STS,4,2      ; @SPIDER_NET_GHIINT1STS
	.comm	_SPIDER_NET_GHIINT2STS,4,2      ; @SPIDER_NET_GHIINT2STS
	.comm	_SPIDER_NET_INT0_MASK_VALUE,4,2 ; @SPIDER_NET_INT0_MASK_VALUE
	.comm	_SPIDER_NET_INT1_MASK_VALUE,4,2 ; @SPIDER_NET_INT1_MASK_VALUE
	.comm	_SPIDER_NET_INT2_MASK_VALUE,4,2 ; @SPIDER_NET_INT2_MASK_VALUE
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_SPIDER_NET_RXINT,4,2           ; @SPIDER_NET_RXINT
	.comm	_SPIDER_NET_TXINT,4,2           ; @SPIDER_NET_TXINT
	.comm	_SPIDER_NET_LINKINT,4,2         ; @SPIDER_NET_LINKINT
	.comm	_SPIDER_NET_ERRINT,4,2          ; @SPIDER_NET_ERRINT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_spider_net_interrupt
.subsections_via_symbols
