	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgb_io_error_detected
_ixgb_io_error_detected:                ## @ixgb_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
	movl	%esi, %r12d
	movq	%rdi, %r15
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_netif_device_detach
	movq	_pci_channel_io_perm_failure@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ixgb_down
LBB0_4:
	movq	%r15, %rdi
	callq	_pci_disable_device
	movq	_PCI_ERS_RESULT_NEED_RESET@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pci_channel_io_perm_failure,4,2 ## @pci_channel_io_perm_failure
	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ## @PCI_ERS_RESULT_DISCONNECT
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ## @PCI_ERS_RESULT_NEED_RESET
	.no_dead_strip	_ixgb_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 ixgb_io_error_detected
_ixgb_io_error_detected:                ; @ixgb_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	x22, x1
	mov	x19, x0
	bl	_pci_get_drvdata
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x21
	bl	_netif_device_detach
Lloh0:
	adrp	x8, _pci_channel_io_perm_failure@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pci_channel_io_perm_failure@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PCI_ERS_RESULT_DISCONNECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_ERS_RESULT_DISCONNECT@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #1
	bl	_ixgb_down
LBB0_4:
	mov	x0, x19
	bl	_pci_disable_device
Lloh5:
	adrp	x8, _PCI_ERS_RESULT_NEED_RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_ERS_RESULT_NEED_RESET@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pci_channel_io_perm_failure,4,2 ; @pci_channel_io_perm_failure
	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ; @PCI_ERS_RESULT_DISCONNECT
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ; @PCI_ERS_RESULT_NEED_RESET
	.no_dead_strip	_ixgb_io_error_detected
.subsections_via_symbols
