	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pasemi_edac_process_error_info
_pasemi_edac_process_error_info:        ## @pasemi_edac_process_error_info
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_to_pci_dev
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.1:
	movq	_MCDEBUG_ERRLOG1A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-28(%rbp), %rdx
	movq	%rax, %rdi
	callq	_pci_read_config_dword
	movq	_MCDEBUG_ERRLOG1A_MERR_CS_M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-28(%rbp), %eax
	movq	_MCDEBUG_ERRLOG1A_MERR_CS_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_MCDEBUG_ERRSTA_MBE_STATUS@GOTPCREL(%rip), %rcx
	movq	_MCDEBUG_ERRSTA_RFL_STATUS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movslq	%eax, %r15
	testl	%r14d, %edx
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movl	(%rax,%r15,4), %esi
	movl	(%rbx), %r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_edac_mc_handle_ue
LBB0_3:
	movq	_MCDEBUG_ERRSTA_SBE_STATUS@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movl	(%rax,%r15,4), %esi
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_edac_mc_handle_ce
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCDEBUG_ERRLOG1A,4,2           ## @MCDEBUG_ERRLOG1A
	.comm	_MCDEBUG_ERRLOG1A_MERR_CS_M,4,2 ## @MCDEBUG_ERRLOG1A_MERR_CS_M
	.comm	_MCDEBUG_ERRLOG1A_MERR_CS_S,4,2 ## @MCDEBUG_ERRLOG1A_MERR_CS_S
	.comm	_MCDEBUG_ERRSTA_MBE_STATUS,4,2  ## @MCDEBUG_ERRSTA_MBE_STATUS
	.comm	_MCDEBUG_ERRSTA_RFL_STATUS,4,2  ## @MCDEBUG_ERRSTA_RFL_STATUS
	.comm	_MCDEBUG_ERRSTA_SBE_STATUS,4,2  ## @MCDEBUG_ERRSTA_SBE_STATUS
	.no_dead_strip	_pasemi_edac_process_error_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pasemi_edac_process_error_info
_pasemi_edac_process_error_info:        ; @pasemi_edac_process_error_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_to_pci_dev
	cbz	w20, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _MCDEBUG_ERRLOG1A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCDEBUG_ERRLOG1A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _MCDEBUG_ERRLOG1A_MERR_CS_M@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MCDEBUG_ERRLOG1A_MERR_CS_M@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _MCDEBUG_ERRLOG1A_MERR_CS_S@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MCDEBUG_ERRLOG1A_MERR_CS_S@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w21, w8, w9
Lloh9:
	adrp	x8, _MCDEBUG_ERRSTA_MBE_STATUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MCDEBUG_ERRSTA_MBE_STATUS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _MCDEBUG_ERRSTA_RFL_STATUS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MCDEBUG_ERRSTA_RFL_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w1, [x8, w21, sxtw #2]
	ldr	w4, [x19]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	bl	_edac_mc_handle_ue
LBB0_3:
Lloh15:
	adrp	x8, _MCDEBUG_ERRSTA_SBE_STATUS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MCDEBUG_ERRSTA_SBE_STATUS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w1, [x8, w21, sxtw #2]
	ldr	w6, [x19]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	x4, x21
	mov	w5, #0
	bl	_edac_mc_handle_ce
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MCDEBUG_ERRLOG1A,4,2           ; @MCDEBUG_ERRLOG1A
	.comm	_MCDEBUG_ERRLOG1A_MERR_CS_M,4,2 ; @MCDEBUG_ERRLOG1A_MERR_CS_M
	.comm	_MCDEBUG_ERRLOG1A_MERR_CS_S,4,2 ; @MCDEBUG_ERRLOG1A_MERR_CS_S
	.comm	_MCDEBUG_ERRSTA_MBE_STATUS,4,2  ; @MCDEBUG_ERRSTA_MBE_STATUS
	.comm	_MCDEBUG_ERRSTA_RFL_STATUS,4,2  ; @MCDEBUG_ERRSTA_RFL_STATUS
	.comm	_MCDEBUG_ERRSTA_SBE_STATUS,4,2  ; @MCDEBUG_ERRSTA_SBE_STATUS
	.no_dead_strip	_pasemi_edac_process_error_info
.subsections_via_symbols
