	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_pci_dev_parity_test
_edac_pci_dev_parity_test:              ## @edac_pci_dev_parity_test
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_local_irq_save
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_get_pci_parity_status
	movl	%eax, %ebx
	movq	_PCI_HEADER_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_pci_read_config_byte
	callq	_local_irq_restore
	leaq	4(%r15), %r14
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_edac_dbg
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.1:
	cmpl	$0, (%r15)
	jne	LBB0_8
## %bb.2:
	movq	_PCI_STATUS_SIG_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_KERN_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_EDAC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_pci_name
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %ecx
	callq	_edac_printk
	movq	_pci_nonparity_count@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_4:
	movq	_PCI_STATUS_PARITY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_KERN_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_EDAC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_pci_name
	leaq	L_.str.2(%rip), %rdx
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %ecx
	callq	_edac_printk
	movq	_pci_parity_count@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_6:
	movq	_PCI_STATUS_DETECTED_PARITY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_KERN_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_EDAC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_pci_name
	leaq	L_.str.3(%rip), %rdx
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_edac_printk
	movq	_pci_parity_count@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_8:
	movl	-44(%rbp), %ebx
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str.4(%rip), %rsi
	movl	$4, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_edac_dbg
	movl	-44(%rbp), %eax
	andl	$127, %eax
	movq	_PCI_HEADER_TYPE_BRIDGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.9:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_get_pci_parity_status
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str.5(%rip), %rsi
	movl	$4, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_edac_dbg
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.10:
	cmpl	$0, (%r15)
	jne	LBB0_17
## %bb.11:
	movq	_PCI_STATUS_SIG_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_KERN_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EDAC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_pci_name
	leaq	L_.str.6(%rip), %rdx
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_edac_printk
	movq	_pci_nonparity_count@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_13:
	movq	_PCI_STATUS_PARITY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_KERN_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EDAC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_pci_name
	leaq	L_.str.7(%rip), %rdx
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_edac_printk
	movq	_pci_parity_count@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_15:
	movq	_PCI_STATUS_DETECTED_PARITY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.16:
	movq	_KERN_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EDAC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_pci_name
	leaq	L_.str.8(%rip), %rdx
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_edac_printk
	movq	_pci_parity_count@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_HEADER_TYPE,4,2            ## @PCI_HEADER_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI STATUS= 0x%04x %s\n"

	.comm	_PCI_STATUS_SIG_SYSTEM_ERROR,4,2 ## @PCI_STATUS_SIG_SYSTEM_ERROR
	.comm	_KERN_CRIT,4,2                  ## @KERN_CRIT
	.comm	_EDAC_PCI,4,2                   ## @EDAC_PCI
L_.str.1:                               ## @.str.1
	.asciz	"Signaled System Error on %s\n"

	.comm	_pci_nonparity_count,4,2        ## @pci_nonparity_count
	.comm	_PCI_STATUS_PARITY,4,2          ## @PCI_STATUS_PARITY
L_.str.2:                               ## @.str.2
	.asciz	"Master Data Parity Error on %s\n"

	.comm	_pci_parity_count,4,2           ## @pci_parity_count
	.comm	_PCI_STATUS_DETECTED_PARITY,4,2 ## @PCI_STATUS_DETECTED_PARITY
L_.str.3:                               ## @.str.3
	.asciz	"Detected Parity Error on %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"PCI HEADER TYPE= 0x%02x %s\n"

	.comm	_PCI_HEADER_TYPE_BRIDGE,4,2     ## @PCI_HEADER_TYPE_BRIDGE
L_.str.5:                               ## @.str.5
	.asciz	"PCI SEC_STATUS= 0x%04x %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"Bridge Signaled System Error on %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"Bridge Master Data Parity Error on %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"Bridge Detected Parity Error on %s\n"

	.no_dead_strip	_edac_pci_dev_parity_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edac_pci_dev_parity_test
_edac_pci_dev_parity_test:              ; @edac_pci_dev_parity_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_local_irq_save
	mov	x0, x19
	mov	w1, #0
	bl	_get_pci_parity_status
	mov	x21, x0
Lloh0:
	adrp	x8, _PCI_HEADER_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_HEADER_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_pci_read_config_byte
	bl	_local_irq_restore
	add	x20, x19, #4
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x21
	bl	_edac_dbg
	cbz	w21, LBB0_8
; %bb.1:
	ldr	w8, [x19]
	cbnz	w8, LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _PCI_STATUS_SIG_SYSTEM_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_STATUS_SIG_SYSTEM_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x24, _KERN_CRIT@GOTPAGE
Lloh9:
	ldr	x24, [x24, _KERN_CRIT@GOTPAGEOFF]
Lloh10:
	adrp	x25, _EDAC_PCI@GOTPAGE
