	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_io_error_detected
_qlcnic_83xx_io_error_detected:         ## @qlcnic_83xx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_pci_get_drvdata
	movq	%rax, %r14
	movq	_pci_channel_io_perm_failure@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_pci_channel_io_normal@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_PCI_ERS_RESULT_RECOVERED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	___QLCNIC_AER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	___QLCNIC_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	%r14, %rdi
	callq	_qlcnic_83xx_aer_stop_poll_work
	movq	%r15, %rdi
	callq	_pci_save_state
	movq	%r15, %rdi
	callq	_pci_disable_device
	movq	_PCI_ERS_RESULT_NEED_RESET@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pci_channel_io_perm_failure,8,3 ## @pci_channel_io_perm_failure
	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ## @PCI_ERS_RESULT_DISCONNECT
	.comm	_pci_channel_io_normal,8,3      ## @pci_channel_io_normal
	.comm	_PCI_ERS_RESULT_RECOVERED,4,2   ## @PCI_ERS_RESULT_RECOVERED
	.comm	___QLCNIC_AER,4,2               ## @__QLCNIC_AER
	.comm	___QLCNIC_RESETTING,4,2         ## @__QLCNIC_RESETTING
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ## @PCI_ERS_RESULT_NEED_RESET
	.no_dead_strip	_qlcnic_83xx_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 qlcnic_83xx_io_error_detected
_qlcnic_83xx_io_error_detected:         ; @qlcnic_83xx_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	x21, x1
	mov	x19, x0
	bl	_pci_get_drvdata
Lloh0:
	adrp	x8, _pci_channel_io_perm_failure@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pci_channel_io_perm_failure@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	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:
Lloh5:
	adrp	x8, _pci_channel_io_normal@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pci_channel_io_normal@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _PCI_ERS_RESULT_RECOVERED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCI_ERS_RESULT_RECOVERED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x20, x0
Lloh10:
	adrp	x8, ___QLCNIC_AER@GOTPAGE
Lloh11:
	ldr	x8, [x8, ___QLCNIC_AER@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
Lloh13:
	adrp	x8, ___QLCNIC_RESETTING@GOTPAGE
Lloh14:
	ldr	x8, [x8, ___QLCNIC_RESETTING@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	mov	x0, x20
	bl	_qlcnic_83xx_aer_stop_poll_work
	mov	x0, x19
	bl	_pci_save_state
	mov	x0, x19
	bl	_pci_disable_device
Lloh16:
	adrp	x8, _PCI_ERS_RESULT_NEED_RESET@GOTPAGE
Lloh17:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_pci_channel_io_perm_failure,8,3 ; @pci_channel_io_perm_failure
	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ; @PCI_ERS_RESULT_DISCONNECT
	.comm	_pci_channel_io_normal,8,3      ; @pci_channel_io_normal
	.comm	_PCI_ERS_RESULT_RECOVERED,4,2   ; @PCI_ERS_RESULT_RECOVERED
	.comm	___QLCNIC_AER,4,2               ; @__QLCNIC_AER
	.comm	___QLCNIC_RESETTING,4,2         ; @__QLCNIC_RESETTING
	.comm	_PCI_ERS_RESULT_NEED_RESET,4,2  ; @PCI_ERS_RESULT_NEED_RESET
	.no_dead_strip	_qlcnic_83xx_io_error_detected
.subsections_via_symbols
