	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd8111_pci_bridge_exit
_amd8111_pci_bridge_exit:               ## @amd8111_pci_bridge_exit
	.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	_edac_op_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EDAC_OPSTATE_POLL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %rbx
	movq	_REG_PCI_STSCMD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_edac_pci_read_dword
	movq	_PCI_STSCMD_SERREN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_edac_pci_write_dword
	movq	_REG_HT_LINK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_edac_pci_read_dword
	movq	_HT_LINK_CRCFEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_edac_pci_write_dword
	movq	_REG_PCI_INTBRG_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_edac_pci_read_dword
	movq	_PCI_INTBRG_CTRL_POLL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_edac_pci_write_dword
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_edac_op_state,8,3              ## @edac_op_state
	.comm	_EDAC_OPSTATE_POLL,8,3          ## @EDAC_OPSTATE_POLL
	.comm	_REG_PCI_STSCMD,4,2             ## @REG_PCI_STSCMD
	.comm	_PCI_STSCMD_SERREN,4,2          ## @PCI_STSCMD_SERREN
	.comm	_REG_HT_LINK,4,2                ## @REG_HT_LINK
	.comm	_HT_LINK_CRCFEN,4,2             ## @HT_LINK_CRCFEN
	.comm	_REG_PCI_INTBRG_CTRL,4,2        ## @REG_PCI_INTBRG_CTRL
	.comm	_PCI_INTBRG_CTRL_POLL_MASK,4,2  ## @PCI_INTBRG_CTRL_POLL_MASK
	.no_dead_strip	_amd8111_pci_bridge_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd8111_pci_bridge_exit
_amd8111_pci_bridge_exit:               ; @amd8111_pci_bridge_exit
	.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
Lloh0:
	adrp	x8, _edac_op_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _edac_op_state@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EDAC_OPSTATE_POLL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EDAC_OPSTATE_POLL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x19, [x0]
Lloh6:
	adrp	x20, _REG_PCI_STSCMD@GOTPAGE
Lloh7:
	ldr	x20, [x20, _REG_PCI_STSCMD@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_edac_pci_read_dword
Lloh8:
	adrp	x8, _PCI_STSCMD_SERREN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCI_STSCMD_SERREN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_edac_pci_write_dword
Lloh11:
	adrp	x20, _REG_HT_LINK@GOTPAGE
Lloh12:
	ldr	x20, [x20, _REG_HT_LINK@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_edac_pci_read_dword
Lloh13:
	adrp	x8, _HT_LINK_CRCFEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HT_LINK_CRCFEN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_edac_pci_write_dword
Lloh16:
	adrp	x20, _REG_PCI_INTBRG_CTRL@GOTPAGE
Lloh17:
	ldr	x20, [x20, _REG_PCI_INTBRG_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_edac_pci_read_dword
Lloh18:
	adrp	x8, _PCI_INTBRG_CTRL_POLL_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCI_INTBRG_CTRL_POLL_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_edac_pci_write_dword
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_edac_op_state,8,3              ; @edac_op_state
	.comm	_EDAC_OPSTATE_POLL,8,3          ; @EDAC_OPSTATE_POLL
	.comm	_REG_PCI_STSCMD,4,2             ; @REG_PCI_STSCMD
	.comm	_PCI_STSCMD_SERREN,4,2          ; @PCI_STSCMD_SERREN
	.comm	_REG_HT_LINK,4,2                ; @REG_HT_LINK
	.comm	_HT_LINK_CRCFEN,4,2             ; @HT_LINK_CRCFEN
	.comm	_REG_PCI_INTBRG_CTRL,4,2        ; @REG_PCI_INTBRG_CTRL
	.comm	_PCI_INTBRG_CTRL_POLL_MASK,4,2  ; @PCI_INTBRG_CTRL_POLL_MASK
	.no_dead_strip	_amd8111_pci_bridge_exit
.subsections_via_symbols