Lloh11:
	ldr	x25, [x25, _EDAC_PCI@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w22, [x24]
	ldr	w23, [x25]
	mov	x0, x19
	bl	_pci_name
	mov	x3, x0
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	bl	_edac_printk
Lloh14:
	adrp	x0, _pci_nonparity_count@GOTPAGE
Lloh15:
	ldr	x0, [x0, _pci_nonparity_count@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_4:
Lloh16:
	adrp	x8, _PCI_STATUS_PARITY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCI_STATUS_PARITY@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	w22, [x24]
	ldr	w23, [x25]
	mov	x0, x19
	bl	_pci_name
	mov	x3, x0
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	bl	_edac_printk
Lloh21:
	adrp	x0, _pci_parity_count@GOTPAGE
Lloh22:
	ldr	x0, [x0, _pci_parity_count@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_6:
Lloh23:
	adrp	x8, _PCI_STATUS_DETECTED_PARITY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PCI_STATUS_DETECTED_PARITY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	ldr	w21, [x24]
	ldr	w22, [x25]
	mov	x0, x19
	bl	_pci_name
	mov	x3, x0
Lloh26:
	adrp	x2, l_.str.3@PAGE
Lloh27:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_edac_printk
Lloh28:
	adrp	x0, _pci_parity_count@GOTPAGE
Lloh29:
	ldr	x0, [x0, _pci_parity_count@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_8:
	ldr	w21, [sp, #12]
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #4
	mov	x2, x21
	bl	_edac_dbg
	ldr	w8, [sp, #12]
	and	w8, w8, #0x7f
Lloh32:
	adrp	x9, _PCI_HEADER_TYPE_BRIDGE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _PCI_HEADER_TYPE_BRIDGE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.9:
	mov	x0, x19
	mov	w1, #1
	bl	_get_pci_parity_status
	mov	x21, x0
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #4
	mov	x2, x21
	bl	_edac_dbg
	cbz	w21, LBB0_17
; %bb.10:
	ldr	w8, [x19]
	cbnz	w8, LBB0_17
; %bb.11:
Lloh37:
	adrp	x8, _PCI_STATUS_SIG_SYSTEM_ERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PCI_STATUS_SIG_SYSTEM_ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.12:
Lloh40:
	adrp	x8, _KERN_CRIT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _KERN_CRIT@GOTPAGEOFF]
Lloh42:
	ldr	w20, [x8]
Lloh43:
	adrp	x8, _EDAC_PCI@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EDAC_PCI@GOTPAGEOFF]
Lloh45:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_pci_name
	mov	x3, x0
Lloh46:
	adrp	x2, l_.str.6@PAGE
Lloh47:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_edac_printk
Lloh48:
	adrp	x0, _pci_nonparity_count@GOTPAGE
Lloh49:
	ldr	x0, [x0, _pci_nonparity_count@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_13:
Lloh50:
	adrp	x8, _PCI_STATUS_PARITY@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PCI_STATUS_PARITY@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_15
; %bb.14:
Lloh53:
	adrp	x8, _KERN_CRIT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _KERN_CRIT@GOTPAGEOFF]
Lloh55:
	ldr	w20, [x8]
Lloh56:
	adrp	x8, _EDAC_PCI@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EDAC_PCI@GOTPAGEOFF]
Lloh58:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_pci_name
	mov	x3, x0
Lloh59:
	adrp	x2, l_.str.7@PAGE
Lloh60:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_edac_printk
Lloh61:
	adrp	x0, _pci_parity_count@GOTPAGE
Lloh62:
	ldr	x0, [x0, _pci_parity_count@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_15:
Lloh63:
	adrp	x8, _PCI_STATUS_DETECTED_PARITY@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PCI_STATUS_DETECTED_PARITY@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_17
; %bb.16:
Lloh66:
	adrp	x8, _KERN_CRIT@GOTPAGE
Lloh67:
	ldr	x8, [x8, _KERN_CRIT@GOTPAGEOFF]
Lloh68:
	ldr	w20, [x8]
Lloh69:
	adrp	x8, _EDAC_PCI@GOTPAGE
Lloh70:
	ldr	x8, [x8, _EDAC_PCI@GOTPAGEOFF]
Lloh71:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_pci_name
	mov	x3, x0
Lloh72:
	adrp	x2, l_.str.8@PAGE
Lloh73:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_edac_printk
Lloh74:
	adrp	x0, _pci_parity_count@GOTPAGE
Lloh75:
	ldr	x0, [x0, _pci_parity_count@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_HEADER_TYPE,4,2            ; @PCI_HEADER_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI STATUS= 0x%04x %s\n"

	.comm	_PCI_STATUS_SIG_SYSTEM_ERROR,4,2 ; @PCI_STATUS_SIG_SYSTEM_ERROR
	.comm	_KERN_CRIT,4,2                  ; @KERN_CRIT
	.comm	_EDAC_PCI,4,2                   ; @EDAC_PCI
l_.str.1:                               ; @.str.1
	.asciz	"Signaled System Error on %s\n"

	.comm	_pci_nonparity_count,4,2        ; @pci_nonparity_count
	.comm	_PCI_STATUS_PARITY,4,2          ; @PCI_STATUS_PARITY
l_.str.2:                               ; @.str.2
	.asciz	"Master Data Parity Error on %s\n"

	.comm	_pci_parity_count,4,2           ; @pci_parity_count
	.comm	_PCI_STATUS_DETECTED_PARITY,4,2 ; @PCI_STATUS_DETECTED_PARITY
l_.str.3:                               ; @.str.3
	.asciz	"Detected Parity Error on %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"PCI HEADER TYPE= 0x%02x %s\n"

	.comm	_PCI_HEADER_TYPE_BRIDGE,4,2     ; @PCI_HEADER_TYPE_BRIDGE
l_.str.5:                               ; @.str.5
	.asciz	"PCI SEC_STATUS= 0x%04x %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"Bridge Signaled System Error on %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"Bridge Master Data Parity Error on %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"Bridge Detected Parity Error on %s\n"

	.no_dead_strip	_edac_pci_dev_parity_test
.subsections_via_symbols
