	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_edac_soc_hw_init
_xgene_edac_soc_hw_init:                ## @xgene_edac_soc_hw_init
	.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), %rax
	movq	_OP_RUNNING_INTERRUPT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movl	%esi, %r14d
	movq	_IOB_PA_ERR_MASK@GOTPCREL(%rip), %rax
	movq	_IOB_BA_ERR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_IOB_XGIC_ERR_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	8(%rdi), %r15
	movq	_IOB_RB_ERR_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r15), %edi
	movq	_PCPHPERRINTMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	callq	_xgene_edac_pcp_clrbits
	movl	(%r15), %edi
	movq	_PCPLPERRINTMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSW_SWITCH_TRACE_ERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_xgene_edac_pcp_clrbits
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	callq	_xgene_edac_pcp_setbits
	movl	(%r15), %edi
	movq	_PCPLPERRINTMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSW_SWITCH_TRACE_ERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_xgene_edac_pcp_setbits
LBB0_4:
	xorl	%ebx, %ebx
	cmpl	$1, %r14d
	sbbl	%ebx, %ebx
	movq	_IOBAXIS0TRANSERRINTMSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_IOBAXIS1TRANSERRINTMSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_XGICTRANSERRINTMSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	(%r15), %edi
	movq	_MEMERRINTMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xgene_edac_pcp_setbits         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_RUNNING_INTERRUPT,8,3       ## @OP_RUNNING_INTERRUPT
	.comm	_PCPHPERRINTMSK,4,2             ## @PCPHPERRINTMSK
	.comm	_IOB_PA_ERR_MASK,4,2            ## @IOB_PA_ERR_MASK
	.comm	_IOB_BA_ERR_MASK,4,2            ## @IOB_BA_ERR_MASK
	.comm	_IOB_XGIC_ERR_MASK,4,2          ## @IOB_XGIC_ERR_MASK
	.comm	_IOB_RB_ERR_MASK,4,2            ## @IOB_RB_ERR_MASK
	.comm	_PCPLPERRINTMSK,4,2             ## @PCPLPERRINTMSK
	.comm	_CSW_SWITCH_TRACE_ERR_MASK,4,2  ## @CSW_SWITCH_TRACE_ERR_MASK
	.comm	_IOBAXIS0TRANSERRINTMSK,8,3     ## @IOBAXIS0TRANSERRINTMSK
	.comm	_IOBAXIS1TRANSERRINTMSK,8,3     ## @IOBAXIS1TRANSERRINTMSK
	.comm	_XGICTRANSERRINTMSK,8,3         ## @XGICTRANSERRINTMSK
	.comm	_MEMERRINTMSK,4,2               ## @MEMERRINTMSK
	.no_dead_strip	_xgene_edac_soc_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_edac_soc_hw_init
_xgene_edac_soc_hw_init:                ; @xgene_edac_soc_hw_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OP_RUNNING_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OP_RUNNING_INTERRUPT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x20, [x0, #8]
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _PCPHPERRINTMSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCPHPERRINTMSK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IOB_PA_ERR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IOB_PA_ERR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IOB_BA_ERR_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IOB_BA_ERR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _IOB_XGIC_ERR_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IOB_XGIC_ERR_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _IOB_RB_ERR_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IOB_RB_ERR_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w8, w9
	cbz	w19, LBB0_4
; %bb.2:
	bl	_xgene_edac_pcp_clrbits
	ldr	w0, [x20]
Lloh18:
	adrp	x8, _PCPLPERRINTMSK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCPLPERRINTMSK@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _CSW_SWITCH_TRACE_ERR_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CSW_SWITCH_TRACE_ERR_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_xgene_edac_pcp_clrbits
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_xgene_edac_pcp_setbits
	ldr	w0, [x20]
Lloh24:
	adrp	x8, _PCPLPERRINTMSK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PCPLPERRINTMSK@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _CSW_SWITCH_TRACE_ERR_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CSW_SWITCH_TRACE_ERR_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	bl	_xgene_edac_pcp_setbits
LBB0_5:
	cmp	w19, #0
	csetm	w19, eq
	ldr	x8, [x20, #8]
Lloh30:
	adrp	x9, _IOBAXIS0TRANSERRINTMSK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IOBAXIS0TRANSERRINTMSK@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_writel
	ldr	x8, [x20, #8]
Lloh33:
	adrp	x9, _IOBAXIS1TRANSERRINTMSK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IOBAXIS1TRANSERRINTMSK@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_writel
	ldr	x8, [x20, #8]
Lloh36:
	adrp	x9, _XGICTRANSERRINTMSK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _XGICTRANSERRINTMSK@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_writel
	ldr	w0, [x20]
Lloh39:
	adrp	x8, _MEMERRINTMSK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MEMERRINTMSK@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xgene_edac_pcp_setbits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_RUNNING_INTERRUPT,8,3       ; @OP_RUNNING_INTERRUPT
	.comm	_PCPHPERRINTMSK,4,2             ; @PCPHPERRINTMSK
	.comm	_IOB_PA_ERR_MASK,4,2            ; @IOB_PA_ERR_MASK
	.comm	_IOB_BA_ERR_MASK,4,2            ; @IOB_BA_ERR_MASK
	.comm	_IOB_XGIC_ERR_MASK,4,2          ; @IOB_XGIC_ERR_MASK
	.comm	_IOB_RB_ERR_MASK,4,2            ; @IOB_RB_ERR_MASK
	.comm	_PCPLPERRINTMSK,4,2             ; @PCPLPERRINTMSK
	.comm	_CSW_SWITCH_TRACE_ERR_MASK,4,2  ; @CSW_SWITCH_TRACE_ERR_MASK
	.comm	_IOBAXIS0TRANSERRINTMSK,8,3     ; @IOBAXIS0TRANSERRINTMSK
	.comm	_IOBAXIS1TRANSERRINTMSK,8,3     ; @IOBAXIS1TRANSERRINTMSK
	.comm	_XGICTRANSERRINTMSK,8,3         ; @XGICTRANSERRINTMSK
	.comm	_MEMERRINTMSK,4,2               ; @MEMERRINTMSK
	.no_dead_strip	_xgene_edac_soc_hw_init
.subsections_via_symbols
