	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function octeon_pci_poll
_octeon_pci_poll:                       ## @octeon_pci_poll
	.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
	movq	_CVMX_NPI_PCI_CFG01@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_octeon_npi_read32
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_edac_pci_handle_pe
	movl	(%r15), %edi
	movl	$1, %r14d
	movl	$1, %esi
	callq	_octeon_npi_write32
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_edac_pci_handle_npe
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_octeon_npi_write32
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_edac_pci_handle_npe
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_octeon_npi_write32
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_edac_pci_handle_npe
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_octeon_npi_write32
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_edac_pci_handle_npe
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_octeon_npi_write32
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_edac_pci_handle_npe
	movl	(%r15), %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_octeon_npi_write32             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CVMX_NPI_PCI_CFG01,4,2         ## @CVMX_NPI_PCI_CFG01
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Signaled System Error"

L_.str.1:                               ## @.str.1
	.asciz	"Received Master Abort"

L_.str.2:                               ## @.str.2
	.asciz	"Received Target Abort"

L_.str.3:                               ## @.str.3
	.asciz	"Signaled Target Abort"

L_.str.4:                               ## @.str.4
	.asciz	"Master Data Parity Error"

	.no_dead_strip	_octeon_pci_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function octeon_pci_poll
_octeon_pci_poll:                       ; @octeon_pci_poll
	.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	x19, x0
Lloh0:
	adrp	x21, _CVMX_NPI_PCI_CFG01@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CVMX_NPI_PCI_CFG01@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_octeon_npi_read32
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x19
	bl	_edac_pci_handle_pe
	ldr	w0, [x21]
	mov	w20, #1
	mov	w1, #1
	bl	_octeon_npi_write32
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_edac_pci_handle_npe
	ldr	w0, [x21]
	mov	x1, x20
	bl	_octeon_npi_write32
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_edac_pci_handle_npe
	ldr	w0, [x21]
	mov	x1, x20
	bl	_octeon_npi_write32
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_edac_pci_handle_npe
	ldr	w0, [x21]
	mov	x1, x20
	bl	_octeon_npi_write32
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_edac_pci_handle_npe
	ldr	w0, [x21]
	mov	x1, x20
	bl	_octeon_npi_write32
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_edac_pci_handle_npe
	ldr	w0, [x21]
	mov	x1, x20
	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
	b	_octeon_npi_write32
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CVMX_NPI_PCI_CFG01,4,2         ; @CVMX_NPI_PCI_CFG01
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Signaled System Error"

l_.str.1:                               ; @.str.1
	.asciz	"Received Master Abort"

l_.str.2:                               ; @.str.2
	.asciz	"Received Target Abort"

l_.str.3:                               ; @.str.3
	.asciz	"Signaled Target Abort"

l_.str.4:                               ; @.str.4
	.asciz	"Master Data Parity Error"

	.no_dead_strip	_octeon_pci_poll
.subsections_via_symbols
