	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8169_pcierr_interrupt
_rtl8169_pcierr_interrupt:              ## @rtl8169_pcierr_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	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rbx
	movq	_PCI_COMMAND@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pci_read_config_word
	movq	_PCI_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pci_read_config_word
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %r8d
	movl	-48(%rbp), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_netif_err
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_PCI_COMMAND_PARITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	jmp	LBB0_3
LBB0_2:
	movq	_PCI_COMMAND_SERR@GOTPCREL(%rip), %rax
	movq	_PCI_COMMAND_PARITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	orl	-44(%rbp), %edx
LBB0_3:
	movl	%edx, -44(%rbp)
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_pci_write_config_word
	movq	_PCI_STATUS_DETECTED_PARITY@GOTPCREL(%rip), %rax
	movq	_PCI_STATUS_SIG_SYSTEM_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	(%r12), %esi
	movq	_PCI_STATUS_REC_MASTER_ABORT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PCI_STATUS_REC_TARGET_ABORT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PCI_STATUS_SIG_TARGET_ABORT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	andl	-48(%rbp), %edx
	movq	%rbx, %rdi
	callq	_pci_write_config_word
	movq	_RTL_FLAG_TASK_RESET_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtl_schedule_task
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_COMMAND,4,2                ## @PCI_COMMAND
	.comm	_PCI_STATUS,4,2                 ## @PCI_STATUS
	.comm	_intr,4,2                       ## @intr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI error (cmd = 0x%04x, status = 0x%04x)\n"

	.comm	_PCI_COMMAND_PARITY,4,2         ## @PCI_COMMAND_PARITY
	.comm	_PCI_COMMAND_SERR,4,2           ## @PCI_COMMAND_SERR
	.comm	_PCI_STATUS_DETECTED_PARITY,4,2 ## @PCI_STATUS_DETECTED_PARITY
	.comm	_PCI_STATUS_SIG_SYSTEM_ERROR,4,2 ## @PCI_STATUS_SIG_SYSTEM_ERROR
	.comm	_PCI_STATUS_REC_MASTER_ABORT,4,2 ## @PCI_STATUS_REC_MASTER_ABORT
	.comm	_PCI_STATUS_REC_TARGET_ABORT,4,2 ## @PCI_STATUS_REC_TARGET_ABORT
	.comm	_PCI_STATUS_SIG_TARGET_ABORT,4,2 ## @PCI_STATUS_SIG_TARGET_ABORT
	.comm	_RTL_FLAG_TASK_RESET_PENDING,4,2 ## @RTL_FLAG_TASK_RESET_PENDING
	.no_dead_strip	_rtl8169_pcierr_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8169_pcierr_interrupt
_rtl8169_pcierr_interrupt:              ; @rtl8169_pcierr_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x22, _PCI_COMMAND@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PCI_COMMAND@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #8
	mov	x0, x20
	bl	_pci_read_config_word
Lloh2:
	adrp	x23, _PCI_STATUS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PCI_STATUS@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	mov	x0, x20
	bl	_pci_read_config_word
Lloh4:
	adrp	x8, _intr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldp	w4, w5, [sp, #8]
Lloh7:
	adrp	x3, l_.str@PAGE
Lloh8:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_netif_err
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _PCI_COMMAND_PARITY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCI_COMMAND_PARITY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	bic	w2, w9, w8
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _PCI_COMMAND_SERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCI_COMMAND_SERR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _PCI_COMMAND_PARITY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PCI_COMMAND_PARITY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #8]
	orr	w2, w8, w9
LBB0_3:
	str	w2, [sp, #8]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_pci_write_config_word
	ldr	w1, [x23]
Lloh18:
	adrp	x8, _PCI_STATUS_DETECTED_PARITY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCI_STATUS_DETECTED_PARITY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _PCI_STATUS_SIG_SYSTEM_ERROR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PCI_STATUS_SIG_SYSTEM_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _PCI_STATUS_REC_MASTER_ABORT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PCI_STATUS_REC_MASTER_ABORT@GOTPAGEOFF]
	ldr	w10, [sp, #12]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _PCI_STATUS_REC_TARGET_ABORT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PCI_STATUS_REC_TARGET_ABORT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _PCI_STATUS_SIG_TARGET_ABORT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PCI_STATUS_SIG_TARGET_ABORT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
	and	w2, w8, w10
	mov	x0, x20
	bl	_pci_write_config_word
Lloh33:
	adrp	x8, _RTL_FLAG_TASK_RESET_PENDING@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RTL_FLAG_TASK_RESET_PENDING@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_schedule_task
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_COMMAND,4,2                ; @PCI_COMMAND
	.comm	_PCI_STATUS,4,2                 ; @PCI_STATUS
	.comm	_intr,4,2                       ; @intr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI error (cmd = 0x%04x, status = 0x%04x)\n"

	.comm	_PCI_COMMAND_PARITY,4,2         ; @PCI_COMMAND_PARITY
	.comm	_PCI_COMMAND_SERR,4,2           ; @PCI_COMMAND_SERR
	.comm	_PCI_STATUS_DETECTED_PARITY,4,2 ; @PCI_STATUS_DETECTED_PARITY
	.comm	_PCI_STATUS_SIG_SYSTEM_ERROR,4,2 ; @PCI_STATUS_SIG_SYSTEM_ERROR
	.comm	_PCI_STATUS_REC_MASTER_ABORT,4,2 ; @PCI_STATUS_REC_MASTER_ABORT
	.comm	_PCI_STATUS_REC_TARGET_ABORT,4,2 ; @PCI_STATUS_REC_TARGET_ABORT
	.comm	_PCI_STATUS_SIG_TARGET_ABORT,4,2 ; @PCI_STATUS_SIG_TARGET_ABORT
	.comm	_RTL_FLAG_TASK_RESET_PENDING,4,2 ; @RTL_FLAG_TASK_RESET_PENDING
	.no_dead_strip	_rtl8169_pcierr_interrupt
.subsections_via_symbols
