	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_io_error_detected
_ixgbevf_io_error_detected:             ## @ixgbevf_io_error_detected
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	___IXGBEVF_SERVICE_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	%rbx, %rdi
	callq	_netif_device_detach
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_ixgbevf_close_suspend
LBB0_4:
	movq	_pci_channel_io_perm_failure@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_1:
	movq	_PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_6:
	movq	___IXGBEVF_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_and_set_bit
	movq	_PCI_ERS_RESULT_NEED_RESET@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_pci_disable_device
LBB0_8:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_9:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___IXGBEVF_SERVICE_INITED,4,2   ## @__IXGBEVF_SERVICE_INITED
	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ## @PCI_ERS_RESULT_DISCONNECT
	.comm	_pci_channel_io_perm_failure,8,3 ## @pci_channel_io_perm_failure
	.comm	___IXGBEVF_DISABLED,4,2         ## @__IXGBEVF_DISABLED
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ## @PCI_ERS_RESULT_NEED_RESET
	.no_dead_strip	_ixgbevf_io_error_detected
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_io_error_detected
_ixgbevf_io_error_detected:             ; @ixgbevf_io_error_detected
	.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	x20, x1
	mov	x19, x0
	bl	_pci_get_drvdata
	mov	x22, x0
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, ___IXGBEVF_SERVICE_INITED@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IXGBEVF_SERVICE_INITED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_5
; %bb.1:
	bl	_rtnl_lock
	mov	x0, x22
	bl	_netif_device_detach
	mov	x0, x22
	bl	_netif_running
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_ixgbevf_close_suspend
LBB0_3:
Lloh3:
	adrp	x8, _pci_channel_io_perm_failure@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pci_channel_io_perm_failure@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.4:
Lloh6:
	adrp	x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGE
Lloh7:
	ldr	x19, [x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh8:
	adrp	x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGE
Lloh9:
	ldr	x19, [x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh10:
	adrp	x8, ___IXGBEVF_DISABLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, ___IXGBEVF_DISABLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_set_bit
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_8:
Lloh13:
	adrp	x19, _PCI_ERS_RESULT_NEED_RESET@GOTPAGE
Lloh14:
	ldr	x19, [x19, _PCI_ERS_RESULT_NEED_RESET@GOTPAGEOFF]
LBB0_9:
	bl	_rtnl_unlock
LBB0_10:
	ldr	w0, [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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	___IXGBEVF_SERVICE_INITED,4,2   ; @__IXGBEVF_SERVICE_INITED
	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ; @PCI_ERS_RESULT_DISCONNECT
	.comm	_pci_channel_io_perm_failure,8,3 ; @pci_channel_io_perm_failure
	.comm	___IXGBEVF_DISABLED,4,2         ; @__IXGBEVF_DISABLED
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ; @PCI_ERS_RESULT_NEED_RESET
	.no_dead_strip	_ixgbevf_io_error_detected
.subsections_via_symbols
