	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_io_error_detected
_ixgbe_io_error_detected:               ## @ixgbe_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	%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, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	24(%rax), %r13
	movq	___IXGBE_SERVICE_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r12
	movq	%r12, %rsi
	callq	_test_bit
	movq	_PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%r13, %rdi
	callq	_netif_device_present
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	%r13, %rdi
	callq	_netif_device_detach
	movq	%r13, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ixgbe_close_suspend
LBB0_4:
	movq	_pci_channel_io_perm_failure@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %r14
	jmp	LBB0_8
LBB0_6:
	movq	___IXGBE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_and_set_bit
	movq	_PCI_ERS_RESULT_NEED_RESET@GOTPCREL(%rip), %r14
	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	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___IXGBE_SERVICE_INITED,4,2     ## @__IXGBE_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	___IXGBE_DISABLED,4,2           ## @__IXGBE_DISABLED
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ## @PCI_ERS_RESULT_NEED_RESET
	.comm	_IXGBE_82599_VF_DEVICE_ID,4,2   ## @IXGBE_82599_VF_DEVICE_ID
	.comm	_IXGBE_DEV_ID_X550EM_A_VF,4,2   ## @IXGBE_DEV_ID_X550EM_A_VF
	.comm	_IXGBE_DEV_ID_X550EM_X_VF,4,2   ## @IXGBE_DEV_ID_X550EM_X_VF
	.comm	_IXGBE_DEV_ID_X550_VF,4,2       ## @IXGBE_DEV_ID_X550_VF
	.comm	_IXGBE_X540_VF_DEVICE_ID,4,2    ## @IXGBE_X540_VF_DEVICE_ID
	.comm	_PCI_ERR_HEADER_LOG,8,3         ## @PCI_ERR_HEADER_LOG
	.comm	_PCI_ERS_RESULT_RECOVERED,4,2   ## @PCI_ERS_RESULT_RECOVERED
	.comm	_PCI_EXP_TYPE_ROOT_PORT,8,3     ## @PCI_EXP_TYPE_ROOT_PORT
	.comm	_PCI_EXT_CAP_ID_ERR,4,2         ## @PCI_EXT_CAP_ID_ERR
	.comm	_PCI_VENDOR_ID_INTEL,4,2        ## @PCI_VENDOR_ID_INTEL
	.comm	_ixgbe_mac_82598EB,4,2          ## @ixgbe_mac_82598EB
	.no_dead_strip	_ixgbe_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 ixgbe_io_error_detected
_ixgbe_io_error_detected:               ; @ixgbe_io_error_detected
	.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	x20, x1
	mov	x19, x0
	bl	_pci_get_drvdata
	mov	x22, x0
	ldr	x23, [x0, #24]
Lloh0:
	adrp	x8, ___IXGBE_SERVICE_INITED@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IXGBE_SERVICE_INITED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x22, #8
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x23
	bl	_netif_device_present
	cbz	w0, LBB0_6
; %bb.2:
	bl	_rtnl_lock
	mov	x0, x23
	bl	_netif_device_detach
	mov	x0, x23
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_ixgbe_close_suspend
LBB0_4:
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_7
; %bb.5:
Lloh6:
	adrp	x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGE
Lloh7:
	ldr	x19, [x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh8:
	adrp	x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGE
Lloh9:
	ldr	x19, [x19, _PCI_ERS_RESULT_DISCONNECT@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh10:
	adrp	x8, ___IXGBE_DISABLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, ___IXGBE_DISABLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_set_bit
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_9:
Lloh13:
	adrp	x19, _PCI_ERS_RESULT_NEED_RESET@GOTPAGE
Lloh14:
	ldr	x19, [x19, _PCI_ERS_RESULT_NEED_RESET@GOTPAGEOFF]
LBB0_10:
	bl	_rtnl_unlock
LBB0_11:
	ldr	w0, [x19]
	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
	.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	___IXGBE_SERVICE_INITED,4,2     ; @__IXGBE_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	___IXGBE_DISABLED,4,2           ; @__IXGBE_DISABLED
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ; @PCI_ERS_RESULT_NEED_RESET
	.comm	_IXGBE_82599_VF_DEVICE_ID,4,2   ; @IXGBE_82599_VF_DEVICE_ID
	.comm	_IXGBE_DEV_ID_X550EM_A_VF,4,2   ; @IXGBE_DEV_ID_X550EM_A_VF
	.comm	_IXGBE_DEV_ID_X550EM_X_VF,4,2   ; @IXGBE_DEV_ID_X550EM_X_VF
	.comm	_IXGBE_DEV_ID_X550_VF,4,2       ; @IXGBE_DEV_ID_X550_VF
	.comm	_IXGBE_X540_VF_DEVICE_ID,4,2    ; @IXGBE_X540_VF_DEVICE_ID
	.comm	_PCI_ERR_HEADER_LOG,8,3         ; @PCI_ERR_HEADER_LOG
	.comm	_PCI_ERS_RESULT_RECOVERED,4,2   ; @PCI_ERS_RESULT_RECOVERED
	.comm	_PCI_EXP_TYPE_ROOT_PORT,8,3     ; @PCI_EXP_TYPE_ROOT_PORT
	.comm	_PCI_EXT_CAP_ID_ERR,4,2         ; @PCI_EXT_CAP_ID_ERR
	.comm	_PCI_VENDOR_ID_INTEL,4,2        ; @PCI_VENDOR_ID_INTEL
	.comm	_ixgbe_mac_82598EB,4,2          ; @ixgbe_mac_82598EB
	.no_dead_strip	_ixgbe_io_error_detected
.subsections_via_symbols
