	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsl_mc_err_remove              ## -- Begin function fsl_mc_err_remove
	.p2align	4, 0x90
_fsl_mc_err_remove:                     ## @fsl_mc_err_remove
	.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, %r14
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	(%rax), %rbx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_edac_dbg
	movq	_edac_op_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EDAC_OPSTATE_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_FSL_MC_ERR_INT_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_ddr_out32
LBB0_2:
	movq	_FSL_MC_ERR_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	_orig_ddr_err_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ddr_out32
	movq	_FSL_MC_ERR_SBE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	_orig_ddr_err_sbe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ddr_out32
	movq	%r14, %rdi
	callq	_edac_mc_del_mc
	movq	%r15, %rdi
	callq	_edac_mc_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_edac_op_state,8,3              ## @edac_op_state
	.comm	_EDAC_OPSTATE_INT,8,3           ## @EDAC_OPSTATE_INT
	.comm	_FSL_MC_ERR_INT_EN,8,3          ## @FSL_MC_ERR_INT_EN
	.comm	_FSL_MC_ERR_DISABLE,8,3         ## @FSL_MC_ERR_DISABLE
	.comm	_orig_ddr_err_disable,4,2       ## @orig_ddr_err_disable
	.comm	_FSL_MC_ERR_SBE,8,3             ## @FSL_MC_ERR_SBE
	.comm	_orig_ddr_err_sbe,4,2           ## @orig_ddr_err_sbe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsl_mc_err_remove              ; -- Begin function fsl_mc_err_remove
	.p2align	2
_fsl_mc_err_remove:                     ; @fsl_mc_err_remove
	.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
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
Lloh2:
	adrp	x8, _edac_op_state@GOTPAGE
Lloh3:
	ldr	x8, [x8, _edac_op_state@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _EDAC_OPSTATE_INT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EDAC_OPSTATE_INT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _FSL_MC_ERR_INT_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FSL_MC_ERR_INT_EN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	bl	_ddr_out32
LBB0_2:
Lloh11:
	adrp	x8, _FSL_MC_ERR_DISABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FSL_MC_ERR_DISABLE@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh13:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh14:
	adrp	x8, _orig_ddr_err_disable@GOTPAGE
Lloh15:
	ldr	x8, [x8, _orig_ddr_err_disable@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_ddr_out32
Lloh17:
	adrp	x8, _FSL_MC_ERR_SBE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FSL_MC_ERR_SBE@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh19:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh20:
	adrp	x8, _orig_ddr_err_sbe@GOTPAGE
Lloh21:
	ldr	x8, [x8, _orig_ddr_err_sbe@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_ddr_out32
	mov	x0, x19
	bl	_edac_mc_del_mc
	mov	x0, x20
	bl	_edac_mc_free
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_edac_op_state,8,3              ; @edac_op_state
	.comm	_EDAC_OPSTATE_INT,8,3           ; @EDAC_OPSTATE_INT
	.comm	_FSL_MC_ERR_INT_EN,8,3          ; @FSL_MC_ERR_INT_EN
	.comm	_FSL_MC_ERR_DISABLE,8,3         ; @FSL_MC_ERR_DISABLE
	.comm	_orig_ddr_err_disable,4,2       ; @orig_ddr_err_disable
	.comm	_FSL_MC_ERR_SBE,8,3             ; @FSL_MC_ERR_SBE
	.comm	_orig_ddr_err_sbe,4,2           ; @orig_ddr_err_sbe
.subsections_via_symbols
