	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i7300_clear_error
_i7300_clear_error:                     ## @i7300_clear_error
	.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	(%rdi), %rbx
	movl	4(%rbx), %edi
	movq	_FERR_GLOBAL_HI@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %r14
	movq	%r14, %rdx
	callq	_pci_read_config_dword
	movl	4(%rbx), %edi
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	callq	_pci_write_config_dword
	movl	4(%rbx), %edi
	movq	_FERR_GLOBAL_LO@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdx
	callq	_pci_read_config_dword
	movl	4(%rbx), %edi
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	callq	_pci_write_config_dword
	movl	(%rbx), %edi
	movq	_FERR_FAT_FBD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdx
	callq	_pci_read_config_dword
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	callq	_pci_write_config_dword
	movl	(%rbx), %edi
	movq	_FERR_NF_FBD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdx
	callq	_pci_read_config_dword
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	callq	_pci_write_config_dword
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FERR_GLOBAL_HI,4,2             ## @FERR_GLOBAL_HI
	.comm	_FERR_GLOBAL_LO,4,2             ## @FERR_GLOBAL_LO
	.comm	_FERR_FAT_FBD,4,2               ## @FERR_FAT_FBD
	.comm	_FERR_NF_FBD,4,2                ## @FERR_NF_FBD
	.no_dead_strip	_i7300_clear_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i7300_clear_error
_i7300_clear_error:                     ; @i7300_clear_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x19, [x0]
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x20, _FERR_GLOBAL_HI@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FERR_GLOBAL_HI@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	bl	_pci_write_config_dword
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x20, _FERR_GLOBAL_LO@GOTPAGE
Lloh3:
	ldr	x20, [x20, _FERR_GLOBAL_LO@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	bl	_pci_write_config_dword
	ldr	w0, [x19]
Lloh4:
	adrp	x20, _FERR_FAT_FBD@GOTPAGE
Lloh5:
	ldr	x20, [x20, _FERR_FAT_FBD@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w0, [x19]
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	bl	_pci_write_config_dword
	ldr	w0, [x19]
Lloh6:
	adrp	x20, _FERR_NF_FBD@GOTPAGE
Lloh7:
	ldr	x20, [x20, _FERR_NF_FBD@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w0, [x19]
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	bl	_pci_write_config_dword
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FERR_GLOBAL_HI,4,2             ; @FERR_GLOBAL_HI
	.comm	_FERR_GLOBAL_LO,4,2             ; @FERR_GLOBAL_LO
	.comm	_FERR_FAT_FBD,4,2               ; @FERR_FAT_FBD
	.comm	_FERR_NF_FBD,4,2                ; @FERR_NF_FBD
	.no_dead_strip	_i7300_clear_error
.subsections_via_symbols
