	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spider_net_handle_error_irq
_spider_net_handle_error_irq:           ## @spider_net_handle_error_irq
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_netif_msg_intr
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_dev_err
LBB0_3:
	movq	_SPIDER_NET_GHIINT1STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_spider_net_write_reg
	movq	_SPIDER_NET_GHIINT2STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spider_net_write_reg           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Error interrupt, GHIINT0STS = 0x%08x, GHIINT1STS = 0x%08x, GHIINT2STS = 0x%08x\n"

	.comm	_SPIDER_NET_GHIINT1STS,4,2      ## @SPIDER_NET_GHIINT1STS
	.comm	_SPIDER_NET_GHIINT2STS,4,2      ## @SPIDER_NET_GHIINT2STS
	.no_dead_strip	_spider_net_handle_error_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spider_net_handle_error_irq
_spider_net_handle_error_irq:           ; @spider_net_handle_error_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_netif_msg_intr
	cbz	x0, LBB0_3
; %bb.1:
	bl	_net_ratelimit
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x20, #8]
	stp	x21, x19, [sp, #8]
	str	x22, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_3:
Lloh2:
	adrp	x8, _SPIDER_NET_GHIINT1STS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SPIDER_NET_GHIINT1STS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_spider_net_write_reg
Lloh5:
	adrp	x8, _SPIDER_NET_GHIINT2STS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPIDER_NET_GHIINT2STS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_spider_net_write_reg
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Error interrupt, GHIINT0STS = 0x%08x, GHIINT1STS = 0x%08x, GHIINT2STS = 0x%08x\n"

	.comm	_SPIDER_NET_GHIINT1STS,4,2      ; @SPIDER_NET_GHIINT1STS
	.comm	_SPIDER_NET_GHIINT2STS,4,2      ; @SPIDER_NET_GHIINT2STS
	.no_dead_strip	_spider_net_handle_error_irq
.subsections_via_symbols
